Windows PPID Spoofing Masks Malicious Processes as Benign Parents
Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Sep 6, 2022

Windows parent process ID spoofing allows attackers to create a new process that appears to have been launched by a trusted parent such as explorer.exe, undermining detections based on parent-child process relationships. MITRE ATT&CK tracks the method as T1134.004, noting it can be used for both defense evasion and, in some cases, privilege escalation by assigning a privileged parent so the child may inherit an elevated token.
A published C++ proof of concept demonstrated the technique by using CreateProcess with extended startup attributes to set PROC_THREAD_ATTRIBUTE_PARENT_PROCESS, launching mspaint.exe in a suspended state, injecting a payload, queueing execution with APC, and then resuming the thread so the process appeared to be a child of explorer.exe. The walkthrough said the sample was detected by 20 of 70 VirusTotal engines and linked the tradecraft to real-world offensive tooling and malware, including Cobalt Strike and KONNI RAT, highlighting how adversaries can disguise execution chains that would otherwise look suspicious.


