~/talk

Understanding and Mitigating Privilege Escalation Threats in Kubernetes

Talkat JDD 2024 · 2024-10-22..10-23· [security, kubernetes]
links:none on file
slides:none on file

Demonstrations show full cluster compromise from simple misconfigurations: using kubectl impersonation and a mis-scoped RBAC to list secrets, extracting a JWT HS256 secret from a backend Secret and minting tokens via jwt.io, deploying a privileged pod with hostPID/hostNetwork/hostPath to nsenter the node, find kubeconfigs and kubeadmin creds, and read etcd; then sniffing pod traffic with tcpdump on flannel interface and getting a reverse shell back to an attacker ncat listener. All exploits work live against the demo cluster.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 2:42Kubernetes architecture overview
  3. 7:26Privilege escalation explained
  4. 14:16Threat modeling in Kubernetes
  5. 18:29Demo vulnerable app setup
  6. 23:21Exploiting RBAC misconfigurations
  7. 25:47Escaping to node from pod
  8. 34:59Secrets management failures
  9. 36:23Reverse shell for cluster access
  10. 42:10Sniffing traffic via CNI
  11. 48:07Pod security configuration risks
  12. 51:05Secure cluster configurations
  13. 52:31Final security recommendations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.