Confusion

Solution
Given a microsoft word file

Upon extracting the file using binwalk, there are some folders to be investigate further.

In docProps directory there open the core.xml file, there is a base64 of a file that need to be retrieve.

We can retrieve the file by inputting the base64 encoding in cyberchef

We then get a .rar file.

The archive file is being protected by a password

We then crack the password using hashcat.
The steps are as below
Convert the RAR file to hash
rar2john download.rar > key.hash
Delete
download.rar:
at the beginning of the hash (Result: $rar5$16$35e8bb91e14c285f591003fe186c98a1$15$39870592e030495d2c766f945d14ccb8$8$215f837b53e3d0fd)Crack the hash!
hashcat -a 3 key.hash ?d?d?d?d
Run again hash with --show flag to display the cracked password
hashcat -a 3 key.hash ?d?d?d?d --show

Next enter the cracked password to retrieve a text file which contains a flag.


Flag
grodno{ctf_zip_key}
Last updated