Skip to content
Hands-on IT IT Drills
Cover: Kubernetes attack and defense hands-on

Training material

Kubernetes attack and defense hands-on

Exploit misconfigured clusters and shut them down

Break your own cluster before someone else does – and harden it until the attack fails.

  • RBAC
  • Pod Security Admission
  • NetworkPolicy
  • Kyverno
  • Container Escape
  • CVE
Download for free PDF and EPUB · edition 2026 Read as a course

Training plan

  1. Welcome to the Drills
  2. Day 0: Training Ground
  3. Day 1: What a Compromised Pod Sees
  4. Day 2: Finding and Exploiting Overly Broad Roles
  5. Day 3: Impersonation, escalate and bind
  6. Day 4: Privilege Escalation via Other ServiceAccounts
  7. Day 5: Privileged, Capabilities and the Escape onto the Node
  8. Day 6: hostPath – Escape with No "privileged" at All
  9. Day 7: The kubelet API and nodes/proxy
  10. Day 8: Flat Network and Lateral Movement
  11. Day 9: Open Services Without Authentication
  12. Day 10: Plaintext Secrets
  13. Day 11: Arbitrary Images and the Supply Chain
  14. Day 12: Admission Gaps and Policy Bypasses
  15. Day 13: Case Study CVE-2020-8554 – externalIPs MITM
  16. Day 14: Case Study CVE-2021-25741 – subPath Escape
  17. Day 15: Competition – the Bugged Cluster
  18. Appendix A: Cheat Sheet
  19. Appendix B: Final Exam