Professional Documents
Culture Documents
Windows Internals Training Day2
Windows Internals Training Day2
EXE:
=================
3. WDM = Windows Driver Model, WDF - Windows Driver Foundation, UMDF, KMDF
3a. UMDF is a COM Component. Just use it and build UMDs. It supports USBs as well.
4. Not all the drivers runs in Kernal mode, Ex: Print, Imaging, these will
communicate with the base driver provided by windows
System Processes:
===================
1. System Idle process with PID 0, containing one thread per process.
2. System Process contains mjority of the Kernel mode threads, with PID 4 (XP and
above) and 8 for win2k
3. CsRss process is windows subsystem
Session Manager:
===================
Resource Handles:
==================
1. When ever a process creates a handle by calling any create* or open* fnctions
the OS creates the Handle Table for the
process if the process is just created and puts the resource reference in the table
and return the index into the table as
the Handle.
HENCE the handles are process relative.
1. Handle Inheriting :
=========================
7. SetHandleInformation(handle,HANDLE_INHERIT,0);
2. Named Objects :
========================
3. DuplicateHandle :
========================