Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/sapdragon/efiguard-detected
Vulnerability AnalysisExploitationPenetration TestingRed Teaming
GitHubsapdragon/efiguard-detected

efiguard-detected

Usermode tool that detects EfiGuard's DSE bypass by querying the SetVariable backdoor to verify if PatchGuard is disabled on Windows systems.

View Repository
12225 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

efiguard-detect

dumbest possible way to check if EfiGuard killed your patchguard or not.

how it works

efiguard leaves a SetVariable backdoor at runtime - we just poke it from usermode asking to read 2 bytes at ntoskrnl base. if we get back MZ - the backdoor is alive, efiguard did its thing, pg is dead.

limitations

only works if the user picked the default dse bypass method (DSE_DISABLE_SETVARIABLE_HOOK) — which is the default. if DSE_DISABLE_AT_BOOT was chosen instead, the hook gets removed at ExitBootServices and there's nothing to detect from usermode.

requires admin + SeSystemEnvironmentPrivilege.

build

root@kitploit:~
cl /EHsc src/main.cpp /link ntdll.lib psapi.lib

source

src/main.cpp

Download Tool