Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started
Cyber Forensics

Booking Portal Breach

Web application and database lab · Hard · Chapter 14 · 9 challenges · 2200 points

The case

Saltmarsh Ferries noticed refunds for cancelled December sailings going to one unfamiliar bank account. The booking site runs PHP and MySQL on a single server, and its operations team preserved the web logs, the uploads folder and the MySQL binary log.

Work out how the attacker got in, what they ran on the server, and exactly which database changes they made, so the company can reverse them and notify the right customers.

How to play

  1. Start with cat CASE-NOTES.txt. Type challenges for the full list, or read the board.
  2. Each challenge asks for a value you can prove from the evidence. Enter submit ID ANSWER.
  3. The evidence is mounted read-only. Use ls, cat, grep, pipes and the case tools listed by help.
  4. Stuck? hint ID gives a nudge at no cost.

The terminal works like bash: Tab completes commands and paths (press it twice to list matches), ↑ and ↓ recall history, Ctrl+R searches it, Ctrl+C cancels the line and Ctrl+L clears the screen. Press Esc then Tab to move focus out of the terminal.

Challenges can be done in any order. Your progress is saved in this browser, and reset --confirm starts over.

0/9 solved · 0/2200 points

Time 00:00:00

Terminal: analyst@localhost: ~

Challenge board

Web requests 0/4

Chapter 14 · Request tracing and web attacks

  • WEB-01 Easy · 100 Open

    An automated visitor

    One client identified itself as an SQL injection tool. Submit its IP address.

    Answer: An IPv4 address

  • WEB-02 Easy · 100 Open

    Name the tool

    Submit the name of the tool in that user agent.

    Answer: A tool name

  • WEB-03 Medium · 200 Open

    The injectable parameter

    Which query-string parameter did the injection target?

    Answer: A parameter name

  • WEB-04 Medium · 200 Open

    What the UNION read

    Decode the last injection request. Which table did it read usernames and password hashes from?

    Answer: A table name

Web shell 0/3

Chapter 14 · Web attack evidence

  • SHELL-01 Medium · 200 Open

    A picture that runs

    Submit the file name of the web shell uploaded through the admin media page.

    Answer: A file name

  • SHELL-02 Hard · 300 Open

    Commands through the shell

    Submit the first command the attacker ran through the web shell.

    Answer: A shell command

  • SHELL-03 Hard · 300 Open

    Taken away

    The attacker packed a folder into an archive in uploads and downloaded it. Which folder did the archive contain?

    Answer: An absolute path

Database changes 0/2

Chapter 14 · Database forensics

  • DB-01 Hard · 300 Open

    Refunds redirected

    How many bookings had their refund IBAN changed to the attacker’s account?

    Answer: A number

  • DB-02 Extreme · 500 Open

    Shell to database

    How many seconds passed between the first web-shell command and the first refund-account UPDATE? Use UTC for both.

    Answer: A number of seconds