~/talk

Tutorial: Hands-on Hacking Kubernetes and Ways to Prevent It

Talkat CloudNativeSecurityCon North America 2023 · 2023-02-01..02-02· [security]
slides:none on file

Walks through exploiting a contrived Python remote code execution to steal a mounted service account token, use curl and kubectl (via kind 1.24 on Docker Desktop) to query the API, run nmap and socat to pivot, port‑forward into other pods, grab a kubelet token and deploy an etcd client to escalate to cluster admin — the full chain works end‑to‑end in the demo. Shows PSPs blocking some steps but notes PSP deprecation and recommends pod security policy replacements, network policies, disabling automountServiceAccountToken, and readOnlyRootFilesystem.

AI-written summary · about

  1. 0:00Kubernetes security risks
  2. 1:48Vulnerable demo setup
  3. 9:58Exploiting app vulnerability
  4. 15:17Accessing Kubernetes API
  5. 24:20Privilege escalation in cluster
  6. 34:15Attack expansion in cluster
  7. 45:09Owning control plane
  8. 53:01Security hardening mitigation
  9. 1:06:04Q&A
~/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.