Container and Resource Discovery T1613

Tactic: Discovery

Adversaries may attempt to discover containers and other resources that are available within a containers environment. Other resources may include images, deployments, pods, nodes, and other information such as the status of a cluster.

Events covered

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

ProviderEventTitle
ESFexecProcess Execution

Authoring guide

These 54 rules share fields, values, and exclusions.

Fields filtered most (72 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType40eq 25, in 15exec, exec_event, ProcessRollup2, open, executed
event.type32eq 31, ne 1start, change, allowed
host.os.type30eq 27, in 3
process_name26in 16, eq 11, starts_with 3, wildcard 2bash, busybox, csh, kubectl, curl
process.args25in 19, contains 7, wildcard 5, eq 4, starts_with 1/bin/awk, /bin/cat, /bin/curl, /bin/head, /bin/kubectl
data_stream.dataset17eq 17gcp.audit, kubernetes.audit_logs, azure.platformlogs
container.id16wildcard 12, starts_with 4*, ?
ServiceName8eq 8k8s.io
kubernetes.audit.stage6in 4, eq 2ResponseComplete, ResponseStarted, responsecomplete
event.category5eq 5, in 1file, process, network
kubernetes.audit.objectRef.resource5eq 3, in 3clusterrolebindings, clusterroles, configmaps, nodes, secrets
process.interactive5eq 5true
Esql.document_count4lt 450, 75
Image4starts_with 2, wildcard 2, is_not_null 1/busybox/, /dev/shm/, ./kubectl, /*/.*, /dev/shm/*
TargetFilename4in 2, starts_with 2/run/secrets/kubernetes.io/serviceaccount/namespace, /var/lib/kubelet/pki/, /var/lib/kubelet/pods/, /var/run/secrets/kubernetes.io/serviceaccount/ca.crt, /var/run/secrets/kubernetes.io/serviceaccount/namespace

Top indicator values (709 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
301078
event.typeeq
change
494
EventTypeeq
exec
19576
EventTypeeq
open
452
container.idwildcard
*
1226
EventTypein
exec
10201
EventTypein
executed
998
EventTypein
exec_event
8149
EventTypein
ProcessRollup2
7117
EventTypein
process_started
783
EventTypein
start
5163
process_namein
bash
9202
process_namein
busybox
968
process_namein
csh
9159
process_namein
dash
9170
process_namein
fish
9163
process_namein
ksh
9163
process_namein
sh
9197
process_namein
tcsh
9156
process_namein
zsh
9196
process_namein
curl
589
ServiceNameeq
k8s.io
837
data_stream.dataseteq
gcp.audit
869
data_stream.dataseteq
kubernetes.audit_logs
736
process.interactiveeq
true
519
process_nameeq
kubectl
59
container.idstarts_with
?
422
kubernetes.audit.stagein
ResponseComplete
45
kubernetes.audit.stagein
ResponseStarted
45
process.argsin
get
44

Exclusions (206 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
aws::userAgentends_with
kubernetes/$Format
4
client.user.emailstarts_with
system:node:
3
client.user.emailstarts_with
system:gke-
2
client.user.emailstarts_with
system:serviceaccount:kube-system:
2
CurrentDirectoryeq
/aws
2
ParentCommandLineeq
runc init
2
ParentImagein
/sbin/init
2
ParentImagein
/usr/bin/containerd-shim-runc-v2
2
ParentImagein
/usr/bin/dockerd
2
ParentImagein
/usr/bin/runc
2
client.user.emaileq
system:kube-scheduler
2
parent_process_nameeq
busybox
2
process_nameeq
kubectl
2
process_namein
bash
2
process_namein
csh
2

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 1 rule

Elastic 50 rules

Panther 3 rules