MITRE ATT&CKtechnique
T1701 Command and Scripting Interpreter
- Domain
- ics
- Tactics
- Execution
- Version
- 1.0
- Created
- 2026-09-25
Description
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries. These interfaces and languages provide ways of interacting with computer systems and are a common feature across many different platforms within industrial control system environments. Most systems come with some built-in command-line interface and scripting capabilities, for example, macOS and Linux distributions include some flavor of Unix Shell while Windows installations include the Windows Command Shell and PowerShell. Some also have cross-platform interpreters such as Python, as well as those commonly associated with client applications such as JavaScript and Visual Basic. Many controllers have command-line interfaces for management purposes.
Adversaries may abuse these technologies in various ways as a means of executing arbitrary commands. Commands and scripts can be embedded in Initial Access payloads delivered to victims as lure documents or as secondary payloads downloaded from an existing C2. Adversaries may also execute commands through interactive terminals/shells, as well as utilize various Remote Services (e.g., Telnet, SSH, RDP, etc.) often found in industrial control system environments to achieve remote Execution.
Related
Tactic · MITRE ATT&CK (1)
- TA0104 Execution tactic
Referenced by MITRE ATT&CK · mitigates (3)
Referenced by MITRE ATT&CK · subtechnique of (6)
References
- https://www.thepythoncode.com/article/executing-bash-commands-remotely-in-python Remote Shell Execution in Python
- https://tools.cisco.com/security/center/resources/integrity_assurance.html#23 Cisco IOS Software Integrity Assurance - Command History
- https://docs.microsoft.com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7.1 Powershell Remote Commands