DL·SYS
Contact ↗

CSCTF 2026 · Forensics · 270 pts

Dawn Array.

A full forensic pipeline: RAID geometry from superblocks, a ledger recovered through its own write-ahead log, and 128 TCP streams checked against five independent rules.

mdadm RAID5SQLite WALTCP stream analysis
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryForensics
Points270
StatusSolved during the event
TargetRAID member images, offline

TL;DR. The array's mdadm superblocks fully specify its geometry (role mapping, layout, chunk size, data offset); rebuilding with that geometry yields a clean ext4 volume holding a ledger that needs its own write-ahead log replayed to read current state, plus a syslog and a full packet capture. Checking 128 reassembled TCP connections against five independent procedural rules isolates the 16 that qualify, and the flag is a hash over that exact qualifying set.

Challenge

Recover 16 qualifying operational cycles from a damaged RAID5 array and hash them into the flag, following a stated five-step procedure.

Solution

The mdadm superblocks on the surviving members give the exact array geometry needed to rebuild it: version 1.2, 4 members, left-symmetric layout, 32K chunks, a 2048-sector data offset, and explicit role assignments (acq-1=0, acq-3=2, acq-2=3, with role 1 — one physical member — missing). Rebuilding with the provided raid5_extract.py and that geometry produces an ext4 volume that passes e2fsck -fn cleanly.

The volume's ledger database needs its write-ahead log applied to reflect current state — all 134 WAL frames validate, giving 128 ledger rows. A syslog (parsed by its RFC 5424 structured-data fields) and a full packet capture (128 TCP connections, each a clean POST/201 or GET/200 exchange with no retransmits, reassembled by hand) round out the evidence.

The stated procedure, DP-7, checks five conditions (Q1–Q5) per cycle: a correct controller nonce, a matching revision, the right readback register, a matching syslog readback, and the matching ledger row. Running all five checks across every cycle finds exactly 16 that pass all of them. The flag is SHA-256 of a fixed header string followed by those 16 qualifying sequence numbers, one per line.

Flag

FlagCSCTF{dawn_12d6b2bf2703a884e970e2c4d0070c894c8cf53be91d44feabeb44e18c02eefb}

What I took from it