Skip to content
Adam Omar Saleh

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

Signal Reconciliation

The zip contains a GNSS position series, a velocity series and an SOP describing exactly how to compare them.

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

Brief

The challenge

Category
Forensics
Difficulty
Easy
Points
120
File
signal-reconciliation.zip (SHA-256 ea09de45…f951633)

Reconcile the receiver's local-position export with the independently integrated local-navigation series and produce the complete response-cell record. Flag format: CSCTF{BASE32_192_BIT_DIGEST}

TL;DR

The zip contains a GNSS position series, a velocity series and an SOP describing exactly how to compare them. You integrate the velocities into an inertial (INS) track, subtract it from the GNSS track, list every window where the residual looks like a spoofing ramp, build the 603-line canonical report, and Base32-encode the first 24 bytes of its SHA-256.

Text
velocities → trapezoid integration → residual = GNSS − INS → QSET + decision → report → SHA-256[:24] → Base32

01

Contents

FilePurpose
flight.ndjson601 samples at 10 Hz: ve_mmps, vn_mmps (velocity) and gps_e_mm, gps_n_mm (GNSS position)
reconciliation-sop.txtThe full algorithm, the report format and a known-answer test (KAT)
mission-note.txtStory only
manifest.txtSHA-256 for each file (all match)

02

Input validation

The SOP specifies a strict grammar, so the solver checks it before doing anything else: exactly 601 LF-terminated lines, the exact key order, canonical integers, i incrementing by one and t_ms = 100*i. Every line passes.

03

INS reconstruction and residuals

Text
ins[i+1] = ins[i] + (v[i] + v[i+1]) / 20        (trapezoid, mm/s × 0.1 s)res[i]   = gps[i] − ins[i]

The SOP asks for "exact mathematical integer division", and every one of the 1200 sums turns out to be divisible by 20. That means floor versus truncation can't change the result.

The residual is zero nearly everywhere. It contains 18 injected bursts where res_e jumps to exactly 25 000 mm and climbs by exactly 1 000 mm per sample for 10 samples, and one final 100 m offset at sample 600:

Residuals and qualifying windows
Residuals and qualifying windows

04

Window inventory (QSET)

Q(i) holds when all 10 samples i..i+9 have |res|² ≥ 625 000 000 (a 25 m gate), and each of the 9 steps has Δres_e ≥ 1000 and |Δres_n| ≤ 500. The bursts sit exactly on these boundaries (25 000² is exactly 625 000 000, and each step is exactly 1000), so the ≥ comparisons have to be inclusive. A strict > would drop everything.

The SOP asks for the complete set, not just the first onset:

Text
5,35,50,66,84,95,182,214,247,287,309,357,387,453,465,542,567,588

The last burst starts at 588, which is still inside the allowed range i ≤ 591.

05

Decision

The final residual is (100000, 1000), so |res|² = 10 001 000 000 ≥ 10¹⁰. QSET is non-empty, so the decision is QUARANTINE_GNSS_PROFILE.

06

Canonical report and digest

The report has a header line, 601 E|… rows and a SUMMARY line, each terminated by LF. Before hashing the real report, I ran the same report builder on the SOP's all-zero KAT, and it matches both the stated length (14 329 bytes) and the stated SHA-256. The real report is 26 478 bytes:

Text
SHA-256 = 23a4be8bd5cf7936e9f6bd1da0f6753b2b8e9b6db3d0b5e3f4212cd2b89304f0first 24 bytes → Base32 (unpadded) = EOSL5C6VZ54TN2PWXUO2B5TVHMVY5G3NWPILLYY

Solve script

solve.py validates the input, checks the KAT, writes report.txt and prints the flag:

Text
KAT okinexact divisions: 0qset: 5,35,50,66,84,95,182,214,247,287,309,357,387,453,465,542,567,588final res: 100000 1000 decision: QUARANTINE_GNSS_PROFILEreport bytes: 26478 sha256: 23a4be8bd5cf7936e9f6bd1da0f6753b2b8e9b6db3d0b5e3f4212cd2b89304f0CSCTF{EOSL5C6VZ54TN2PWXUO2B5TVHMVY5G3NWPILLYY}

Flag

Flag

CSCTF{EOSL5C6VZ54TN2PWXUO2B5TVHMVY5G3NWPILLYY}

Source-documented · not platform-verified

Takeaways

  • When an SOP provides a known-answer test, check your report builder against it first. Byte-exact formatting is where these challenges usually go wrong.

  • The data is built to sit exactly on the thresholds, so the direction of every comparison matters.

  • "Complete set, not one onset" is a hint that stopping at the first detection gives the wrong hash.

PDF edition

Writeup PDF

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