Skip to content
Threat Feed
high advisory

Suspicious Privilege Escalation via System Process Child Spawning

Detection of unauthorized child process execution by critical Windows system binaries commonly associated with SeDebugPrivilege exploitation.

This detection brief addresses the abuse of SeDebugPrivilege on Windows systems. Attackers frequently leverage the debug privilege, typically held by high-integrity system processes, to inject code or spawn child processes to achieve privilege escalation. This technique involves compromising or hijacking standard system processes such as winlogon.exe, lsass.exe, or services.exe to launch command shells or scripting engines. By spawning these processes from a high-privilege parent, the resulting child process may inherit security tokens or bypass standard user-mode monitoring. Monitoring the process creation chain for unexpected offspring from core system binaries is a critical defensive measure for identifying post-exploitation activity and lateral movement.

Attack Chain

  1. Attacker gains initial code execution with user-level privileges on the target system.
  2. Attacker searches for a process running with SeDebugPrivilege, often targeting LSASS, Winlogon, or Service Control Manager.
  3. Attacker uses process injection (e.g., DLL injection or process hollowing) to execute arbitrary code within the memory space of the target system process.
  4. The injected code within the system process calls CreateProcess to initiate a command shell (cmd.exe) or PowerShell (powershell.exe).
  5. The OS logs the process creation event (Event ID 1) showing the system process as the parent of the shell.
  6. Attacker leverages the shell to execute further reconnaissance or credential dumping commands.
  7. Attacker establishes persistence or exfiltrates data using the elevated privileges inherited from the parent process.

Impact

Successful exploitation of this technique allows an attacker to bypass standard Windows security boundaries, resulting in full system compromise, persistent unauthorized access, and potential exfiltration of sensitive credentials stored in memory (e.g., LSAMASS, SAM, or Kerberos tickets).

Recommendation

Deploy the Sigma rule provided below to your SIEM to monitor for suspicious child processes spawned by core system binaries.

  • Enable Windows Event ID 4688 with command-line auditing enabled via Group Policy.
  • Prioritize investigating alerts where the parent process is a critical system component (lsass.exe, services.exe) and the child process is an interactive shell (cmd.exe, powershell.exe).
  • Tune the filter for legitimate administrative network configuration tasks (e.g., adding routes) to prevent false positives.

Immediate actions

Deploy Sigma detection rule to SIEM

Detection Engineering 48h

Threat Hunt

Search for non-standard child processes of LSASS or Services

T1548 medium medium confidence convert to detection

Data: Process creation telemetry

Mitigations

Review and restrict SeDebugPrivilege assignment via Group Policy

medium_term IT Operations

Privilege escalation vectors

Detection coverage 1

Detect Suspicious Child Process Spawned by System Binaries

high

Detects potentially malicious child processes spawned by system binaries that typically hold SeDebugPrivilege.

sigma tactics: privilege-escalation techniques: T1548 sources: process_creation, windows

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