T1059 โ Command and Scripting Interpreter
Parent technique
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. 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.
Sub-techniques
- T1059.001 โ PowerShell
- T1059.002 โ AppleScript
- T1059.003 โ Windows Command Shell
- T1059.004 โ Unix Shell
- T1059.005 โ Visual Basic
- T1059.006 โ Python
- T1059.007 โ JavaScript
- T1059.008 โ Network Device CLI
- T1059.009 โ Cloud API
- T1059.010 โ AutoHotKey & AutoIT
- T1059.011 โ Lua
- T1059.012 โ Hypervisor CLI
- T1059.013 โ Container CLI/API
Detected by EasySIEM
This project's own SigmaHQ-derived detection pipeline tags every compiled rule with the ATT&CK technique(s) it maps to -- if a rule in your install covers this technique, it shows up automatically on your own Grafana Alerts dashboard's "Top ATT&CK Techniques" panel, no lookup needed. This page exists so a click from there always lands here on easysiem.com, not on attack.mitre.org.