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