Malicious SharePoint ToolShell Post-Exploitation via Encoded PowerShell (via process_creation)

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

ATT&CK techniques

Initial Access → Execution
  1. Recon

  2. Resource Dev

  3. Persistence

  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 SharePoint IIS worker process w3wp.exe spawning PowerShell with an encoded command argument. Following exploitation of the ToolShell vulnerabilities CVE-2025-49704 and CVE-2025-49706, attackers executed encoded PowerShell from the web service context to steal machine keys and deploy web shells. This parent child chain rarely occurs during normal SharePoint operation.

Related detections9 linkedT1059.001 — drag to rearrange
Malicious MS-SQL Server Spawning Command Shell via Mallox
Malicious Command Shell or PowerShell Spawned by Tomcat via Process Creation (via process_creation)
Malicious BeyondTrust Bomgar Agent Spawning Command Shell via Remote Support Exploitation (via process_creation)
Malicious WSUS Service Spawning Command Shell via CVE-2025-59287 (via process_creation)
Malicious SharePoint w3wp Spawning Command Shell and PowerShell
Suspicious Child Process Spawned by Triofox GladinetCloudMonitor
Malicious PowerShell UrlDecode Payload Spawned by SQL Server after FortiClient EMS Exploitation
Malicious IIS w3wp Worker Spawning Command Interpreter via SharePoint Web Shell
Suspicious SolarWinds Web Help Desk Java Process Spawning Command Shell
Malicious SharePoint ToolShell Post-Exploitation via Encoded PowerShell (via process_creation)
Pivot detection · T1059.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.