Windows PowerShell Token Obfuscation via Process Command Line

Identifies Windows PowerShell command lines using token obfuscation patterns, common in Invoke-Obfuscation.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-12-27
Updated
2026-07-30

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags Windows process creation events where the command line contains patterns consistent with PowerShell token obfuscation as used by Invoke-Obfuscation. Attackers use this behavior to evade signature-based detection by fragmenting or encoding keywords and expressions. The detection relies on process creation telemetry, specifically the process command line, and applies a filter to reduce matches involving ${env:path}.

Related detections2 linkedT1027.009 — drag to rearrange
Suspicious VERSION.dll Proxy Sideloading from User AppData Directory (via image_load)
Windows PowerShell script token obfuscation via backtick and dynamic expression patterns
Windows PowerShell Token Obfuscation via Process Command Line
Pivot detection · T1027.009 · 2 related

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