HACKR.GG
Network & Systems

Container Escapes

Containers are not virtual machines. The kernel is shared, and one misconfiguration is all it takes to go from inside a container to owning the host. Learn how attackers break out.

Intermediate50 min6 lessons1 hands-on
Start free →I have an account
First lesson free. The full module is part of Pro.

You'll be able to

  • ✓Identify whether you are inside a Docker container
  • ✓Escape a container via a mounted docker.sock
  • ✓Exploit the --privileged flag to mount the host disk and chroot out
  • ✓Find secrets in environment variables and sensitive host mounts

Lessons

  1. 1Docker Security Model
  2. 2Escaping via docker.sock
  3. 3Privileged Container Escape
  4. 4Sensitive Mounts & Environment Variables
  5. 5Mini Lab — Container Escape Triage
  6. 6Your Turn: Break OutHANDS-ON
Start free →