T1525: Implant Internal Image
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. Depending on how the infrastructure is provisioned, this could provide persistent access if the infrastructure provisioning tool is instructed to always use the latest image.[1]
A tool has been developed to facilitate planting backdoors in cloud container images.[2] If an adversary has access to a compromised AWS instance, and permissions to list the available container images, they may implant a backdoor such as a Web Shell.[1]
Analyst context for executives and security teams
T1525 matters because a compromised internal cloud or container image can turn normal infrastructure provisioning into persistence. If teams repeatedly deploy from a backdoored AMI, cloud image, or container image in their own registry, the adversary may regain access whenever new infrastructure is launched. For leaders, the risk is not just malware on one host; it is loss of trust in the build-and-deploy pipeline that supports cloud operations.
Executive priority
Prioritize this where IaaS or container environments rely on reusable images, especially where automation pulls the latest approved image. Executives should ask whether image creation, registry access, image promotion, and deployment are governed by privileged access controls, signing or integrity validation, and auditable change history. This technique has direct relevance to operational resilience, incident scoping, compliance evidence, and cloud security assurance because remediation may require validating or rebuilding trusted images, not only cleaning affected workloads.
Technical view
ATT&CK lists this as a persistence technique for IaaS and Containers. SOC, IR, and cloud security teams should validate whether they can identify unauthorized image creation, modification, replacement, tagging, or promotion inside victim-controlled cloud or container registries. Because the official ATT&CK detection field is not provided, teams should use the related DET0334 detection strategy as a prompt to build local analytics around image registry activity, privileged account use, and deployment events. Investigation should connect image changes to subsequent workload launches and to provisioning tools that automatically consume latest images.
Likely telemetry
- Cloud provider audit logs for image create, copy, import, modify, tag, share, and delete actions
- Container registry logs for image push, pull, tag changes, manifest changes, and repository permission changes
- Identity and privileged access logs showing who or what modified images or registry settings
- Image metadata, hashes, digests, signatures, tags, and build provenance records
- Infrastructure-as-code and provisioning tool records showing which images are referenced during deployment
Detection direction
- Baseline expected image publishers, build systems, service accounts, tags, and promotion paths; alert on image changes outside those norms.
- Correlate privileged account activity with image registry changes and subsequent workload launches from the changed image.
- Tune for false positives from legitimate CI/CD image rebuilds, patch cycles, and approved base-image refreshes by requiring change ticket, signer, or pipeline provenance context where available.
- Look for risk created by automation that always deploys the latest image, since that can turn a single registry compromise into repeated persistence.
- Account for the ATT&CK limitation that no official detection text is supplied; local cloud, registry, and deployment telemetry will determine practical coverage.
Mitigation priorities
- Start with privileged account management: restrict who and what can create, modify, tag, promote, or deploy internal images; apply least privilege and monitor privileged use.
- Use code signing or equivalent integrity validation for images and code artifacts so deployment workflows can reject untrusted or tampered images.
- Maintain auditing for registry, image, identity, and deployment activity, and review it regularly for unauthorized changes.
- Require controlled image promotion workflows rather than allowing broad direct writes to production registries or image catalogs.
- During incident response, treat internal images as potential persistence sources and validate or rebuild trusted images before redeploying affected infrastructure.
Analyst notes and limits
The supplied ATT&CK object specifically covers adversaries implanting cloud or container images inside a victim environment, distinct from externally uploading malware. The relationship set includes DET0334 as a detection strategy and mitigations M1026 Privileged Account Management, M1045 Code Signing, and M1047 Audit. Those relationships support focusing on identity control, artifact integrity, and auditability as the main defensive decision areas.
The official ATT&CK detection field is not provided, and the supplied DET0334 relationship does not include detection logic details. This take does not assert active exploitation, attribution, or guaranteed coverage. Exact detections depend on the organization’s cloud provider, registry, container runtime, provisioning tools, and available audit logs.
Implant Internal Image
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. Depending on how the infrastructure is provisioned, this could provide persistent access if the infrastructure provisioning tool is instructed to always use the latest image.[1]
A tool has been developed to facilitate planting backdoors in cloud container images.[2] If an adversary has access to a compromised AWS instance, and permissions to list the available container images, they may implant a backdoor such as a Web Shell.[1]
How security teams should use this page
Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.
All related ATT&CK context
Mitigation direction
Object version and sync metadata
The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates .
Imported snapshots across ATT&CK releases (1)
| Release | Bundle imported | Object version | Modified | Status | Raw hash |
|---|---|---|---|---|---|
| 19.1 | 2.2 | Current bundle | 9dafba75ad09… |
Mirrored ATT&CK source object
The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.
External references and citations
MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.
-
[1]
Rhino Labs Cloud Image Backdoor Technique Sept 2019
Rhino Labs. (2019, August). Exploiting AWS ECR and ECS with the Cloud Container Attack Tool (CCAT). Retrieved September 12, 2019.
Open source URL -
[2]
Rhino Labs Cloud Backdoor September 2019
Rhino Labs. (2019, September). Cloud Container Attack Tool (CCAT). Retrieved September 12, 2019.
Open source URL -
[3]
mitre-attack T1525Open source URL
Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.