Terminology Index

Glossary

2953 terms

Open concept maps
C
32

Container Escape Patterns

The techniques attackers use to break out of a container's isolation and reach the host or other containers, such as exploiting an over-privileged container, a kernel vulnerability, or a misconfigured mount. Escape turns a contained compromise into a broader one.

Containers share the host kernel, so their isolation can be defeated: a container running as privileged or with risky capabilities, a mounted host path, or a kernel exploit can let an attacker escape onto the node and from there to other workloads. Understanding these patterns drives the defenses, dropping privileges and capabilities, restricting mounts, hardening the host and kernel, and detecting escape attempts at runtime, that keep a container compromise contained.

Introduced in: Cloud-Native Security

Examples

  • Abusing a privileged container to access the host node.
  • Exploiting a kernel vulnerability from inside a container to escape.
  • Using a misconfigured host path mount to reach the underlying host.