This repo contains proof-of-concept C++/C# code to perform the process reimaging technique described in:
This allows you to launch one executable, say bad.exe, and have process enumeration techniques point to another executable. This is due to the stale FILE_OBJECTs the kernel32 APIs use.
.\poc.exe C:\path\to\bad.exe C:\path\to\good.exe