Lion Cipher Lab

Assess what one pod can see and reach in YOUR OWN kind cluster, then close it

Why it matters

When a vulnerability lets an attacker run code in one container, the question that decides how bad it is: what can that one container do next? In Kubernetes the answer is in four places: the files mounted into it, the environment it is given, the permissions its service account holds, and the network paths open from it. Assessing those from the inside is the fastest way to turn a vague worry into a concrete statement such as: this pod can read every secret in the cluster, and that is fixable in two lines.

What you'll learn

Steps in this lab

  1. The question, and the rule
  2. Start a probe pod in the shop namespace
  3. Dimension 1: the files Kubernetes mounted into the pod
  4. Dimension 2: the environment Kubernetes injects
  5. Dimension 3: reach the API server and ask what you are allowed
  6. Dimension 4: what the network lets this pod reach
  7. Write the blast radius statement
  8. Close it: no token unless the pod needs one
  9. The defender's view

Open the full interactive lab →

Keep learning