Suspicious Command Shell Spawned by MSSQL Server Process Indicating Webshell

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

ATT&CK techniques

Initial Access → Persistence
  1. Recon

  2. Resource Dev

  3. Execution

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects the SQL Server process sqlservr.exe spawning a command shell or scripting interpreter, a pattern seen when the PassiveNeuron actors deployed an ASPX webshell and executed commands through MSSQL. A database engine spawning cmd or PowerShell is highly abnormal and typically means the server has been compromised for remote command execution and initial foothold.

Related detections9 linkedT1190 — drag to rearrange
Suspicious Node.js Fileless Webshell Magic Path Request via Webserver
Malicious PHASEJAM Webshell Dropped in Ivanti dana-na Auth Directory
Suspicious MOVEit Transfer human2.aspx Web Shell Access (via webserver)
Malicious Web Shell Written to SharePoint LAYOUTS Directory by Worker Process (via file_event)
Malicious Command Shell Spawned by SQL Server via Process Creation (via process_creation)
Possible GoAnywhere MFT Exploitation via Tomcat Spawning Discovery Commands
Malicious MOVEit Transfer Exploitation via X-siLock HTTP Headers (via webserver)
Malicious IIS w3wp Worker Spawning Command Interpreter via SharePoint Web Shell
Suspicious Single-Character Named Executable Launched by Web Server Process (via process_creation)
Suspicious Command Shell Spawned by MSSQL Server Process Indicating Webshell
Pivot detection · T1190 · 9 related

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