Into The Ring 0

windows internals  ·  maldev  ·  security research

Inline Hooking NtCreateFile in User Mode

Setting up an x64 inline hook on NtCreateFile with a proper trampoline: overwriting bytes, building the jump-back, and thread safety considerations.

Parsing the PEB Without windows.h

Walking the Process Environment Block by hand to resolve exports — the foundational technique behind shellcode and reflective loaders.