EZ LearnEZ Learn
Courses
EZ Board
Dashboard
Skill LabsEZ GamesSkill LabsBreach at flaws.cloud: CloudTrail Investigation Study this unit

Breach at flaws.cloud: CloudTrail Investigation

Skill LabExpert About 60 min13 tasks

Breach at flaws.cloud: CloudTrail Investigation

Real CloudTrail logs from a real attacked AWS account. Trace a leaked key, a stolen EC2 role and an IAM recon session, event by event.

0 of 13 solved0 / 1300 pts
Naman
NamanAssistant Professor, Bit's dad

Briefing

flaws.cloud was a real AWS account built as a training target, and thousands of people attacked it between 2017 and 2020. Its creator, Scott Piper, published the account's CloudTrail logs (anonymised) for research.

You have three hours of those real logs: 30 July 2019, 20:30 to 23:30 UTC, 3,520 records exactly as exported.

An alert fired: the credentials of the EC2 instance role "flaws" were used from outside AWS. You are the responder. Work out who did what, with which keys, and what they were after.

Topics you practise

CloudTrail Forensics & Evidence CollectionSSRF to IMDS: The Attack Chain & IMDSv2 DefenceIAM, Access Control Models & Common MistakesCloud Threat Intelligence & Indicators of CompromiseInsider Threats & Misconfigured Cloud StorageServerless Security & Function Isolation ModelsThreat Modelling with STRIDE & MITRE ATT&CK for Cloud

Evidence

cloudtrail-flaws-2019-07-30.json.gz

CloudTrail records in the standard {"Records": [...]} format, gzip compressed. (115 KB (2.9 MB unzipped))

Source: Summit Route: public dataset of CloudTrail logs from flaws.cloud. Released publicly for research by Scott Piper (anonymised IPs and keys).

Download

Suggested tools: jq, Python (json or pandas), Excel or LibreOffice (Power Query), Amazon Athena (optional), the viewer on this page.

1
CloudTrail Forensics & Evidence Collection

How many unique events does the file contain once duplicate records are removed by eventID?

Format: a number.

2
SSRF to IMDS: The Attack Chain & IMDSv2 Defence

Which source IP address used the credentials of the "flaws" role?

Format: an IPv4 address.

3
SSRF to IMDS: The Attack Chain & IMDSv2 Defence

Which EC2 instance did those stolen credentials come from? Enter its instance ID.

Format: i-... (as it appears in the log).

4
IAM, Access Control Models & Common Mistakes

The stolen access key ID begins with a four-letter prefix that marks it as temporary STS credentials. What is the prefix?

Format: four letters.

5
Cloud Threat Intelligence & Indicators of Compromise

Before touching the role, the same IP used a long-term key. Which IAM user did that key belong to?

Format: the IAM user name.

6
Cloud Threat Intelligence & Indicators of Compromise

Enter that user's access key ID. It is the indicator you would search for across every account and log source.

Format: the 20-character key ID.

7
Insider Threats & Misconfigured Cloud Storage

With that key, one API call was made far more often than any other. How many unique times was it called?

Format: a number (unique events).

8
Insider Threats & Misconfigured Cloud Storage

Across how many AWS regions did those calls run?

Format: a number.

9
Cloud Threat Intelligence & Indicators of Compromise

The user agent shows where the attacker ran the AWS CLI. Which operating system was it?

Format: the OS name.

10
IAM, Access Control Models & Common Mistakes

Using the Level6 user, the attacker read one customer-managed policy document. Which policy, and which version?

Format: policyname:version.

11
Serverless Security & Function Isolation Models

The policy pointed to API Gateway. Which REST API ID did the attacker query?

Format: the API ID.

12
Cloud Threat Intelligence & Indicators of Compromise

A second actor attacked Level6 in the same window with an automated Python tool. Which penetration-testing Linux distribution was it running?

Format: the distribution name.

13
Threat Modelling with STRIDE & MITRE ATT&CK for Cloud

Which MITRE ATT&CK sub-technique covers stealing credentials from the cloud instance metadata API?

Format: T####.###.

Each task is worth 100 points: minus 15 per wrong answer and 25 for a hint (never below 40). Finish when you are done; 13 unsolved tasks score 0. Your progress is saved on this device.

EZ LearnEZ Learn

Structured learning across Reverse Engineering, Cloud Security, and Research Methodology, plus games and practice tools in EZ Arena. Free, and open to anyone.

EZ Learn

  • Courses
  • EZ Articles
  • EZ Watch
  • EZ Talks
  • EZ Bytes
  • Cyber Hygiene

EZ Library

  • All Resources
  • eBooks & PDFs
  • Question Banks
  • MCQ Banks
  • Cheatsheets

EZ Exams

  • All Exams
  • REMA
  • Cloud Security
  • Research Methodology
  • Python for Cyber Security
  • Cyber Law & IPR
  • Community
  • EZ Board

EZ Arena

  • EZ Games
  • Live Quiz
  • ML Challenges
  • दिशा - Hygiene
  • सजग - Awareness
  • अभ्यास - Practice

Platform

  • About
  • Contact
  • Terms of Use
  • Disclaimer
  • Verify Certificate
  • Events

© 2026 EZ Learn by EpochZero. Educational content for learning purposes.

Platform Lead: Ashish Revar