Windows Native API
summary
Covers the thin layer under Win32: shows a C program calling Exit/ExitProcess versus calling NTTerminateProcess directly and how that skips Win32 hooks like silent-process-exit monitoring. Explains WoW64 thunking (32-bit apps live in low 4GB and use a 32→64 jump via the Wow64 CPU DLL, aka “Heaven’s Gate”), the \\??\\ object namespace and 32KB UTF‑16 string limit, notes ~500 native functions, cites Sysinternals fuzzing that produced many blue screens, and points to WinDbg, WDK, ReactOS and s-trace/NTTrace as useful tools.
AI-written summary · about
chapters (17)
- 0:00Intro
- 0:16Windows Native API
- 2:30Applications and the Kernel
- 8:54A simple example
- 19:52Inside a native call
- 26:08Note on kernel development
- 27:33Inside the kernel
- 28:15Argument validation
- 29:39Return codes
- 33:32Types of arguments
- 34:12Simple value arguments
- 40:23Handle arguments
- 43:13String arguments
- 45:51Object attributes arguments
- 54:25Pointer to memory arguments
- 55:03Access to memory arguments
- 58:02Object namespace - WinObj
related talks
32mIntroduction to Windows Kernel Mode Debugging
42mWindows 10 Segment Heap Internals
58mDebugging one layer deeper
01h 01mInternals of Exceptions
34mWindows System Internals with PowerShell
40mCommSec D1 - The Life & Death of Kernel Object Abuse
46mFor The Win: The Art Of The Windows Kernel Fuzzing
50mThe Beast Within - Evading Dynamic Malware Analysis Using Microsoft COM
