T1059.003 · Windows Command Shell

CMD Carry Out String Command Parameter

  • Windows
  • Investigative Coverage

About this detection

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.

Sysmon event coverage

  • ProcessCreate

Sysmon XML

Download XML

Loading configuration…