# CVE-2021-40449-NtGdiResetDC-UAF
A POC for CVE-2021-40449.
Only tested on 1809, the code is a bit rough, but it's a good experience for me.
Instead of using the `ThreadName` method, user-space memory allocation is used.

[4.0K] /data/pocs/79c2bd91aa1df81c9d895a9fd94fbe13568becc4
├── [ 326] README.md
├── [116K] result.PNG
└── [4.0K] Source
├── [ 42K] detours.h
├── [707K] detours.lib
├── [ 12K] main.cpp
└── [173K] ntos.h
1 directory, 6 files