DL·SYS
Contact ↗

CSCTF 2026 · Forensics · 270 pts

Briefing for One.

The archive password is machine-specific — and the machine identifier it needs is sitting in the registry hive right next to the shortcut that asks for it.

LNK analysisRegistry parsingHMAC
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryForensics
Points270
StatusSolved during the event
Targetshortcut + registry hive + pcap, offline

TL;DR. A malicious shortcut's embedded PowerShell derives a 7z archive password as HMAC-SHA256 of a fixed key and the machine's `MachineGuid`, read directly from the provided registry hive, and a specific HTTP-delivered archive in the pcap matches that derived password's hash exactly.

Challenge

Recover a briefing token locked inside a password-protected 7z archive, delivered via a captured HTTP session.

Solution

The shortcut's command line, read with strings, contains an embedded PowerShell script. It derives the 7z password as HMAC-SHA256(base64 key embedded in the script, "csctf26/briefing-for-one/v1" || 0x00 || lowercase MachineGuid).

MachineGuid is read directly from the provided registry hive with regipy: 080c7be1-f41c-446c-b961-93bd7bc4ea31. That gives a derived password whose hash matches the field guide's sample value exactly, confirming the construction.

tshark --export-objects http pulls several candidate route-update.7z files out of the pcap; most are 914-byte WebDAV PROPFIND noise, but one GET response body's hash matches the script's expected archive hash exactly. Extracting it with the derived password recovers a DLL and a route-table.json, both matching hashes stated in the script — and the token field in route-table.json is the flag.

Flag

FlagCSCTF{eab85b3bb8d309ec8f52a3f6271c55ff}

What I took from it