HackBlue

Labs / Cloud logs

rclone and the campaign masters

S3 data events are one JSON object per line. Count GetObject calls by IP and user agent, find the bulk download, and name the role and folder it pulled from.

  • Terminal mission
  • Intermediate
  • 3 objectives
  • 0 of 3 solved

What you’re looking at

S3 data events are one JSON object per line. Count GetObject calls by IP and user agent, find the bulk download, and name the role and folder it pulled from.

Your goal: Find the bulk download tool, the role it borrowed, and the folder it copied.

Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.

Words you will meet

S3
Amazon Simple Storage Service, cloud file storage in buckets
JSON
JavaScript Object Notation, a text format of fields and values
IP
Internet Protocol address, the number that identifies a machine on a network
ARN
Amazon Resource Name, the full ID of an AWS object

Start with step 1 in the walkthrough. Every step says what to do and what you should see. The whole thing takes about 2 min to talk through.

Briefing

Unreleased campaign artwork appeared on a forum. Data events for design-assets-prod were enabled last month, so every object read is logged. The export is JSON Lines, one record per line.

rclone is a popular sync tool. It is legitimate, and it is also a common way to copy a lot of data out fast.

analyst@cloud-shell

cloud-shell · Cloud logs

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.

The whole walkthrough

Every step in order, written to be read aloud: 268 words, about 2 min. It gives away every answer, so try the steps first.