Suspicious Command Shell Spawned by MSSQL Server Process

PremiumReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-09-28
Updated
2026-09-28

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  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 service process spawning a command shell or PowerShell, the behavioral signature of xp_cmdshell abuse observed in intrusions against Foundation accounting software. Attackers brute forced exposed database accounts and enabled xp_cmdshell to run operating system commands. Command execution from the database engine indicates hands-on-keyboard post-exploitation.

Related detections9 linkedT1059.003 — drag to rearrange
Obfuscated Windows Command Shell Command Line (via process_creation)
Malicious Serial Console Process Spawning CMD Shell - Via Command (via process_creation)
Suspicious C2Looper Command Execution via OneDrive Spawning Cmd (via process_creation)
Suspicious Edgecution Native Messaging Host Execution via Edge (via process_creation)
Possible Apache ActiveMQ Exploitation via Java Spawning Command Shell (via process_creation)
Suspicious Doenerium Host Fingerprinting via cmd.exe
Suspicious Scheduled Task Creation Referencing dllFake Batch Scripts (via process_creation)
Suspicious Backup Exec Remote Agent Spawning Command Shell via Process Creation (via process_creation)
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious Command Shell Spawned by MSSQL Server Process
Pivot detection · T1059.003 · 9 related

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