← all challenges

Flattened

Level 5 · Master crackme 800 pts

🎯 Briefing

The transform is simple, but its control flow has been flattened: instead of running its stages in order, a dispatcher loop jumps between them via a state variable in a scrambled sequence. Unflatten it to recover the real order of the four stages, then invert them. ORRESS can unflatten this for you.

⬇️ Get the challenge

Download (linux) 5.6 MB · sha256 6c3c206511b79ed3…

Download (windows) 4.2 MB · sha256 331aed65fed556d9…

Reverse it to recover the flag — ideally with ORRESS. Run unknown binaries in a VM.

💡 Hints (0/3 used)

Log in to use hints.

📝 Writeup

🔒 Solve this challenge to unlock the author's writeup.