Kestrel's API Was Breached Last Night
Customers are getting spam that uses their names and numbers. The night's logs are on the box. Name the attacker's address, the entry point, the account they got into and the data they took — against the clock.
- Intermediate
- 25 min
- Challenge
- Blue Team
- Forensics
- Kestrel
- Timed
Overview
07:15, 4 November. Harpreet Kaur: customers are getting SMS messages that use their names and phone numbers. The release that went out at 22:47 has been rolled back and Simran Gill copied the night's logs to /srv/evidence (read its README first). This is kestrel-api-1, exactly as it was found.
The incident report needs four facts before anything else. Write each into its own file in ~/answers/:
| File | What |
|---|---|
attacker.txt | the address the attack came from |
entry.txt | the endpoint and parameter that exposed the data, as path?parameter |
account.txt | the account they logged in to over SSH |
data.txt | the table they took, and how many rows (for example orders 120) |
No hints and no tutor: the clock is the feedback.
What done looks like
- Find the attacking address across the web and SSH logs
- Name the entry point that exposed the data
- Name the account that was broken into
- Say what was taken, and how much
Before you start
- Comfortable with grep, awk, sort and uniq on log files
- Knows what a SQL injection and an SSH brute force look like (the Blue Team & Forensics track teaches both)