kubernetes

Pivot into EKS from a Leaked Key

Walk a single leaked, over-scoped IAM key across the AWS and Kubernetes trust boundary to the production customer database

Beginner
Lab duration 45-90 minutes

Overview

ShopNest moved its order pipeline onto Amazon EKS, and a developer committed an AWS access key to a public mirror of the shopnest-infra repository. You recovered that key during reconnaissance. It belongs to a continuous-integration deployer named dev-ci, and on the surface it looks nearly useless, because almost every AWS call it makes is denied.

You determine what that single over-scoped identity can still reach, cross from AWS IAM into Kubernetes through an EKS Access Entry, escalate inside the cluster by running a controller-created pod as a privileged automation account, cross back into AWS through that account's federated role, and prove material impact by reaching ShopNest's production customer data. The lab also suits a CTF approach.

Start Lab