Forensics - save me from this hell

Description

"The smoke rises, carrying secrets within... Where there's smoke, there's fire..."

We intercepted an encrypted transmission from a mysterious server. The data appears to be lost, but rumor has it some ancient legend is somewhere in this image.

The original sender was obsessed with a programming language from hell itself - one where code mutates, logic inverts, and sanity is optional and insanity is permanence.

Files Provided

file-archive
4MB

Walkthrough

we are provided with a single image:

First as prolly everyone i runned exiftool on the image

Nothing much. Than we tried strings and after the image ends with FFD9, there is some gibberish after it indicating a hidden file attached to the image.

We run binwalk.

There are 2 files attached to the image, smoke.png and encrypted.bin Download them and extract.

Opening the image we get this:

Check the image with the file command to see aditional info:

Idk but chatgpt says 800x600 8-bit/color is ideal for stego. Random fact plug.

Anyways...

Exiftool that image and we get a base64 string in "Author"

Decrypt the b64:

Its a link to a Malbolge language interpreter, i didnt even know this language exists wtf.

Anyways we will keep the website open, and if you run zsteg on the same image you will eventualy get a decryption key for the decrypted.bin.

so we got the key: KEY = c7027f5fdeb20dc7308ad4a6999a8a3e069cb5c8111d56904641cd344593b657

The challenge is telling us:

Decrypt encrypted.bin using repeating XOR with this 32-byte key.

We prompt this to chat so he writes us a small python script to xor the encrypted.bin with the key.

solve.py:

Run the script and we get decrypted.bin. See what we got:

paste this string in the interpreter and hope for the best.

Aaaanwe got it:

FLAG:

10/10 chall shoutout to the author Aur0r4. Had hella fun and learned.

Last updated