All hands-on labs

Premium Challenge labadvancedred teamAWS

IAM Challenge – Escape Room

In this Challenge Lab, find IAM PrivEsc vulnerabilities that enable you to access proprietary and secret military fighter jet schematics stored in Amazon S3 so that you can exfiltrate them to your local device. The flag to capture is the red number in the top right corner on the first page of the document.

  • No step-by-step guide
  • Capture the flag
  • Terminal in the browser

Scenario

Difficulty: Advanced

Objective: ⛳️ You've successfully completed this challenge once you've downloaded a PDF document containing F-15 Eagle development information.

Description: You work for a defense contractor organization named GuardianSys Defense that helps develop parts for fighter jets. The organization's IT runs both on-prem and in the AWS cloud as part of an effort to modernize and increase innovation. Due to the nature of the projects your organization works on, individuals are supposed to have access to documents only on an as-needed basis.

You (Kevin) are an application developer with access to basic S3 documents needed by the application you help support. However, due to upper management pressure, the IT team was not able to follow best AWS security practices and is hosting all of its documents in the same account using Amazon S3.

Facing mounting personal financial pressure, and after having been passed up for a promotion that you were clearly the better fit for, you've decided to steal proprietary and secret documents in order to sell them to the highest bidder on the black market.

To do that, you have to find a way to access those secret documents that your IAM user doesn't currently have access to.

Given the provided credentials, look for IAM Privilege Escalation paths that will give you permissions to a bucket on Amazon S3 hosting sensitive documents.

How this challenge works

  • No step-by-step guide. You get the goal and the access. The path is yours to find.
  • 3 hints if you get stuck. Open them only when you need a nudge.
  • 1 flag to capture. Submit it in the lab to finish.

What you will practice

  • Enumerate your IAM user, its group, and any permission boundary to map your access
  • Spot an IAM privilege escalation path in the permissions you find
  • Chain two or more IAM techniques to gain access you did not start with
  • Reach the restricted S3 bucket and download the sensitive schematics document
  • Capture the flag from the first page of the document
Challenge lab

IAM Challenge – Escape Room

Included in Cybr Premium.