Live Container Hacking: Capture The Flag
summary
Live demo shows a chain of concrete compromises: an Samba CVE exploit yields a reverse shell in a container, a misconfigured setuid binary and mounted host devices let the attacker read host files and recover part of a Bitcoin private key, Shellshock and a mounted Docker socket allow spawning host containers, a Kubernetes service account token plus kubectl grant cluster API access, and a kernel bug exploited via a test container (dirty COW privilege escalation) lets an attacker reach host root; tools used: nmap, Python exploits, docker client, linux-exploit-suggester, kubectl.
AI-written summary · about
chapters (17)
- 0:00Introduction to speakers
- 1:07Container security concerns
- 3:36Exploiting Samba shares
- 8:56Breaking out of container
- 12:07Privileged container risks
- 16:19Mounting host filesystem
- 20:10Scanning modern web apps
- 23:05Shellshock vulnerability
- 26:18Docker socket misconfiguration
- 29:10PHPMailer exploit
- 32:02Kubernetes service tokens
- 35:58Extracting Bitcoin from cluster
- 37:01Securing Kubernetes clusters
- 41:15Kernel vulnerabilities
- 43:23Monitoring and defense
- 44:23Prevention best practices
- 46:55Q&A and closing
