Blue Team & Forensics
Kestrel's API was breached overnight. Work the evidence with the command line: an SSH brute force in auth.log, an SQL injection in the web log, the persistence left behind, what changed on disk, one timeline across five clocks — and detection rules that catch the next attacker without paging anyone over a customer.
- 6 labs
- about 3.3 hours
- Beginner to Intermediate to Advanced
Labs in this course
- 01Read an Auth Log: Find the Brute ForceBeginner · 32 min
- 02Web Log Analysis: The SQL Injection and What It TookIntermediate · 36 min
- 03Persistence Hunting: Keys, Cron and ServicesIntermediate · 34 min
- 04File Integrity: What Changed on the BoxIntermediate · 30 min
- 05Build the Timeline Across Five ClocksIntermediate · 30 min
- 06Write the Detection: Catch the Attack, Not the CustomersAdvanced · 38 min
What you will be able to do
- Read sshd's lines in auth.log: failed, invalid user, accepted, closed
- Rank source addresses by failed logins with grep -o, sort and uniq -c
- Read nginx's combined log format by field with awk
- Spot an injection from status codes and encoded quotes
- Read authorized_keys and tell a legitimate key from an added one
- Edit another account's crontab without losing its real jobs
- Verify files against a baseline with sha256sum -c
- Find files that are new since the baseline with find, sort and comm
- Rewrite a year-less syslog timestamp as ISO 8601 with awk, without mangling the line
- Convert epoch seconds to a time zone with date -d @… and TZ=
- Write a case-insensitive regular-expression rule for SQL injection over decoded requests
- Avoid false positives on real customer searches
How a lab works
Each lab opens a fresh machine beside the instructions. You work in a real terminal; when you finish a task, the platform checks the machine itself and tells you what is still wrong. The machine is disposable and is removed when the timer ends, but your progress is kept.