MITRE ATT&CKsub-technique

T1204.005 Malicious Library

Published 2025-05-22 Modified 2025-05-22 Official page ↗
Domain
enterprise
Tactics
Execution
Platforms
Linux, macOS, Windows
Version
1.0
Created
2025-05-22

Description

Adversaries may rely on a user installing a malicious library to facilitate execution. Threat actors may Upload Malware to package managers such as NPM and PyPi, as well as to public code repositories such as GitHub. User may install libraries without realizing they are malicious, thus bypassing techniques that specifically achieve Initial Access. This can lead to the execution of malicious code, such as code that establishes persistence, steals data, or mines cryptocurrency. In some cases, threat actors may compromise and backdoor existing popular libraries (i.e., Compromise Software Dependencies and Development Tools). Alternatively, they may create entirely new packages and leverage behaviors such as typosquatting to encourage users to install them.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1204 User Execution technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (3)

  • M1033 Limit Software Installation mitigation
  • M1031 Network Intrusion Prevention mitigation
  • M1017 User Training mitigation

Referenced by MITRE ATT&CK · uses (1)

  • G1052 Contagious Interview group

Referenced by Compliance · mitigates (1)

  • CIS-13.8 Deploy a Network Intrusion Prevention Solution CIS Safeguard v8.1

References