From a thumbnail service to the order exports
A pod that fetches image URLs was used to read the node’s cloud credentials. Follow it from kubectl logs into CloudTrail and measure what the stolen role reached from outside.
- Terminal mission
- Advanced
- 5 questions
- 0 of 5 solved
Your goal
Your goalTrace stolen cloud credentials from a Kubernetes pod’s log to the files that were downloaded.
GuardDuty raised an alert: credentials for the EKS node role were used from an IP outside AWS. The shop namespace runs a thumbnailer that downloads any image URL a user submits.
Pods on a node can often reach the instance metadata service at 169.254.169.254, which hands out the node role’s temporary credentials. You have read-only kubectl access and a CloudTrail export.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- URL
- web address
- EKS
- Amazon Elastic Kubernetes Service
- IP
- Internet Protocol address, the number that identifies a machine on a network
- AWS
- Amazon Web Services
- IAM
- identity and access management, who may do what in a cloud account
- SSRF
- server-side request forgery, making a server fetch a web address for you
ir-ws · Capstone investigations
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Capstone investigations
The whole walkthrough
Every step in order: 293 words, about 2 min. It gives away every answer, so try the steps first.