How to Compile it:
To compile p0wnedShell you need to open this project within Microsoft Visual Studio and build it for the x64/x86 platform. You can change the following AutoMasq options before compiling:
public static bool AutoMasq = true;
public static string masqBinary = @”C:WindowsNotepad.exe”;
How to use it:
With AutoMasq set to false, you just run the executable so it runs normally. With AutoMasq enabled, you could rename the p0wnedShell executable as the process you’re going to masquerade (masqBinary), so it has the appearance of that process (for example notepad.exe).
Using the optional “-parent” commandline argument, you can start p0wnedShell using another Parent Process ID. When combining the PEB Masq option and different parent process ID (for example svchost), you can give p0wnedShell the appearance of a legitimate service 😉




