Malicious Office Application Spawning PowerShell with Encoded Command

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

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 a Microsoft Office application such as winword.exe or excel.exe spawning cmd.exe or powershell.exe with an EncodedCommand argument, a hallmark of malicious document execution delivering an obfuscated payload. Office productivity apps do not normally launch encoded PowerShell. This parent-child chain indicates user-driven macro or exploit execution leading to code execution.

Related detections9 linkedT1059.001 — drag to rearrange
Suspicious PowerShell Download Cradle Spawned from Explorer via ClickFix Lure (via process_creation)
Suspicious PowerShell Launched by MSIX StartingScriptWrapper From WindowsApps via Process Creation (via process_creation)
Suspicious PowerShell Remote TXT Payload Download Spawned by Shortcut via LNK (via process_creation)
Suspicious Script Interpreter Spawned by OneNote via Embedded Attachment (via process_creation)
Suspicious ClickFix Command Execution via RunMRU Registry Key
Suspicious PowerShell Download Spawned From Explorer via ClickFix (via process_creation)
Suspicious Lampion ClickFix PowerShell Download and Execute via Run Dialog
Suspicious cmd.exe Launching Encoded PowerShell From Shortcut File
Suspicious Encoded PowerShell Spawned from Explorer via ClickFix
Malicious Office Application Spawning PowerShell with Encoded Command
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.