Hacking challenges › Forensics

Learning route · 6 challenges

⌕ Forensics

Rebuilding what happened from what's left behind: logs, metadata, deleted files, network captures and encrypted zips.

⚠ For educational purposes only. A simulation for strictly educational purposes. Everything happens in your browser against made-up machines: it doesn't connect to any real system. Using these techniques against computers or networks without their owner's written permission is a crime (articles 197 bis and 264 of the Spanish Criminal Code). Learn in order to defend.

The basics before you start

01Logs tell the story

Every service records what happens: who got in, from where, at what time. Filtering with grep, counting with sort | uniq -c and putting the timeline in order is half of forensics.

02Metadata

A photo stores the camera, the date and sometimes GPS coordinates. A document stores the author. exiftool shows them. Before you publish anything, it's worth wiping them.

03What's inside a binary

strings pulls the readable text out of any file; file tells you what it really is even if the extension lies; xxd shows the bytes.

04Network traffic

A capture (.pcap) stores the packets. If the protocol isn't encrypted (HTTP, FTP, Telnet), passwords travel in plain sight. That's why HTTPS exists.

Challenges, from easiest to hardest

▮▯▯▯ Easy10 pts · 12 minThe log never forgetsLast night someone broke into the Parallel's archive server. The access log saw everything. Find out which IP they attacked from and which account fell.You learn Reading an auth.log, filtering with grep, counting attempts with sort | uniq -c and telling a brute-force attack from a legitimate login.Enter →🩸 no first blood yet▮▯▯▯ Easy10 pts · 10 minThe photo talksA KOI agent posted a photo of an erased street to show off. He didn't think about what the photo says about itself.You learn What a photo's EXIF metadata is (camera, date, GPS, author) and how to read it with exiftool.Enter →🩸 no first blood yet▮▮▯▯ Medium20 pts · 12 minThe extension liesThe only thing on a Fog courier's USB stick is a PDF that won't open. Extensions are just part of the name: what matters is what's inside.You learn Identifying a file's real type with file, viewing its bytes with xxd, pulling out text with strings and renaming with mv.Enter →🩸 no first blood yet▮▮▯▯ Medium20 pts · 12 minPadlocked zipThe evidence from an incident is in an encrypted zip, and whoever locked it has gone on holiday. Open it without their password.You learn How an encrypted zip is attacked with a wordlist (fcrackzip) and why a file's password matters as much as an account's.Enter →🩸 no first blood yet▮▮▮▯ Hard35 pts · 20 minAccounts in the clearYou've got a capture of the traffic on KOI's network. Someone in accounts uses a protocol from 1971 to upload files. Read the capture, pull out their credentials and get in.You learn Reading a network capture (.pcap) with tcpdump and tshark, why FTP and HTTP send everything in the clear and how stolen credentials get reused.Enter →🩸 no first blood yet▮▮▮▮ Elite50 pts · 40 minIncident responseThe Parallel's website has been attacked. The attacker uploaded a back door, stole something, sent it out over the network and wiped their tracks. Or so they think. Rebuild the attack and get back what was stolen.You learn Incident response: cross-referencing web logs, a back door (webshell), a network capture and temporary files to rebuild an attack step by step.Enter →🩸 no first blood yet

FAQ

What do you learn on the Hacklab's Forensics route?

Rebuilding what happened from what's left: logs, metadata, deleted files, network captures and encrypted zips. Concepts: logs tell the story, metadata, what's inside a binary, network traffic.

How many challenges are on the Forensics route?

6 challenges ordered from easy to elite. Complete them all to earn the route badge.

More questions about Cyberpunks España →