DL·SYS
Contact ↗

CSCTF 2026 · Reverse engineering · 199 pts

Ground Lock.

A drone ground-utility's accepted code is checked with MurmurHash3's finalizer — a function built entirely out of invertible steps.

MurmurHash3Hash inversion
EventCSCTF 2026, Operation Dawn (online jeopardy)
CategoryReverse engineering
Points199
StatusSolved during the event
Targetfcunlock, offline (static ELF)

TL;DR. A stripped x86-64 binary splits a 24-byte input into three 64-bit words and runs each through MurmurHash3's fmix64 finalizer (xorshift, multiply, xorshift, multiply, xorshift) before comparing to three hardcoded constants. fmix64 is fully invertible step by step, so the three target constants can be run backward directly into the 24 original ASCII bytes.

Challenge

Recover the exact 24-byte accepted service code for a ground-maintenance utility, from static analysis of the binary alone.

Solution

main checks that the argument is exactly 24 bytes, splits it into three little-endian 64-bit words, and runs each through MurmurHash3's fmix64 finalizer — x ^= x>>33; x *= 0xff51afd7ed558ccd; x ^= x>>33; x *= 0xc4ceb9fe1a85ec53; x ^= x>>33 — comparing the result against three constants baked into the binary.

Every step of fmix64 is individually invertible: XOR-shift is self-inverse given the shift direction, and multiplication by an odd constant mod 2⁶⁴ has a modular inverse. Running each of the three target constants backward through the inverted finalizer recovers the three original 64-bit words directly — reassembling them gives the 24 ASCII bytes of the code. Re-running the forward hash on the recovered bytes reproduces the original constants exactly, confirming it with no need to run the binary.

Flag

FlagCSCTF{HALCYON_1B5FC6D72036689A}

What I took from it