Game 13
Challenge: Forensics - Steganography in ZIP and images
Hint: The programmer’s bad habit of backing up source code
Step 1: Find and Download ZIP
The hint suggests looking for a backup file:
http://suninatas.com/challenge/web13/web13.zipStep 2: Extract ZIP File
The ZIP is password-protected. Try extracting:
7z x web13.zipOutput:
ERROR: Wrong password : whitehack1.jpgERROR: Wrong password : whitehack2.jpgERROR: Wrong password : whitehack3.jpgERROR: Wrong password : whitehack4.jpgERROR: Wrong password : 4ڸ.txtNote: Set locale to Korean if needed. Use unar instead for automatic handling:
unar web13.zipOutput reveals: 압축비번은4자리정수 (The compression password is a 4-digit integer)
Step 3: Brute Force Password
Use John the Ripper with a 4-digit wordlist:
zip2john web13.zip > hash.txtjohn hash.txt --wordlist=~/wordlists/SecLists/Fuzzing/4-digits-0000-9999.txtResult: 7642 is the password
Step 4: Extract Files
After extracting with password 7642:
unar web13.zipOpen the text file with encoding EUC-KR.
Content: Combine the four images to find the key.
Step 5: Extract Data from Images
Use hex dump to find hidden data in each image:
whitehack1.jpg:
xxd whitehack1.jpg | head -20Contains: first key : 3nda192n
whitehack2.jpg:
xxd whitehack2.jpg | head -20Contains: second key : 84ed1cae
whitehack3.jpg:
xxd whitehack3.jpg | head -20Contains: third key: 8abg9295
whitehack4.jpg:
xxd whitehack4.jpg | head -20Contains: fourth key : cf9eda4d
Step 6: Combine Keys
Concatenate all four keys in order:
3nda192n + 84ed1cae + 8abg9295 + cf9eda4d
3nda192n84ed1cae8abg9295cf9eda4d