User Execution: Malicious Image T1204.003

Tactic: Execution

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.

Authoring guide

Patterns shared across the 10 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (12 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
sourcetype9eq 9aws:cloudtrail, aws:asl, cisco:isovalent:processExec
aws::eventName7eq 7PutImage, DescribeImageScanFindings
aws::eventSource5eq 5ecr.amazonaws.com
severity3eq 2, in 1HIGH, INFORMATIONAL, LOW, MEDIUM, UNKNOWN
All_Risk.analyticstories1eq 1Dev Sec Ops
All_Risk.risk_object_type1eq 1other
hour1ge 1, lt 120, 8
pod_name1ne 1
process_name1in 1*/, ---, /
source_count1gt 13
sum_risk_score1gt 1100
weekday1eq 1

Top indicator values (85 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
aws::eventSourceeq
ecr.amazonaws.com
57
sourcetypeeq
aws:cloudtrail
559
sourcetypeeq
aws:asl
227
sourcetypeeq
cisco:isovalent:processExec
28
aws::eventNameeq
PutImage
44
aws::eventNameeq
DescribeImageScanFindings
34
All_Risk.analyticstorieseq
Dev Sec Ops
1
All_Risk.risk_object_typeeq
other
1
hourge
20
1
hourlt
8
1
process_namein
*/
1
process_namein
---
1
process_namein
/
1
process_namein
/*
1
process_namein
access
1
process_namein
amap
1
process_namein
beef-xss
1
process_namein
bloodhound
1
process_namein
covenant
1
process_namein
cracking
1
process_namein
crackmapexec
12
process_namein
credential
1
process_namein
crowbar
1
process_namein
dirtycow
1
process_namein
dirtypipe
1
process_namein
dnsenum
1
process_namein
dnsrecon
1
process_namein
empire
1
process_namein
enum4linux
1
process_namein
enumeration
1

Exclusions (7 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
actor.user.nameeq
admin
1
pod_image_namein
docker.io/grafana/grafana:12.0.1
1
pod_image_namein
docker.io/library/ubuntu:22.04
1
pod_image_namein
quay.io/isovalent-dev/tetragon-ci*
1
pod_image_namein
quay.io/isovalent/hubble-export-fluentd*
1
pod_image_namein
quay.io/isovalent/tetragon-ci*
1
usereq
user
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Splunk 10 rules