3 min read
Don't reverse the VM, just run it
A reversing challenge hides its password check inside a bytecode VM dispatched through a SIGTRAP handler. Instead of decoding it by hand, emulate it and watch which bytes each constraint touches.
3 posts tagged #emulation.
A reversing challenge hides its password check inside a bytecode VM dispatched through a SIGTRAP handler. Instead of decoding it by hand, emulate it and watch which bytes each constraint touches.
An ARM64 Mach-O crackme gates its flag behind a dozen conditions across six in-game days. The flag builder only reads three small integers, so you can emulate it and ignore the puzzle entirely.
A Windows crackme ships two "reference" scripts that reimplement its VM. Both are wrong, because they hardcode a seed that real startup code computes. The fix is to stop reimplementing and emulate the real thing.