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
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 Scheduled Task Running PowerShell Every Minute (via process_creation)
Malicious Script Host Spawning PowerShell With Invoke-Expression (via process_creation)
Hidden PowerShell Archive Extraction via ExtractToDirectory
CastleLoader ClickFix PowerShell Hex Decode and Re-Execution
Malicious Non-Interactive Encoded PowerShell Stager (via process_creation)
Malicious ActiveMQ Exploitation Java Spawning PowerShell Downloader (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.