/TangledWinExec

C# PoCs for investigation of Windows process execution techniques investigation

Primary LanguageC#BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Tangled WinExec

This repository is for investigation of Windows process execution techniques. Most of PoCs are given a name corresponding to the technique.

Projects

  • CommandLineSpoofing : This PoC performs Command Line Spoofing.

  • GhostlyHollowing : This PoC performs Ghostly Hollowing.

  • PPIDSpoofing : This PoC performs PPID Spoofing.

  • ProcessDoppelgaenging : This PoC performs Process Doppelgänging. Due to kernel protection improvement, this technique does not work for recent Windows OS (> Windows 10 Version 1809, as far as I tested). See the issue for hasherezade's repository.

  • ProcessGhosting : This PoC performs Process Ghosting.

  • ProcessHollowing : This PoC performs Process Hollowing. Unlike the original, the PE image is parsed into a new memory area instead of using ZwUnmapViewOfSection / NtUnmapViewOfSection.

  • TransactedHollowing : This PoC performs Transacted Hollowing.

  • WmiSpawn : This PoC tries to spawn process with WMI. The processes will be spawn as child processes of WmiPrvSE.exe. Supports local machine process execution and remote machine process execution. The usage can see README.md.

NOTE : Currently ProcessHollowing code does not works for Debug build. To test it, use Release build. See this issue.

Reference

Command Line Spoofing

PPID Spoofing

Process Doppelgänging

Process Ghosting

Process Hollowing

GhostlyHollowing and Transacted Hollowing

Acknowledgments

Thanks for your research: