Skip to content

Demystifying Modern Windows Rootkits (Q&A)

Bill Demirkapi

Bill Demirkapi answers community questions regarding modern Windows kernel development, PatchGuard interactions, and network driver hooks.

Summary

Security researcher Bill Demirkapi participates in a live DEF CON Safe Mode Q&A session exploring the mechanics of modern Windows kernel rootkits, driver vulnerabilities, and OS-level mitigations [00:09]. Expanding on his main-stage presentation, Demirkapi breaks down how threat actors and game cheat developers exploit the Bring Your Own Vulnerable Driver (BYOVD) attack vector to circumvent Windows Driver Signature Enforcement (DSE) [05:23]. He explains that by dropping and loading legitimately signed but vulnerable third-party drivers—often from motherboard utilities, anti-cheat solutions, or diagnostic software—attackers obtain arbitrary kernel read and write primitives.

Demirkapi discusses the defensive impact of modern Windows security mechanisms, specifically Hypervisor-Protected Code Integrity (HVCI) and Kernel Patch Protection (PatchGuard/KPP) [15:22]. He outlines how HVCI enforces Second Level Address Translation (SLAT) and virtualization-based security (VBS) to prevent unsigned kernel code execution even when kernel memory read/write is achieved, limiting attackers to data-only attacks or Token Stealing primitives [10:19]. He also critiques driver vetting and revocation mechanisms, noting that revoked driver blocklists historically struggled with slow deployment and incomplete hardware telemetry.

The session delves into practical methodology for vulnerability research in Windows drivers, including static analysis of IOCTL dispatch routines and dynamic fuzzing of driver control interfaces [20:34]. Demirkapi emphasizes that everyday consumer hardware utilities and OEM update software remain fertile hunting grounds for local privilege escalation (LPE) vulnerabilities [25:27], offering guidance for researchers transitioning from userland reverse engineering to kernel exploitation.

(AI summary — Gemini Flash)

Related talks