Cmd.EXE Missing Space Characters Execution Anomaly
Detects Windows command lines that miss a space before or after the /c flag when running a command using the cmd.exe. This could be a sign of obfuscation of a fat finger problem (typo by the developer).
Detection logic
Detection requirements
- Platform
- Windows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Legitimate use of cmd.exe with no arguments e.g. via system("") in C to enable ANSI escape codes
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| ss64.com/nt/cmd.html | Only this detection cites it |
| twitter.com/cyb3rops/status/1562072617552678912 | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- a16980c2-0c56-4de0-9a79-17971979efdd
- Tagged by the source as
- attack.execution
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1