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