Skip to main content
Mallory
← Back to News
defense-evasion-methodoffensive-tooling-releaseprivilege-escalation-methodpayload-delivery-evasion

Windows PPID Spoofing Masks Malicious Processes as Benign Parents

Attack Tradecraft · 2 sources · Updated 3mo ago · First seen Sep 6, 2022

Windows PPID Spoofing Masks Malicious Processes as Benign Parents

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.

Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · 2009 – Sep 6, 2022
  1. Sep 6, 20224y ago

    Cocomelonc publishes PPID spoofing and APC injection demo

    A technical walkthrough demonstrated creating mspaint.exe with explorer.exe as a spoofed parent using CreateProcess extended attributes, then injecting code via APC into the suspended process. The author also reported that the compiled sample was detected by 20 of 70 VirusTotal engines.

    Malware development tricks: parent PID spoofing. Simple C++ example. - cocomelonc
  2. Jun 3, 20197y ago

    MITRE ATT&CK publishes T1134.004 for Parent PID Spoofing

    MITRE ATT&CK published the Enterprise sub-technique T1134.004 covering Parent PID Spoofing as a Windows defense-evasion and privilege-escalation method.

    Access Token Manipulation: Parent PID Spoofing, Sub-technique T1134.004 - Enterprise | MITRE ATT&CK®
  3. 2009

    Didier Stevens publicizes PPID spoofing technique

    The cocomelonc reference states that Didier Stevens introduced parent PID spoofing to a wider information security audience in 2009.

    Malware development tricks: parent PID spoofing. Simple C++ example. - cocomelonc
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Windows

Observables

1 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.