Malicious SQL Server Command Shell Spawn via sqlservr Child Process (via process_creation)

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-10-14
Updated
2026-10-14

ATT&CK techniques

Persistence
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects the SQL Server engine process sqlservr.exe spawning a command shell or scripting interpreter. Threat actors enabled xp_cmdshell on a compromised SQL Server to run OS commands as a foothold before pivoting to the cloud environment.

Related detections9 linkedT1505.001 — drag to rearrange
Suspicious xp_cmdshell Enabled via sp_configure Reconfigure (via process_creation)
Suspicious BCP Data Staging to Public Music Directory
Malicious SQL Server Command Execution Spawning Download Utilities via Process Creation
Malicious SQL Server Lateral Movement with CLR Activation (via application)
Malicious SQL Server Dedicated Admin Connection (DAC) Suspicious Activity (via application)
Malicious SQL Server Sqlcmd Utility Abuse for Privilege Escalation (via process_creation)
Malicious SQL Server Dedicated Admin Connection (DAC) Mode Activated - Native (via application)
Malicious Command Shell Spawned by SQL Server via xp_cmdshell
Windows: Suspicious HTA Startup Folder Creation by FoxitPDFReader.exe
Malicious SQL Server Command Shell Spawn via sqlservr Child Process (via process_creation)
Pivot detection · T1505.001 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.