Monsignors Crackme

1 min read
by Monsignor crackmes.oneEasyx86-64PE (Windows)solved in 6 min

Goal: find the password.

Triage

1chmod +x hello.exe
2wine hello.exe      # prompts for a password

Solution

strings hello.exe dumps a lot of output. The program prints “Access denied” on a wrong guess, so filter for that and number the lines:

1strings hello.exe | grep -ni access    # "access" shows up around lines 340-350
2strings hello.exe | nl                 # number every line to jump straight there

The password sits right after the “Enter password:” prompt string:

lines 343-347 of the strings output
lines 343-347 of the strings output

Password: secret.

Shortcut once you know it’s there:

grep for it directly
grep for it directly
Thoughts?