Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adversaries may create or modify container or container cluster management tools that run as daemons, agents, or services on individual hosts.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 3% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 31% | 0% |
| case-16 | ✗→✓ | ▲ Improved | 6% | 0% |
> Sub-technique of: T1543
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.
Platforms: Containers
> Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Where possible, consider enforcing the use of container services in rootless mode to limit the possibility of privilege escalation or malicious effects on the host running the container.
Limit access to utilities such as docker to only users who have a legitimate need, especially if using docker in rootful mode. In Kubernetes environments, only grant privileges to deploy pods to users that require it.
| Finding | Severity | Impact | | -------------------------------------- | -------- | ----------- | | Container Service technique applicable | High | Persistence |
| CWE ID | Title | | ------- | ----------------------------- | | CWE-276 | Incorrect Default Permissions |
Other measured skills in the registry, with their headline benchmark lift.