
Exploit for CVE-2021-40449
More info here: https://kristal-g.github.io/2021/11/05/CVE-2021-40449_POC.html
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.
To adapt this repo to another Windows build you have to fix:
MiGetPteAddress offset in ntoskrnl.exePDEVOBJ (look at win32kbase!PDEV::Allocate)shellcode_offsets struct)