~/talk

Hijack a Kubernetes Cluster - a Walkthrough

Talkat Cloud Native Rejekts NA 2021 · on Saturday, 2021-10-09· [security, kubernetes]
slides:none on file

A vulnerable ping web app allows command injection (semicolon) to spawn /bin/bash and open a reverse shell to an attacker VM; from the container the mounted service account token and cert are read and curl/kubectl talk to the API, creating a privileged pod with hostPath to /run/containerd so containerd CLI lists node containers and reveals env secrets. Mounting the node disk exposes cloud creds and a stolen Azure managed identity token usable to create cloud resources. Fixes: shift‑left, minimal images, network policies, readOnlyRootFS, Falco, OPA/Gatekeeper/Kyverno.

AI-written summary · about

  1. 0:00Introduction
  2. 0:18Overview
  3. 3:31Ping
  4. 5:01Enrich
  5. 8:55Bash
  6. 10:37Prevention
  7. 12:59API Access
  8. 20:12Privileged Pot
  9. 21:47Install Tools
  10. 22:50Container List
  11. 23:34Policies
  12. 24:50Getting access to another container
  13. 28:13Getting container info
  14. 29:19Accessing other cloud resources
~/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.