Obfuscated Windows Command Shell Command Line (via process_creation)

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-11-09
Updated
2026-11-09

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 Windows command shell invocations that use caret escaping, environment-variable substring substitution or excessive quoting to obfuscate the executed command. Command obfuscation is a defense-evasion technique highlighted in the Red Canary Threat Detection Report, used to defeat naive string matching and hide the real payload behind cmd.exe. Detecting these obfuscation constructs surfaces evasive command execution regardless of the underlying tool.

Related detections9 linkedT1059.003 — drag to rearrange
Windows CMD for /f Tokens= with Recursive Dir Listing
Malicious Serial Console Process Spawning CMD Shell - Via Command (via process_creation)
RokRAT LNK Command Locating PowerShell via Directory Wildcard Search (via process_creation)
Suspicious C2Looper Command Execution via OneDrive Spawning Cmd (via process_creation)
Suspicious Edgecution Native Messaging Host Execution via Edge (via process_creation)
Possible Apache ActiveMQ Exploitation via Java Spawning Command Shell (via process_creation)
Suspicious Doenerium Host Fingerprinting via cmd.exe
Suspicious Scheduled Task Creation Referencing dllFake Batch Scripts (via process_creation)
Suspicious Backup Exec Remote Agent Spawning Command Shell via Process Creation (via process_creation)
Obfuscated Windows Command Shell Command Line (via process_creation)
Pivot detection · T1059.003 · 9 related

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