The Hacker’s Guide to Insecure Workload Configuration in Kubernetes
summary
Live demos show newly registered web app accounts being hijacked by exploiting misconfigured workloads: creation of a privileged hostPath pod scheduled on the control plane lets an attacker escape to the node, read etcd JWT key, and mint tokens to impersonate users; a reverse shell from a less-privileged creator escapes via hostPID to sniff unencrypted cluster traffic and steal session tokens; mounting host volumes reveals admin kubeconfig for full cluster takeover. Fixes: admission policies, network policies, encrypt secrets, deny needless host access.
AI-written summary · about
chapters (10)
- 0:00Introduction to talk
- 2:37Kubernetes architecture overview
- 7:51Top Kubernetes security risks
- 12:34Demo setup and first attack
- 16:58Escaping to node via pod
- 25:52Reverse shell attack demo
- 33:36Sniffing unencrypted traffic
- 35:46Exposed credentials attack
- 41:18Defense in depth principles
- 42:48Closing and Q&A
