Skip to content
Adam Omar Saleh

Chronos Security logo, as used by CSCTF 2026CSCTF 2026Network

Silent Orbit

The recording is raw concatenated CCSDS Space Packets carrying CFDP PDUs. A tampered relay suppressed the NAK (retransmission request) for transaction 0x01/0x07/0x02.

Competition
Chronos Security logo, as used by CSCTF 2026CSCTF 2026
Category
NetworkEasy
Source status
Source-documented · not platform-verified
Document
PDF edition3 min read

Brief

The challenge

Category
Network
Difficulty
Easy
Points
122
File
silent-orbit-cfdp.zip (civil_downlink.bin, mission-profile.txt, README.txt, SHA256SUMS)

A state-sponsored actor infiltrated a national satellite ground station and suppressed the telemetry of an unauthorized orbital adjustment. [...]

Challenge page
Challenge page

Note: the platform text mentions telem_parser.exe / ground_station_rx.bin and the format CSCTF{APID_Timestamp_CRC16}, but the downloaded archive is the CFDP variant. Its README.txt asks for the reconstructed NAK PDU as CSCTF{UPPERCASE_HEX}, so this writeup follows the archive.

TL;DR

The recording is raw concatenated CCSDS Space Packets carrying CFDP PDUs. A tampered relay suppressed the NAK (retransmission request) for transaction 0x01/0x07/0x02. Replaying the relay state machine from mission-profile.txt gives the received file coverage. Its complement is 12 one-byte gaps, and serializing those gaps as a CFDP NAK PDU produces the flag.

Text
Space Packets → APID 0x321 filter → target CFDP PDUs → Metadata / File Data / EOF → coverage → missing ranges → NAK PDU hex

01

Verify the files

civil_downlink.bin (3432 bytes) matches its entry in SHA256SUMS:

Text
8900ee112765ca12804ad2268cfe2f2f58c2099928ca28730e8e0cf01b7821ed  civil_downlink.bin

The profile defines the rules:

  • Outer packets: PVN 0, telemetry, APID 0x321, no secondary header, sequence flags 11. Parse them sequentially and never resynchronize.

  • Target: CFDP v1, toward receiver, acknowledged mode, no CRC, small file, 1-octet IDs, tuple source/sequence/destination = 0x01/0x07/0x02.

  • State: WAIT_METADATA → first valid Metadata (checksum type 15, closure 0, no TLVs) → COLLECT → first valid EOF (No Error, null checksum, size = Metadata size) snapshots coverage.

02

Parse the Space Packets

Each packet has a 6-byte primary header. The low 11 bits of word 1 are the APID, and octets 4–5 hold data_length - 1. Every packet's data field is one CFDP PDU. Its first octet gives version, type, direction, mode, CRC, and large-file flags. Octets 1–2 give the data-field length, and octet 3 packs the segmentation flag, entity-ID width, segment-metadata flag, and sequence-number width. The 1-byte source, sequence, and destination IDs come right after that.

The capture contains 188 packets, and two of them are distractors:

  • @0x0000: APID 0x012, which is skipped by the outer filter.

  • @0x0015: APID 0x321 but transaction 0x03/0x09/0x02, so it isn't the target.

03

Replay the relay state machine

  • @0x0046: Metadata 07 0f 000000c0 ..., with checksum type 15 and closure 0. File size = 192 (0xC0), and the state moves to COLLECT.

  • 184 File Data PDUs follow. Each one carries a 4-byte offset and 1 byte of payload, with a few duplicates and overlapping multi-byte extents at the end ([191,192) twice, then [0,2), [1,4), [0,4)). None of them run past 192.

  • @0x0d51: EOF 04 00 00000000 000000c0, which is accepted and snapshots coverage.

The packet sequence counts jump in steps of 19. They are only capture metadata and say nothing about file coverage.

04

Coverage and missing ranges

After merging, the received coverage is:

Text
[0,5) [6,19) [20,35) [36,51) [52,68) [69,83) [84,101) [102,119) [120,138) [139,154) [155,171) [172,187) [188,192)

The complement over [0,192) gives 12 missing bytes:

Text
[5,6) [19,20) [35,36) [51,52) [68,69) [83,84) [101,102) [119,120) [138,139) [154,155) [171,172) [187,188)

05

Build the NAK PDU

FieldBytes
Octet 0: v1, directive, toward sender, ack, no CRC, small file28
Data-field length = 1 + 8 + 12×8 = 1050069
Octet 3: 1-byte entity IDs and sequence number00
Source / sequence / destination01 07 02
NAK directive08
Scope [0, 192)00000000 000000C0
12 request pairs [start, end)00000005 00000006 ... 000000BB 000000BC

Solve script

solve.py uses only the standard library. It replays the packets with a log line for each one and then prints the flag:

Text
coverage: [(0, 5), (6, 19), ..., (188, 192)]missing: [(5, 6), (19, 20), ..., (187, 188)]CSCTF{2800690001070208...000000BB000000BC}

Flag

Flag

CSCTF{280069000107020800000000000000C0000000050000000600000013000000140000002300000024000000330000003400000044000000450000005300000054000000650000006600000077000000780000008A0000008B0000009A0000009B000000AB000000AC000000BB000000BC}

Source-documented · not platform-verified

Takeaways

  • Coverage comes only from File Data offset and length. CCSDS sequence counts are noise.

  • In acknowledged mode, a transaction is identified by the full source/sequence/destination tuple.

  • Merge overlapping and adjacent extents before taking the complement, and keep every interval half-open ([start,end)) to avoid off-by-one errors in the NAK.

PDF edition

Writeup PDF

Formatted edition of this walkthrough, built from my source notes · 5 pages.