NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Privilege Escalation
A comprehensive learning path covering the core methodologies of post-exploitation privilege escalation across both majo
ViewWindows Fundamentals
The Windows Fundamentals learning path provides a comprehensive foundation in Microsoft Windows operating systems, speci
ViewNetwork Services Administration
This comprehensive learning path bridges the gap between foundational networking and enterprise infrastructure security.
ViewPreview · 30 min
How to read a pod specification and a service account role as a blast radius: privileged mode, host mounts, host namespaces, mounted tokens and permissions that go beyond what the workload needs.
By 09:15 you know what happened in the tracking-api pod: a shell at 04:06, a call to the API server at 04:08 and a read of the secret tracking-db-credential at 04:08:44. You do not yet know why that read worked. A web API that serves shipment lookups has no obvious reason to list the secrets of its namespace, and the cluster allowed it anyway. The answer is in two small files that nobody looks at until an alert, the pod specification and the role bound to its service account.
A container is a process with a restricted view of the node. The restrictions come from the pod specification, and several of its settings remove them again. A blast radius is what an attacker can reach from a given foothold. For a compromised container the radius is set by three things you can read from files: how isolated the container is from the node, what the mounted token lets it do against the API, and what network it can reach. This lesson covers the first two and shows how to use them in triage.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in