Skip to content
Adam Omar Saleh

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

Dark Anchorage Reconciliation

Align the radar clock to UTC (radar time minus 60 minutes) and pair each of the 16 radar tracks with the AIS vessel at the same positions.

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

Brief

The challenge

Category
Network
Difficulty
Medium
Files
ais.ndjson, radar.csv, cable-fault.txt, method-note.txt (served at GET /files/), GET /schema

TL;DR

Align the radar clock to UTC (radar time minus 60 minutes) and pair each of the 16 radar tracks with the AIS vessel at the same positions. One pair, R-05 and MMSI 975838928, has a 4-sample run where the AIS position sits a constant (+330 m east, +300 m north) away from the radar position: that's the false broadcast. The radar track itself crosses the cable-fault point exactly (CPA 0.0 m at 11:31:38Z). The tricky part is the report shape: the schema's compound names ais_minus_radar_east_m_north_m and start_utc_end_utc stand for four separate members, not two arrays.

Solve

  1. Read the brief and schema. GET / describes the scenario. GET /schema defines a local plane centred on the cable fault (east = R·cos(lat0)·(lon−lon0), north = R·(lat−lat0), R = 6378137), the segment closest-point-of-approach (CPA) formula, the rounding rules, and the five required report members.

  2. Normalise the radar clock. The radar.csv header has radar_utc_offset_minutes=60, so UTC = radar local time − 60 min. With that shift, every radar sample lines up with a 2-minute AIS sample.

  3. Associate tracks. Score every radar/AIS pair by the median distance between their positions over all paired samples (method-note.txt). Each correct pair scores 0.000 m and every wrong pair scores ≥ 180 m, which gives a single bijection:

    RadarMMSIRadarMMSI
    R-01996985000R-09976804463
    R-02977209105R-10984754931
    R-03986715569R-11995396661
    R-04970919067R-12989866902
    R-05975838928R-13975426997
    R-06994946592R-14978983567
    R-07996261561R-15978894200
    R-08972514000R-16994405937
  4. Find the divergence. For R-05 / 975838928, the longest contiguous run with at least 4 samples, every residual ≥ 250 m, and each residual component changing by ≤ 15 m from the previous sample is 11:30:00Z–11:36:00Z (4 samples). AIS minus radar is a constant (330, 300) m. In other words, the vessel broadcast a position about 446 m away from where it actually was, right as it passed over the cable.

  5. Closest approach (radar only). R-05 sails due east along the cable's latitude (north = 0). The segment between 11:30 and 11:32 crosses the origin, so the CPA is 0.0 m at 11:31:38Z (11:31:38.18, rounded to the nearest second).

  6. Get the report shape right. Every report that used arrays or nested objects for the compound fields got an opaque 400 invalid report, even when only the values were changed. The working shape splits each compound name into separate scalar members:

    JSON
    {  "version": "KALNET-RECON-1",  "radar_utc_offset_minutes": 60,  "associations": [{"radar_track": "R-01", "mmsi": "996985000"}, "... R-16"],  "divergence": {    "mmsi": "975838928",    "ais_minus_radar_east_m": 330,    "ais_minus_radar_north_m": 300,    "start_utc": "2026-11-06T11:30:00Z",    "end_utc": "2026-11-06T11:36:00Z"  },  "closest_approach": {"mmsi": "975838928", "distance_m": 0.0, "utc": "2026-11-06T11:31:38Z"}}

    POST /reconcile (full body in accepted_report.json, sent by submit.py) returns:

    Text
    200 incident export verifiedCSCTF{CGMV6TsLt1H7DPaS0IIiBD3J}

Flag

Flag

CSCTF{CGMV6TsLt1H7DPaS0IIiBD3J}

Source-documented · not platform-verified

PDF edition

Writeup PDF

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