Skip to content
Threat Feed
medium advisory

Suspicious Cross-User Process Spawning Behavior

Detection of common user-space applications being spawned under different user contexts, which often indicates privilege escalation testing or sacrificial process execution.

This brief details the detection of suspicious process spawning behavior where applications typically associated with a standard user session - such as notepad.exe, calc.exe, or mspaint.exe - are launched under a different user context than their parent process. Attackers often utilize these binaries as sacrificial or decoy processes to verify the success of privilege escalation attempts or to host injected code. Because these applications are inherently designed for interactive user tasks, a disparity between the parent process user and the spawned child process user is a high-fidelity indicator of potential post-exploitation activity or lateral movement within a Windows environment.

Impact

Successful execution of such techniques allows attackers to validate elevated privileges, bypass user-mode access controls, and hide malicious code within seemingly benign, commonly running processes. If left undetected, this activity provides a mechanism for persistence and privilege escalation, potentially leading to unauthorized access to sensitive data or elevated control over the affected system.

Recommendation

Deploy the provided Sigma rule to detect unexpected user context switching for common Windows desktop applications. Monitor and tune the alerts to account for legitimate administrative tasks utilizing 'RunAs' or similar service account management tools. Ensure that process creation logging with full command line arguments and user context metadata is enabled via Sysmon (Event ID 1) or Windows Security Event Logs (Event ID 4688).


Immediate actions

Deploy the Sigma rule to monitor for unusual process/user pairings.

Detection Engineering 72h

Threat Hunt

Search for processes (notepad, calc) where User != ParentUser

T1055 medium medium confidence convert to detection

Data: Process creation logs with User and ParentUser context

Detection coverage 1

Detect Suspicious Cross-User Process Spawn

medium

Detects spawning of common desktop applications under a different user context than the parent, often indicative of privilege escalation testing.

sigma tactics: privilege-escalation techniques: T1055, T1134 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →