Skip to content

load unsigned kernel-driver by patching dse in 248 lines

Notifications You must be signed in to change notification settings

emlinhax/dse_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dse_hook

this project abuses a vulnerable driver called "winio64.sys"

we patch SeValidateImageData & SeValidateImageHeader to return zero.
those functions are being used by ntoskrnl.exe when NtLoadDriver is called.
by patching those functions we bypass the signature enforcement.

but what about patchguard?

since patchguard only scans the system in random intervals,
we have a small time-window to place a patch and remove it again.
in that time we load our driver.

perks

  • bypasses KDP and PG(kinda).
  • supports normal drivers (with driverobject).

tested on

  • Windows 10 22H2
  • Windows 11 23H2

About

load unsigned kernel-driver by patching dse in 248 lines

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages