Automation · API / MCP 中文

Technique note · T1059.006

Python

Adversaries may abuse Python commands and scripts for execution. Python is a very popular scripting/programming language, with capabilities to perform many functions. Python can be executed interactively from the command-line (via the <code>python.exe</code> interpreter) or via scripts (.py) that can be written and distributed to different systems. Python code can also be compiled into binary executables. Python comes with many built-in packages to interact with the underlying system, such as file operations and device I/O. Adversaries can use these libraries to download and execute commands or other scripts as well as perform various malicious behaviors.

ATT&CK T1059.006 platforms — Status Active Version 20.1

Adversaries may abuse Python commands and scripts for execution. Python is a very popular scripting/programming language, with capabilities to perform many functions. Python can be executed interactively from the command-line (via the <code>python.exe</code> interpreter) or via scripts (.py) that can be written and distributed to different systems. Python code can also be compiled into binary executables.1 Python comes with many built-in packages to interact with the underlying system, such as file operations and device I/O. Adversaries can use these libraries to download and execute commands or other scripts as well as perform various malicious behaviors.

  1. Zscaler APT31 Covid-19 October 2020

Groups using this technique

GroupNameCountry
grp_g0095Machete—
grp_g0128ZIRCONIUM—
grp_g1056TeamPCP—
grp_g1045Salt Typhoon—
grp_g1021Cinnamon TempestChina
grp_g1048UNC3886—
grp_g0035DragonflyRussia
grp_g1039RedCurlRussia
grp_g0131Tonto TeamChina
grp_g1052Contagious Interview—
grp_g0069MuddyWater—
grp_g1055VOID MANTICORE—
grp_g0067APT37DPRK
grp_g0082APT38DPRK
grp_g0087APT39—
grp_g0010TurlaRussia
grp_g0094KimsukyDPRK
grp_g0060BRONZE BUTLER—
grp_g0106Rocke—
grp_g1006Earth LuscaChina
grp_g0016APT29Russia

Claims

No public claim points at this technique yet.

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