Escape to Host T1611

Tactic: Privilege Escalation

Adversaries may break out of a container or virtualized environment to gain access to the underlying host. This can allow an adversary access to other containerized or virtualized resources from the host level or to the host itself. In principle, containerized / virtualized resources should provide a clear separation of application functionality and be isolated from the host environment.

Events covered

4 catalog events are tagged with this technique by at least one rule.

Authoring guide

These 62 rules share fields, values, and exclusions.

Fields filtered most (67 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType36eq 18, in 18exec, ProcessRollup2, exec_event, io.k8s.core.v1.pods.create, executed
event.type26eq 26start, change, creation
process_basename24eq 21, in 7, starts_with 3docker, bash, busybox, chroot, ctr
process.args19eq 13, in 11, starts_with 5, wildcard 3, contains 2--privileged, --mount, -t, nsenter, *containerd.sock*
data_stream.dataset15eq 15gcp.audit, kubernetes.audit_logs
kubernetes.audit.objectRef.resource8eq 8pods, nodes
container.id7wildcard 4, starts_with 3*, ?*
kubernetes.audit.annotations.authorization_k8s_io/decision7eq 7allow
kubernetes.audit.verb7in 5, eq 2create, patch, update
event.outcome6eq 6success
username6contains 6serviceaccount
event.category5eq 5process, network
parent_process_basename5in 4, eq 1java, zz-proxmox-boot, bash, containerd-shim-runc-v2, csh
process.entry_leader.entry_meta.type5eq 5container
CommandLine4in 2, contains 1, starts_with 1, wildcard 1* --volume *, * -v *, * /:/*, * nc *, * nc.traditional *

Top indicator values (368 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.typeeq
start
201036
EventTypeeq
exec
12547
EventTypein
exec
8180
EventTypein
ProcessRollup2
6119
EventTypein
executed
685
EventTypein
start
6157
EventTypein
exec_event
5135
EventTypein
exec
428
EventTypein
io.k8s.core.v1.pods.create
45
EventTypein
io.k8s.core.v1.pods.patch
45
EventTypein
io.k8s.core.v1.pods.update
45
EventTypein
process_started
477
data_stream.dataseteq
gcp.audit
860
data_stream.dataseteq
kubernetes.audit_logs
724
kubernetes.audit.annotations.authorization_k8s_io/decisioneq
allow
721
kubernetes.audit.objectRef.resourceeq
pods
79
event.outcomeeq
success
6306
process.argseq
run
67
usernamecontains
serviceaccount
624
kubernetes.audit.verbin
patch
513
kubernetes.audit.verbin
update
512
kubernetes.audit.verbin
create
410
container.idwildcard
*
426
event.categoryeq
process
4105
process.entry_leader.entry_meta.typeeq
container
411
process_basenameeq
mount
49
process_basenamein
bash
4181
process_basenamein
busybox
467
process_basenamein
dash
4150
process_basenamein
fish
4151

Exclusions (285 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
gcp.audit.request.metadata.ownerReferences.kindin
DaemonSet
6
gcp.audit.request.metadata.ownerReferences.kindin
ReplicaSet
6
gcp.audit.request.metadata.ownerReferences.kindin
StatefulSet
6
resourcene
pods
6
responseStatusis_not_null
6
responseStatus.codege
1
6
responseStatus.codege
400
6
responseStatus.codele
16
6
usernamein
aksService
6
usernamein
masterclient
6
usernameis_not_null
6
usernamestarts_with
.iam.gserviceaccount.com
6
usernamestarts_with
azure-
6
usernamestarts_with
eks:
6
usernamestarts_with
gke-
6

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 2 rules

Elastic 45 rules

Splunk 3 rules

Kusto 2 rules

Panther 10 rules