Windows Process Creation: Possible Path Traversal in cmd.exe Command Line

Alerts on Windows cmd.exe executions with "../.." path traversal indicators in parent/child command lines.

FreeReviewedSigma · High · v2
Product
windows
Category
process_creation
Author
xknow @xknow_infosec, Tim Shelton (SigmaHQ), DRL 1.1
Published
2020-06-11
Updated
2026-07-31

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 flags Windows process creation events where cmd.exe is launched or executed with command-line flags (/c, /k, /r) and includes a parent path traversal sequence ('/../../'). Attackers may use path traversal to confuse command-line parsing, manipulate file paths, or redirect execution flow. It relies on process creation telemetry, specifically ParentImage/Image fields and the ParentCommandLine/CommandLine content.

Related detections9 linkedT1059.003 — drag to rearrange
Malicious Shell Spawned by SharePoint Worker Process w3wp
Suspicious IP Release and Renew via Minimized cmd During Driver Install
Malicious IIS Worker Spawning nslookup via WS_FTP Deserialization
Malicious Metasploit Reverse Shell Injection in SQL Server (via process_creation)
Suspicious Fake Crypto Wallet Installer Batch Script Staging (via file_event)
Obfuscated Encoded PowerShell Payload Deployed via Process Execution (via process_creation)
Operator Bloopers Cobalt Strike Modules
Malicious KB Document Masqueraded Executable Spawned by Script Interpreter via RoKRAT Loader (via process_creation)
Malicious SCMBanker ClickFix Payload Fetch via Curl Piped to Cmd
Windows Process Creation: Possible Path Traversal in cmd.exe Command Line
Pivot detection · T1059.003 · 9 related

Changelog

v2
  1. v2
    Candidate ingested via manual entry.2026-07-31
  2. v1
    No changelog recorded for this version.2026-07-30

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