Game 09
Challenge: Reverse engineering a Windows executable
Step 1: Extract Archive
7z x SuNiNaTaS.zipStep 2: Identify File
file Project1.exeOutput: PE32 executable for MS Windows 4.00 (GUI), Intel i386, 8 sections
Step 3: Analyze with IDA
Run the executable in a virtual environment (Windows 10, VirtualBox).
The program displays an input box with two buttons.
Use IDA Pro and press Shift+F12 to view strings. Look for the “Congratulation!” message, then double-click to find cross-references.
Step 4: Find Password
From IDA disassembly:
CODE:00450388 ; ---------------------------------------------------------------------------CODE:00450389 align 4CODE:0045038C _str_913465 _strings <0FFFFFFFFh, 6, '913465'>CODE:0045038C ; DATA XREF: _TForm1_Button1Click+1B↑oCODE:0045039B align 4CODE:0045039C ; const CHAR aSuninatas[]CODE:0045039C aSuninatas db 'SuNiNaTaS',0 ; DATA XREF: _TForm1_Button1Click+45↑oCODE:004503A6 align 4CODE:004503A8 ; const CHAR aCongratulation[]CODE:004503A8 aCongratulation db 'Congratulation!',0 ; DATA XREF: _TForm1_Button1Click+4A↑o