MITRE ATT&CKsub-technique

T1701.005 Python

Published 2026-09-26 Modified 2026-10-07 Official page ↗
Domain
ics
Tactics
Execution
Version
1.0
Created
2026-09-26

Description

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 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. Within industrial control system environments, Python libraries have been developed to implement multiple ICS protocols to establish communications with field devices. Adversaries can use these libraries or develop their own to execute commands on workstation, control server assets or send remote command messages to manipulate the industrial process through exisiting ICS protocols.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1701 Command and Scripting Interpreter technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (4)

  • M1061 Limit Software/Package Installation mitigation
  • M0938 Execution Prevention mitigation
  • M0947 Audit mitigation
  • M0950 Exploit Protection mitigation

Referenced by MITRE ATT&CK · uses (1)

  • S1009 Triton software (malware)

References