T1204.003 Malicious Image
Executionon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0248 User Execution – Malicious Image (containers & IaaS) – pull/run → start → anomalous behavior (T1204.003)
AN0691 Linux
CONTAINERS (Docker/K8s/containerd): A user pulls an untrusted image from a public/unknown registry and then creates/starts a container from that image. Shortly after start, the container spawns unexpected utilities (e.g., curl/wget/bash/python), or makes outbound network connections atypical for the namespace/workload. The analytic correlates Image Creation/Download → Container Creation → Container Start → Command Execution/Network activity within a short window and with a consistent image digest.
| MITRE log source | In Microsoft Sentinel |
|---|---|
containerd:eventsImage pull from untrusted registry (name NOT IN allowlist) or new digest never seen before | Not mapped to Sentinel yet. |
kubernetes:auditcreate: Pod/Container created with image tag 'latest' or mutable tag; imagePullPolicy=Always; noDigest=true | Not mapped to Sentinel yet. |
kubernetes:eventsstart: ContainerStarted or Pulling image → Started container | Not mapped to Sentinel yet. |
auditd:SYSCALLexecve: Process in container namespace executes curl|wget|bash|sh|python|nc with outbound args | Not mapped to Sentinel yet. |
NSM:FlowNew egress from container IP/namespace to Internet or non-approved CIDRs/ASNs | Not mapped to Sentinel yet. |
AN0692 Windows
IAAS (Cloud images/VMs): A new VM/instance is launched from a non-approved or newly-seen image (AMI/GCP Image/Azure Image). On first boot, cloud-init/user-data or embedded agents download code, spawn system utilities, or open outbound C2/mining traffic. The analytic correlates Instance/Image Creation → Instance Start → in-guest Process/Command Execution and/or anomalous network traffic.
| MITRE log source | In Microsoft Sentinel |
|---|---|
AWS:CloudTrailRunInstances | Not mapped to Sentinel yet. |
azure:activityMicrosoft.Compute/virtualMachines/write: imageReference publisher NOT IN allowlist OR plan is new/unknown |
|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
NSM:FlowNew VM egress to crypto-mining pools or non-approved Internet ranges within minutes of boot | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (2)
- AWSCloudTrail - ECR Container Image Low Severity Findings
- AWSCloudTrail - ECR Container Image Medium Severity Findings
How the Content Hub rules for T1204.003 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.