Command and Scripting Interpreter: Windows Command Shell
- ID
- T1059.003
- Tactics
- TA0002 Execution
- Sub-technique of
- T1059 Command and Scripting Interpreter
- Platforms
- Windows
- Data sources
- Process Creation, Module Load, Script Execution
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
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.[1]
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.
Detection
- DET0202 Behavioral Detection of Windows Command Shell Execution
Data components: Process Creation, Module Load, Script Execution
Mitigations (1)
- M1038 Execution Prevention
Use application control where appropriate.
Groups (73)
- G0004 Ke3chang
- G0006 APT1
- G0007 APT28
- G0010 Turla
- G0012 Darkhotel
- G0018 admin@338
- G0022 APT3
- G0026 APT18
- G0027 Threat Group-3390
- G0028 Threat Group-1314
- G0032 Lazarus Group
- G0035 Dragonfly
- G0037 FIN6
- G0039 Suckfly
- G0040 Patchwork
- G0045 menuPass
- G0046 FIN7
- G0047 Gamaredon Group
- G0049 OilRig
- G0050 APT32
- G0051 FIN10
- G0054 Sowbug
- G0059 Magic Hound
- G0060 BRONZE BUTLER
- G0061 FIN8
- G0067 APT37
- G0069 MuddyWater
- G0070 Dark Caracal
- G0075 Rancor
- G0078 Gorgon Group
- G0080 Cobalt Group
- G0081 Tropic Trooper
- G0082 APT38
- G0090 WIRTE
- G0091 Silence
- G0092 TA505
- G0093 GALLIUM
- G0094 Kimsuky
- G0095 Machete
- G0096 APT41
- G0102 Wizard Spider
- G0108 Blue Mockingbird
- G0114 Chimera
- G0117 Fox Kitten
- G0119 Indrik Spider
- G0125 HAFNIUM
- G0126 Higaisa
- G0127 TA551
- G0128 ZIRCONIUM
- G0129 Mustang Panda
- G0133 Nomadic Octopus
- G0139 TeamTNT
- G0140 LazyScripter
- G0143 Aquatic Panda
- G1013 Metador
- G1016 FIN13
- G1017 Volt Typhoon
- G1021 Cinnamon Tempest
- G1022 ToddyCat
- G1023 APT5
Showing 60 of 73. Full list on attack.mitre.org.
Software (298)
- S0004 TinyZBot
- S0009 Hikit
- S0011 Taidoor
- S0012 PoisonIvy
- S0013 PlugX
- S0015 Ixeshe
- S0017 BISCUIT
- S0020 China Chopper
- S0022 Uroburos
- S0025 CALENDAR
- S0030 Carbanak
- S0031 BACKSPACE
- S0034 NETEAGLE
- S0044 JHUHUGIT
- S0045 ADVSTORESHELL
- S0046 CozyCar
- S0053 SeaDuke
- S0065 4H RAT
- S0068 httpclient
- S0069 BLACKCOFFEE
- S0070 HTTPBrowser
- S0071 hcdLoader
- S0074 Sakula
- S0080 Mivast
- S0082 Emissary
- S0083 Misdat
- S0084 Mis-Type
- S0085 S-Type
- S0086 ZLib
- S0087 Hi-Zor
- S0088 Kasidet
- S0094 Trojan.Karagany
- S0106 cmd
- S0109 WEBC2
- S0115 Crimson
- S0117 XTunnel
- S0124 Pisloader
- S0126 ComRAT
- S0128 BADNEWS
- S0132 H1N1
- S0139 PowerDuke
- S0142 StreamEx
- S0146 TEXTMATE
- S0147 Pteranodon
- S0148 RTM
- S0149 MoonWind
- S0153 RedLeaves
- S0154 Cobalt Strike
- S0156 KOMPROGO
- S0158 PHOREAL
- S0159 SNUGRIDE
- S0164 TDTESS
- S0170 Helminth
- S0171 Felismus
- S0180 Volgmer
- S0184 POWRUNER
- S0185 SEASHARPEE
- S0186 DownPaper
- S0187 Daserf
- S0198 NETWIRE
Showing 60 of 298. Full list on attack.mitre.org.
