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/kristal-g/cve-2021-40449_poc
Privilege EscalationVulnerability AnalysisExploitationShellcodePayload DevelopmentBinary Exploitation
GitHubkristal-g/cve-2021-40449_poc

CVE-2021-40449_poc

Exploit for CVE-2021-40449

View Repository
55124 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-40449

More info here: https://kristal-g.github.io/2021/11/05/CVE-2021-40449_POC.html

Compiling

I did a bit of a hack with the MinHook library so it supports (somewhat partially) the 2019 Platform Toolset.
That's why I included the lib files with this repo.

Windows Version Adapting

To adapt this repo to another Windows build you have to fix:

  • ntoskrnl.exe gadgets offsets for the rop chain
  • MiGetPteAddress offset in ntoskrnl.exe
  • The size of palettes, according to the (undocumented) size of PDEVOBJ (look at win32kbase!PDEV::Allocate)
  • Shellcode offsets of various structs (shellcode_offsets struct)
Download Tool