Basilisk: A Three-Stage Checker and the One Byte That Undid It

Rev Medium r00t CTF :: Basilisk BASILISK A checker built like an onion: three stages, a SHA-256 key schedule, a fake core dump and a two-faced GDB stub. The maze is real. The scorer at the end leaves the front door open. 3stages 5decoys 0x5cthe XOR 39hidden bytes The handout File What it looks like basilisk the target. A three-stage protector with anti-debug checks check the scorer. Feed it a flag, it says CORRECT or INCORRECT validator a second scorer. Its answer disagrees with check fake_dump.bin a “captured memory region from a previous run” memory_layout.txt a map of where the encrypted stages live debug_stub.py a GDB script that extracts the stages at runtime This is a lot of material for one challenge, and almost all of it is there to keep you busy, so let us separate the signal from the noise first. ...

October 18, 2026 · 4 min · z3ro

Gravimetry: Hunting a Flag in Gravitational-Wave Noise

Rev Signals r00t CTF :: Gravimetry GRAVIMETRY A chirp buried in gravitational-wave detector noise, plus a Python decoder that is confidently wrong in two places. The challenge is real. The script is a minefield. 41216float32 samples 4096Hz 2planted bugs 24hex flag suffix The handout strain.dat is 164,864 bytes, which is 41,216 little-endian float32 samples at 4096 Hz, so a bit over ten seconds of simulated interferometer strain. Alongside it: detector_params.txt, the calibration and instrument description wave_analysis.py, a complete-looking decoder The description tells you what to do: recover the hidden message from the strain data, and the flag suffix is the first 24 hex characters of the SHA-256 of the recovered bytes. ...

October 18, 2026 · 3 min · z3ro

JANUS: The Cipher Had Two Faces, but the Checker Only Needed One

Rev Crypto r00t CTF :: Janus JANUS Janus is the two-faced Roman god. The challenge wears a scary mutated stream cipher on the front and keeps a four-byte XOR key on the back. Guess which face the scorer checks. 4byte key 44byte ciphertext 1decoy binary 2faces The handout The bundle ships a target (janus, plus a janus2 variant), a ciphertext file, and two scorers: check and validator. As with the rest of this set, the two scorers do not agree, and only one of them is the real one. ...

October 18, 2026 · 3 min · z3ro

The Signal Key: Hermes Hides in the Bundle

Mobile Rev r00t CTF :: The Signal Key THE SIGNAL KEY A licence screen, a string table that rotates on boot, and a small cipher. No device, no emulator, no Frida. The whole secret is sitting in the shipped JavaScript bundle. 14string-table entries 11left rotations 4cipher rounds 0devices needed The handout One file: a React Native JavaScript bundle. React Native apps ship their logic as JavaScript, and this one was not minified into oblivion, which is the first break. The interesting code sits near the licence logic: ...

October 18, 2026 · 4 min · z3ro

THORNWALL: Anti-Debug Theatre and a Scorer That Talks

Rev Medium r00t CTF :: Thornwall THORNWALL A wall of thorns: a TracerPid check, a self-integrity hash, and a documented trap path if you touch a single byte of code. The scorer walks around all of it. 2anti-debug layers 7rotation constant 0x5cthe XOR 0bytes patched The handout File Role thornwall the protected target check the scorer that decides the points validator a decoy scorer with a different answer bypass_guide.txt a walkthrough of the protection scheme thorn_reference.py a Python “reference” of the cipher, marked as a trap The interesting tension is right there in the file list: the challenge hands you a guide to disabling its own protection, and also warns you that following it is a trap. A self-integrity check means any byte you flip to defeat the TracerPid test will change the code hash and trip the trap path. You cannot patch your way in. ...

October 18, 2026 · 3 min · z3ro

Wraith: Unwrapping the Bytecode VM Inside a 2 KB wasm Module

Rev Medium 200 pts r00t CTF · Wraith WRAITH One file in the handout: wraith.wasm, two kilobytes, a single exported function called check_flag, and no strings worth reading. It turns out to be a stack VM running a hidden bytecode program that tests the flag one byte at a time. Every check inverts in closed form, so there is nothing to brute force. 2 KBwasm module 331hidden bytes 29byte checks 0brute force The handout The zip contains exactly one file. No README, no source, no hints: ...

October 18, 2026 · 8 min · z3ro

Nexus: When Every Field Lies, Trust the Scorer

Challenge Overview Field Value Platform AfricaHackon Challenge Nexus Author Dr Programmer Category Reverse Engineering Difficulty Hard Points 400 Given 02_NEXUS.zip → check, validator, nexus.bin “A custom hash chain processor receives 8 data blocks and a 32-byte initial state. The blocks must be applied in a specific order determined by nibble-decomposition of the initial state bytes, but the binary contains a 72-byte ‘decoy header’ declaring a different block order (01234567), a 64-byte scrambled state immediately after the declared order that looks like the real initial state, and a hash_chain_init field containing a SHA256-transformed variant of the true init state. Players must identify the correct field layout, extract the true initial state, derive the block ordering from its nibbles, execute a custom hash chain, and XOR-decrypt the ciphertext. Every shortcut and labeled field in the binary is wrong.” ...

October 1, 2026 · 8 min · z3ro

AfricaHackon: Rooted or Not? Bypassing a Root Check Without Rooting Anything

Challenge Overview Field Value Platform AfricaHackon Challenge Rooted or not? Author LordSudo Category Mobile / Reverse Engineering Difficulty Easy Points 100 Operation “PERFECT ROOT” A vault app exposes a debug panel, but the developers claim it’s safe since it’s gated behind a root check, and “real users don’t root their phones.” Files: Rooted or not.zip → vaultapp.apk TL;DR The app’s entire security model is a single File.exists("/system/bin/su") check. The flag is computed statically via XOR with a deterministic key, no rooting, no emulator, no Frida needed. Pure static analysis wins again. ...

September 23, 2026 · 4 min · z3ro