CMD Carry Out String Command Parameter
The following analytic detects the use of `cmd.exe /c` to execute commands, a technique often employed by adversaries and malware to run batch commands or invoke other shells like PowerShell. This detection leverages…
Description
The following analytic detects the use of `cmd.exe /c` to execute commands, a technique often employed by adversaries and malware to run batch commands or invoke other shells like PowerShell. This detection leverages data from Endpoint Detection and Response (EDR) agents, focusing on command-line executions and process metadata. Monitoring this activity is crucial as it can indicate script-based attacks or unauthorized command execution. If confirmed malicious, this behavior could lead to unauthorized code execution, privilege escalation, or persistence within the environment.
Detection logic
Detection requirements
- Platform
- Windows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- crowdstrike_processrollup2sysmon_eventid_1windows_event_log_security_4688
Known benign triggers
- False positives may be high based on legitimate scripted code in any environment. Filter as needed.
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 |
|---|---|
| thedfirreport.com/2021/10/18/icedid-to-xinglocker-ransomware-in-24-hours/ | 25from 3 sources |
| www.microsoft.com/security/blog/2022/01/15/destructive-malware-targeting-ukrainian-organizations/ | 27from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- 54a6ed00-3256-11ec-b031-acde48001122
- Tagged by the source as
- 0bj3ctivity StealerAsyncRATAzorultChaos RansomwareCISA AA23-347ACrypto StealerDarkCrystal RATDarkGate MalwareData DestructionGh0st RATHermetic WiperIcedIDInterlock RatLiving Off The LandLog4Shell CVE-2021-44228Malicious Inno Setup LoaderNjRATPlugXProxyNotShellQakbotQuasar RATRedLine StealerRhysida RansomwareStealC StealerWarzone RATWhisperGateWinter VivernEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1