| name | T1204.003_malicious-image |
| description | Adversaries may rely on a user running a malicious image to facilitate execution. |
| category | input-validation |
| version | 18.1 |
| author | cyberstrike-official |
| tags | ["mitre-attack","enterprise","t1204.003","execution","iaas","containers","sub-technique"] |
| technique_id | T1204.003 |
| tactic | execution |
| all_tactics | ["execution"] |
| platforms | ["IaaS","Containers"] |
| mitre_url | https://attack.mitre.org/techniques/T1204/003 |
| tech_stack | ["cloud","containers"] |
| cwe_ids | ["CWE-94"] |
| chains_with | ["T1204","T1204.001","T1204.002","T1204.004","T1204.005"] |
| prerequisites | ["T1204"] |
| severity_boost | {"T1204":"Chain with T1204 for deeper attack path","T1204.001":"Chain with T1204.001 for deeper attack path","T1204.002":"Chain with T1204.002 for deeper attack path"} |
T1204.003 Malicious Image
Sub-technique of: T1204
High-Level Description
Adversaries may rely on a user running a malicious image to facilitate execution. 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 backdoored. Backdoored images may be uploaded to a public repository via Upload Malware, and users may then download and deploy an instance or container from the image without realizing the image is malicious, thus bypassing techniques that specifically achieve Initial Access. This can lead to the execution of malicious code, such as code that executes cryptocurrency mining, in the instance or container.
Adversaries may also name images a certain way to increase the chance of users mistakenly deploying an instance or container from the image (ex: Match Legitimate Resource Name or Location).
Kill Chain Phase
Platforms: IaaS, Containers
What to Check
How to Test
Manual Testing
-
Identify Attack Surface: Determine if the target environment is susceptible to Malicious Image by examining the target platforms (IaaS, Containers).
-
Assess Existing Defenses: Review whether mitigations for T1204.003 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
-
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Remediation Guide
M1045 Code Signing
Utilize a trust model such as Docker Content Trust with digital signatures to ensure runtime verification of the integrity and publisher of specific image tags.