3 Windows Internals m3 Slides
3 Windows Internals m3 Slides
Windows XP Home
Designed as a replacement for the Windows 9x/ME family
(“Consumer Windows”)
Windows Professional (2000, XP, Vista, 7, 8)
Main desktop (client) OS
Windows Server Standard, Advanced, Datacenter
editions (Windows 2000, 2003/R2, 2008/R2, 2012)
Server platforms
Other variants
XP starter, XP Home, Media center, Server Web Edition, Home,
Premium, Ultimate, Business, Enterprise
Professional vs. Server
Windows NT 4 (4.0)
Windows 2000 (5.0)
Windows XP (5.1)
Windows Server 2003, 2003 R2 (5.2)
Windows Vista, Server 2008 (6.0)
Windows 7, Server 2008 R2 (6.1)
Windows 8, Server 2012 (6.2)
Windows 8.1, Server 2012 R2 (6.3)
These values can be obtained using GetVersionEx (Win32) or
RtlGetVersion (WDK)
Demo
Environment
Services User Applications
System Subsystem
Processes
Subsystem DLLs
NTDLL.DLL
User Mode
Kernel Mode
Executive
Graphics
(Win32k) Device Drivers Kernel
call NtReadFile
return to caller
Kernel32.DLL
sysenter / syscall
return to caller
NtDll.DLL
User mode
Kernel mode
call NtReadFile NtOskrnl.EXE
NtReadFile:
call driver NtOskrnl.EXE
return to caller
initiate I/O
driver.sys
return to caller
Brief Overview of WinDbg
Although there are many Windows editions, the kernel is basically the
same
User mode processes use subsystem DLLs to access OS functionality
A system service call entails transitioning from user mode to kernel
mode (and back)