T1525: Implant Internal Image
Tactics: Persistence. Platforms: IaaS, Containers.
Adversaries may implant cloud or container images with malicious code to establish persistence after gaining access to an environment.
MITRE's description
Adversaries may implant cloud or container images with malicious code to establish persistence after gaining access to an environment. Amazon Web Services (AWS) Amazon Machine Images (AMIs), Google Cloud Platform (GCP) Images, and Azure Images as well as popular container runtimes such as Docker can be implanted or backdoored. Unlike Upload Malware, this technique focuses on adversaries implanting an image in a registry within a victim’s environment.
Telemetry that detects it
- Image Creation
- Image Modification
- Instance Start
Mitigations
- Code Signing
- Several cloud service providers support content trust models that require container images be signed by trusted sources.
- Privileged Account Management
- Limit permissions associated with creating and modifying platform images or containers based on the principle of least privilege.
- Audit
- Periodically check the integrity of images and containers used in cloud deployments to ensure they have not been modified to include malicious software.
D3FEND countermeasures
- D3-CIA: Container Image Analysis (Model)
MITRE ATT&CK Enterprise 19.2. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.