Eugene's FATigue

[★★☆] FATigue

Description

National hero and local legend, Eugene "Gene" Securewitz, famous for single-handedly preventing the Great Cyber Catastrophe by unplugging the internet router at City Hall, has suddenly vanished. Rumor has it he's fled his apartment to escape fans, bill collectors, and overly enthusiastic historians.

The "Committee for the Preservation of Gene's Greatness" (CPGG) desperately wants to immortalize Gene's groundbreaking research. It's up to you, the city's most underpaid forensic expert, to unravel the mysteries hidden on Gene’s USB stick - which reportedly includes profound insights about the universe, meticulously detailed recipes, and an eclectic collection of heartfelt poems.

Just remember: the fate of national pride - and perhaps the location of Gene’s secret cookie stash - is in your hands.

  • Download and unzip the diskimage.binarrow-up-right

  • SHA256 after uncompression: 720d7a3167fd3de3d96b4180cc3d30c5efa005dd572fa9642c5063565b085c9a

Solution

Unzip and check integrity

└─$ gzip -d diskimage.bin.gz
└─$ sha256sum diskimage.bin
720d7a3167fd3de3d96b4180cc3d30c5efa005dd572fa9642c5063565b085c9a  diskimage.bin

We are given a USB stick

└─$ file diskimage.bin
diskimage.bin: DOS/MBR boot sector, code offset 0x58+2, OEM-ID "mkfs.fat", Media descriptor 0xf8, sectors/track 32, heads 8, sectors 204800 (volumes > 32 MB), FAT (32 bit), sectors/FAT 1576, serial number 0x23c18835, unlabeled

└─$ fdisk -l diskimage.bin
Disk diskimage.bin: 100 MiB, 104857600 bytes, 204800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Mount the device and check files

Looks like ROT13 again

circle-check

[★★☆] Is that it?

Description

You can’t believe your eyes. Gene was more secretive than you can imagine. Can you recover the hidden stash of wisdom?

Solution

The file is very big to be holding simple TXT file

If you run strings you'll find bits of information about embedded PDF header and stuff about more flags.

Check for hidden files with binwalk

![Eugene’s FATigue.png](/assets/CyberGame/Forensics/Eugene’s FATigue.png)

Something went wrong with extracting the files. You can open JPEG, but it still has excess data from diskimage

-e did somewhat better job

circle-info

file is for third flag.

foremost did kinda better job at extracting the files.

Zip file contains 4th and 5th flag, so for second challenge we will ignore it.

PDF is just decoy?

![Eugene’s FATigue-1.png](/assets/CyberGame/Forensics/Eugene’s FATigue-1.png)

The image extracted by foremost is very insistent upon that this is not it

No more hidden files

The image does contain weird string which is usually not seen:

The string was very very out of place, so after playing around we get following outputs:

Quick note: fatcat or fls can be used to list the files with deleted ones too. PDF above is called AUCE.PDF

circle-check

[★★☆] Was that the only file?

Description

You have a persistent feeling there must be more to it. We are still searching for Gene’s recipe. Keep recovering.

Solution

From Is that it? we found file called file, use strings to read ASCII values:

circle-check

[★★☆] It tastes like a poem

Description

So, turns out, Gene is also a skilled CyberChef! Some of his best inventions were so sensitive he has hidden them under layers of military grade encryption.

Solution

Onto the 4th flag...

From Is that it? part again using foremost we got a zip file, which contained fourth-flag.aes.b64.txt

My first idea was to use AES-256, but in ECB mode meaning no IV; but after like 10minutes I called quits.

But with CBC mode, so with IV it was successful!

circle-check

From discord: key='0'*63, iv='0'*31

Eugenes FATigue-2.png

[★★☆] Wrapping it up

Description

We have recovered it all; all the Gene’s knowledge. That is - with the exception of the most precious study on time travel, hidden in the secret file “fifth.txt”. You have a strong feeling you’re on the edge of groundbreaking discovery.

Disclaimer: Not solved by myself~

Solution

Last flag, so the fifth flag.

From Is that it? part again using foremost we got a zip file, which contained fifth.txt, but when we try to extract the file it's corrupted and we can't read it properly.

7zip and unzip show 2 different outputs, which is weird...

During unzip we get an error about extra bytes, so use zip -FF flag to fix some parts of zip and get rid of error.

It was kinda not... Writeup after CTF: https://github.com/lukaskuzmiak/cybergame.sk-2025-writeups/tree/main/Eugene's%20FATiguearrow-up-right

Last updated