~/talk

How to take ownership of an entire Kubernetes cluster

Talkat Voxxed Days Zürich 2022 · 2022-05-17..05-19· [security, kubernetes]
links:none on file
slides:none on file

A single remote code execution in an internet‑exposed app allows pulling tools (curl, kubectl), creating an SSH pod, mounting the node with a hostPath mount, escaping the container to become root on the node, finding /etc/rancher/k3s/k3s.yaml, using its client certs to talk to the API and obtain cluster-admin rights, and then binding that role back to the original service account. The demo uses apk/curl/kubectl/ssh on a k3s cluster and the attack chain succeeds end‑to‑end.

AI-written summary · about

  1. 0:00Start
  2. 0:46Kubernetes Hacking
  3. 3:22Small Kubernetes Cluster
  4. 6:36Image Scanning
  5. 9:50Package Managers
  6. 11:10Cubecontrol
  7. 17:16Connect to a Container
  8. 24:01Use a Proxy Container Registry
  9. 24:56Process Listing
  10. 25:46Searching Files
  11. 28:32Node Affinity
  12. 34:36Static Manifests
~/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.