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.
| Event | CSCTF 2026, Operation Dawn (online jeopardy) |
|---|---|
| Category | Reverse engineering |
| Points | 199 |
| Status | Solved during the event |
| Target | fcunlock, 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
CSCTF{HALCYON_1B5FC6D72036689A}What I took from it
- A hash finalizer built only from invertible bitwise and multiplicative steps (as MurmurHash3's fmix64 is, by design, for reversibility of avalanche testing) can be inverted directly — no brute force needed even for a 192-bit search space.