Automation · API / MCP 中文

Technique note · T1059

Command and Scripting Interpreter

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. 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. There are also cross-platform interpreters such as Python, as well as those commonly associated with client applications such as JavaScript and Visual Basic. 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 in order to achieve remote Execution.

ATT&CK T1059 platforms — Status Active Version 20.1

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. 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. There are also cross-platform interpreters such as Python, as well as those commonly associated with client applications such as JavaScript and Visual Basic. 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 in order to achieve remote Execution.123

  1. Powershell Remote Commands
  2. Cisco IOS Software Integrity Assurance - Command History
  3. Remote Shell Execution in Python

Groups using this technique

GroupNameCountry
grp_g0107Whitefly—
grp_g0053FIN5—
grp_g0038Stealth Falcon—
grp_g1031Saint BearRussia
grp_g0117Fox Kitten—
grp_g1035Winter Vivern—
grp_g0129Mustang PandaChina
grp_g0004Ke3chang—
grp_g0037FIN6—
grp_g0124Windigo—
grp_g0035DragonflyRussia
grp_g0049OilRigIran
grp_g0067APT37DPRK
grp_g0073APT19China
grp_g0046FIN7—
grp_g0087APT39—
grp_g0050APT32Vietnam

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.