T1059.003 Windows Command Shell

sub-techniqueEnterprise

Adversaries may abuse the Windows command shell for execution. The Windows command shell (cmd) is the primary command prompt on Windows systems. The Windows command prompt can be used to control almost any aspect of a system, with various permission levels required for different subsets of commands. The command prompt can be invoked remotely via Remote Services such as SSH. Batch files (ex:.bat or.cmd) also provide the shell with a list of sequential commands to run, as well as normal scripting operations such as conditionals and loops. Common uses of batch files include long or repetitive tasks, or the need to run the same set of commands on multiple systems. Adversaries may leverage cmd to execute various commands and payloads. Common uses include cmd to execute a single command, or abusing cmd interactively with input and output forwarded over a command and control channel.

01

platforms

Platforms this applies to.

Windows
02

tactics

ATT&CK tactics this technique serves.

03

sub-technique of

The broader entity this sits under.

04

mitigations

ATT&CK mitigations that reduce this.

05

detected by (3)

Data components that detect this.

06

NIST CSF 2.0 — areas of relevance (Protect / Detect)

NIST CSF 2.0 areas this most relates to (evidence-ranked).

Derived from MITRE CTID (Apache-2.0) and the NIST 800-53 ↔ CSF crosswalk (public domain). Indicative relevance along the Protect/Detect axis — not a compliance assessment or coverage claim.

07

mitigating controls (11)

Security controls that mitigate this.

08

known-exploited CVEs (6)

Related CVEs.

IDseverity exploitable
CVE-2025-49706US—OT criticalKEV
Improper authentication in Microsoft Office SharePoint allows an unauthorized attacker to perform spoofing over a network.
CVE-2025-49704US—OT criticalKEV
Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.
CVE-2023-42793UScritical9.8OT criticalKEV
In JetBrains TeamCity before 2023.05.4 authentication bypass leading to RCE on TeamCity Server was possible
CVE-2023-27532UShigh7.5OT criticalKEV
Vulnerability in Veeam Backup & Replication component allows encrypted credentials stored in the configuration database to be obtained. This may lead to gaining access to the backu…
CVE-2021-40449USmedium4.6OT criticalKEV
Win32k Elevation of Privilege Vulnerability
CVE-2021-22899UShigh8.8OT criticalKEV
A command injection vulnerability exists in Pulse Connect Secure before 9.1R11.4 allows a remote authenticated attacker to perform remote code execution via Windows Resource Profil…
09

groups (73)

Threat groups associated with this.

10

software (298)

Malware and tools associated with this.

12

Detected by (Sigma) (46)

Sigma detection rules related to this.

showing 20 of 46
13

source

Where this definition is published.