VeriKQL by Kaushik Saha

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 sourceIn Microsoft Sentinel
containerd:eventsImage pull from untrusted registry (name NOT IN allowlist) or new digest never seen beforeNot mapped to Sentinel yet.
kubernetes:auditcreate: Pod/Container created with image tag 'latest' or mutable tag; imagePullPolicy=Always; noDigest=trueNot mapped to Sentinel yet.
kubernetes:eventsstart: ContainerStarted or Pulling image → Started containerNot mapped to Sentinel yet.
auditd:SYSCALLexecve: Process in container namespace executes curl|wget|bash|sh|python|nc with outbound argsNot mapped to Sentinel yet.
NSM:FlowNew egress from container IP/namespace to Internet or non-approved CIDRs/ASNsNot 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 sourceIn Microsoft Sentinel
AWS:CloudTrailRunInstancesNot mapped to Sentinel yet.
azure:activityMicrosoft.Compute/virtualMachines/write: imageReference publisher NOT IN allowlist OR plan is new/unknown
  • Azure Activity → AzureActivity
    AzureActivity
WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (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 bootNot mapped to Sentinel yet.

Content Hub rules tagged with it (2)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1204.003 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

No SigmaHQ rule names it in their tags outright.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

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.