CSCTF 2026 · Network · 120 pts
Severed Link.
The operator's own key-rotation message leaks the new signing key — the live gateway just wants a heartbeat before it'll trust anything signed with it.
| Event | CSCTF 2026, Operation Dawn (online jeopardy) |
|---|---|
| Category | Network |
| Points | 120 |
| Status | Solved during the event |
| Target | tlog + live TCP gateway |
TL;DR. A telemetry log captures an operator pushing a fresh signing key over MAVLink2's own in-band `SETUP_SIGNING` message. That key verifies every post-rotation signed frame in the log, and sending a signed `HEARTBEAT` before a signed `COMMAND_INT` authenticates to the still-live uplink gateway, which grants a reposition command and hands back an audit receipt.
Challenge
Authenticate to a live SB-7 uplink gateway as the fleet operator, using only a telemetry log of the operator's session.
Solution
Parsing the tlog by hand (an 8-byte big-endian timestamp prefix, then the MAVLink2 frame) finds the in-band SETUP_SIGNING message (msgid 256) the operator pushed to rotate the fleet's signing key — its 32-byte secret_key field is the new key in plaintext, since this message is how a trusted operator installs the key in the first place, not something meant to be secret in transit.
That recovered key validates the MAVLink2 signature construction (sha256(key || header || payload || checksum || link_id || timestamp)[:6]) against exactly the 50 post-rotation frames in the log, and against none of the pre-rotation ones — strong confirmation it's the right, current key.
Connecting to the live gateway, its banner (reassembled STATUSTEXT across 4 frames) states the authentication requirement: a signed COMMAND_INT (DO_REPOSITION) from sysid 255 under the fleet link key, with a current signing timestamp. Sending that command alone is rejected ("send a HEARTBEAT first") — the gateway expects a signed HEARTBEAT from the same sysid immediately before the real command. Sending both, each freshly signed with the recovered key and a current timestamp, in that order, authenticates and returns an audit receipt containing the flag.
Flag
CSCTF{outtKWeSPfH4CUR1hZMJdPOa}What I took from it
- A protocol's own in-band key-setup messages are, by design, where a legitimate operator's key is visible in plaintext — capturing that exchange is often the direct route to a signing key, no cryptanalysis required.