Crackme 3: Windows binary (PE)

Mar 12, 2018

Link: (binary)

Our first PE (Windows) binary. We won’t be able to run it in Docker, so let’s try to use Hopper exclusively.

Starting with the strings tab, there are interesting values we can follow: strings

A chain of single-byte comparisons all either continue ahead or short-circuit the program to print “wrong password”: chain

They compare a buffer byte by byte to a expected value, looking for the following sequence: 0x53, 0x50, 0x61, 0x43, 0x49, 0x6f, 0x53.

>>> ''.join(map(chr, [0x53, 0x50, 0x61, 0x43, 0x49, 0x6f, 0x53]))