Article
GRU targeting of logistics firms: advisory AA25-141A
CISA, NSA, FBI and partners describe a GRU campaign against Western logistics and technology firms: targets, phases, CVEs and the fixes they list.
Quick links
Press Enter to search, Esc to close
Attack technique
Command and Scripting Interpreter is a technique where an attacker uses the built-in shells and scripting languages of a system to run commands, scripts or programs.
In short
Command and Scripting Interpreter is a technique where an attacker uses the built-in shells and scripting languages of a system to run commands, scripts or programs. Most systems already include these tools, so the activity can look like normal administration.
Execution · Step 4 Of 15 In The Attack Chain
Most operating systems, cloud services and network devices include a command line or a scripting language. An attacker who gains access can use them to run commands without bringing in much new software.
Commands and scripts can arrive inside an initial access payload, be downloaded from a server the attacker controls, or be typed in through an interactive terminal or a remote service.
MITRE groups this technique into 13 sub-techniques, covering interpreters such as PowerShell, Unix shells, Python, JavaScript, network device command lines and cloud APIs. The sub-techniques are 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 and T1059.013 Container CLI/API.
Watch for shells and script engines started outside normal working hours, by unexpected users, or by processes that would not normally start them.
Look for interpreter use that is followed by encoded or hidden arguments, or by other tools used to download or connect to remote systems.
On virtualization hosts and network devices, watch for interpreter or command line access by uncommon accounts or from unknown addresses.
Command Execution, Process Creation, User Account Authentication
Turn off or uninstall shells and interpreters that are not required, and block installation of new ones without approval.
Use application controls and, where possible, allow only signed scripts. Language restriction modes can limit sensitive functions.
Restrict interpreter use and execution policy to administrators where feasible, and keep an inventory of the interpreters on your systems.
Anti-malware can quarantine suspicious files, and attack surface reduction rules can stop scripts from running harmful downloaded content.
T1059 is when an attacker uses built-in shells and scripting languages to run commands, scripts or programs. Most systems already include these tools, so the activity can look like normal administration.
MITRE groups it into 13 sub-techniques, covering PowerShell, Unix shells, Python, JavaScript, network device command lines and cloud APIs. Most systems already include these tools.
Watch for shells and script engines started outside working hours, by unexpected users or by processes that would not normally start them, especially followed by encoded or hidden arguments.
Remove interpreters you do not need, use application controls and signed scripts where possible, restrict interpreter use to administrators, and use anti-malware and attack surface reduction rules.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.