Lion Cipher Lab
Assess what one pod can see and reach in YOUR OWN kind cluster, then close it
- Cloud Security
- Intermediate
- ~60 min
- Free · no account required
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
- running a probe pod inside a namespace
- finding the mounted service account token and what it names
- reading the environment Kubernetes injects
- reaching the API server from inside the cluster by DNS name
- separating public information from authenticated access
- checking permissions with the access review rather than reading data
- turning off token automounting
- writing a blast radius statement for one pod
Steps in this lab
- The question, and the rule
- Start a probe pod in the shop namespace
- Dimension 1: the files Kubernetes mounted into the pod
- Dimension 2: the environment Kubernetes injects
- Dimension 3: reach the API server and ask what you are allowed
- Dimension 4: what the network lets this pod reach
- Write the blast radius statement
- Close it: no token unless the pod needs one
- The defender's view
Open the full interactive lab →