Suspicious MSHTA VBScript WScript Shell Execution

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

ATT&CK techniques

Execution → Defense Evasion
  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 mshta.exe executing an inline vbscript command that instantiates WScript.Shell to run a child process. This fileless technique is used by PurpleFox and XWorm loaders to spawn cmd or PowerShell without dropping a script to disk.

Related detections9 linkedT1218.005 — drag to rearrange
Suspicious VBScript Code Stored in CurrentVersion Registry Value
Suspicious rundll32 or mshta Proxy Execution of VBScript
Windows: Alert on suspicious parent process spawning csc.exe
Windows Remote Thread Creation via CACTUSTORCH Using Script/Office/Rundll Host Images
Suspicious Batch Script Execution Spawned by wscript via VBScript
Suspicious NW.js Runtime Execution from AppData Roaming by Charcoal Stork (via process_creation)
Suspicious PowerShell Spawned by mshta.exe in FakeSG Chain (via process_creation)
Suspicious Hidden PowerShell Spawned by MSHTA for Boot Persistence (via process_creation)
Malicious HTA Payload Download and Execution via PowerShell One-Liner (via process_creation)
Suspicious MSHTA VBScript WScript Shell Execution
Pivot detection · T1218.005 · 9 related

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