Container Administration Command T1609

Tactic: Execution

Adversaries may abuse a container administration service to execute commands within a container. A container administration service such as the Docker daemon, the Kubernetes API server, or the kubelet may allow remote management of containers within an environment.

Events covered

1 catalog event is tagged with this technique by at least one rule.

ProviderEventTitle
ESFexecProcess Execution (Notify)

Authoring guide

Patterns shared across the 27 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 (33 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
EventType17eq 9, in 8exec, exec_event, ProcessRollup2, executed, start
event.type17eq 17start
host.os.type16eq 15, in 1
process_name16in 10, eq 7, starts_with 3bash, busybox, csh, ., crictl
process.args14eq 7, in 6, contains 5, starts_with 3, wildcard 2--privileged, /bin/curl, /bin/kubectl, /bin/ncat, exec
process.interactive8eq 8true
container.id7wildcard 6, starts_with 1*, ?
kubernetes.audit.objectRef.subresource7eq 6, in 1exec, attach, ephemeralcontainers, log
data_stream.dataset5eq 5kubernetes.audit_logs
kubernetes.audit.stage5in 4, eq 1ResponseComplete, ResponseStarted
Esql.executed_command4is_not_null 4, regex_match 3.*(/var/run/secrets/|/etc/kubernetes/|/var/lib/kubelet/|/..., .*(169\.254\.169\.254|2852039166|0xa9fea9fe|/latest/api/t..., .*(curl.*https|wget.*https).*
kubernetes.audit.requestURI4contains 4command=
kubernetes.audit.verb4in 3, eq 1create, get, list, patch, update
Image3starts_with 2, wildcard 1/dev/shm/, /tmp/, /var/tmp/, ./kubectl, /dev/shm/*
kubernetes.audit.objectRef.resource3eq 3, in 1pods, clusterrolebindings, clusterroles, configmaps

Top indicator values (340 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
event.typeeq
start
17606
EventTypeeq
exec
9171
EventTypein
exec
8171
EventTypein
executed
788
EventTypein
exec_event
6139
EventTypein
start
6134
EventTypein
process_started
574
EventTypein
ProcessRollup2
4117
process.interactiveeq
true
842
container.idwildcard
*
625
data_stream.dataseteq
kubernetes.audit_logs
536
kubernetes.audit.objectRef.subresourceeq
exec
55
process_namein
bash
588
process_namein
busybox
536
process_namein
csh
571
process_namein
dash
578
process_namein
fish
572
process_namein
ksh
573
process_namein
sh
583
process_namein
tcsh
569
process_namein
zsh
582
process_namein
crictl
44
process_namein
kubectl
45
kubernetes.audit.requestURIcontains
command=
44
kubernetes.audit.stagein
ResponseComplete
45
kubernetes.audit.stagein
ResponseStarted
45
kubernetes.audit.objectRef.resourceeq
pods
311
process.argseq
run
35
process.argsin
/bin/kubectl
33
process.argsin
/bin/wget
35

Exclusions (107 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
ParentImagein
/sbin/init
4
ParentImagein
/lib/systemd/systemd
2
ParentImagein
/usr/bin/containerd
2
ParentImagein
/usr/bin/containerd-shim-runc-v2
2
ParentImagein
/usr/bin/dockerd
2
ParentImagein
/usr/bin/kubelet
2
ParentImagein
/usr/bin/runc
2
ParentImagein
/usr/lib/systemd/systemd
2
ParentImagein
/usr/local/bin/kubelet
2
ParentImagein
/usr/sbin/containerd
2
CurrentDirectoryeq
/aws
2
parent_process_nameeq
busybox
2
process_nameeq
kubectl
2
Esql.executed_commandregex_match
.*(/api/v1/health|/healthz|/readyz|/livez|127\.0\.0\.1|localhost|/openid/v1/j...
1
Esql.executed_commandregex_match
.*/etc/resolv\.conf.*
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)

Sigma 3 rules

Elastic 24 rules