~/talk

Writing a Windows Kernel Driver in an hour or two

Talkat NDC Toronto 2026 · 2026-05-05..05-08· [embedded-and-hardware, security]
slides:none on file

Builds a small WDM driver and a userland client in about an hour that lets the client get powerful handles to protected processes (example: CSRSS) so it can list DLLs. Uses Visual Studio 2022 + Windows 11 SDK/WDK, installs with sc create/start in a VM with test-signing mode enabled, exposes a device via IoCreateSymbolicLink and handles requests with DeviceIoControl METHOD_BUFFERED. The kernel side calls ZwOpenProcess PROCESS_ALL_ACCESS and returns the handle; the demo compiles, loads, and successfully shows the protected process DLLs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:56Project goal and limits
  3. 6:53Kernel drivers and APIs
  4. 13:09Setting up the development environment
  5. 18:05Modifying the user mode application for driver integration
  6. 24:44Kernel driver project
  7. 32:15Driver entry and device setup
  8. 41:03Symbolic links for access
  9. 45:17Device control routine
  10. 55:35Compiling the driver
  11. 56:16Installing the driver
  12. 57:43Testing with client app
  13. 1:00:29Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.