PowerShell Command-Line Obfuscation Constructs (via process_creation)

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-07-25
Updated
2026-08-28

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects PowerShell command lines that use format-operator, character-array, backtick or string-reversal obfuscation to hide the real payload from simple string matching. Command obfuscation accompanies the heavy PowerShell abuse documented in the Red Canary Threat Detection Report, and these constructs are rarely produced by legitimate one-liners. Detecting the obfuscation syntax surfaces evasive script execution regardless of the ultimate payload.

Related detections9 linkedT1059.001 — drag to rearrange
PowerShell ExportedCommands Array Index for Indirect Cmdlet Execution (Windows Process Creation)
Suspicious Encoded PowerShell DownloadString Execution
Suspicious Delayed Expansion Command Obfuscation Building PowerShell via Amatera Stealer
Windows PowerShell Obfuscated COM MSI Installation via WindowsInstaller.Installer
Windows Registry Set in Shell Open Command Using PowerShell Cryptography .NET Classes
PowerShell Crypto Namespace Class Invocation for Windows Process Creation
Suspicious node.exe Execution Spawned by PowerShell
Suspicious PowerShell Spawned by mshta.exe in FakeSG Chain (via process_creation)
Suspicious Encoded PowerShell Using Base64 Stream Decompression Routines (via process_creation)
PowerShell Command-Line Obfuscation Constructs (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.