// MITRE ATT&CK

T1059.006 · Python

🎯 Execution ESXiLinuxmacOSWindows Sub-technique

Sub-technique of T1059 · Command and Scripting Interpreter.

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 python.exe interpreter) or via scripts (.py) that ca...

How to detect & mitigate it

Detecting Python starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.