Automation · API / MCP 中文

Technique note · T1543.005

Container Service

Adversaries may create or modify container or container cluster management tools that run as daemons, agents, or services on individual hosts. These include software for creating and managing individual containers, such as Docker and Podman, as well as container cluster node-level agents such as kubelet. By modifying these services, an adversary may be able to achieve persistence or escalate their privileges on a host. For example, by using the `docker run` or `podman run` command with the `restart=always` directive, a container can be configured to persistently restart on the host. A user with access to the (rootful) docker command may also be able to escalate their privileges on the host. In Kubernetes environments, DaemonSets allow an adversary to persistently Deploy Containers on all nodes, including ones added later to the cluster. Pods can also be deployed to specific nodes using the `nodeSelector` or `nodeName` fields in the pod spec. Note that containers can also be configured to run as Systemd Services.

ATT&CK T1543.005 platforms — Status Active Version 20.1

Adversaries may create or modify container or container cluster management tools that run as daemons, agents, or services on individual hosts. These include software for creating and managing individual containers, such as Docker and Podman, as well as container cluster node-level agents such as kubelet. By modifying these services, an adversary may be able to achieve persistence or escalate their privileges on a host. For example, by using the `docker run` or `podman run` command with the `restart=always` directive, a container can be configured to persistently restart on the host.1 A user with access to the (rootful) docker command may also be able to escalate their privileges on the host.2 In Kubernetes environments, DaemonSets allow an adversary to persistently Deploy Containers on all nodes, including ones added later to the cluster.34 Pods can also be deployed to specific nodes using the `nodeSelector` or `nodeName` fields in the pod spec.56 Note that containers can also be configured to run as Systemd Services.78

  1. AquaSec TeamTNT 2023
  2. GTFOBins Docker
  3. Aquasec Kubernetes Attack 2023
  4. Kubernetes DaemonSet
  5. Kubernetes Assigning Pods to Nodes
  6. AppSecco Kubernetes Namespace Breakout 2020
  7. Podman Systemd
  8. Docker Systemd

Groups using this technique

GroupNameCountry
grp_g1045Salt Typhoon—

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.