Skip to content

Retro Recovery⚓︎

Difficulty:
Direct link: Retro Recovery

Objective⚓︎

Request

Join Mark in the retro shop. Analyze his disk image for a blast from the retro past and recover some classic treasures.

Mark DeVito

Screenshot 2026-04-21 154011

Solution⚓︎

Mark asked to download a disk image and see what secrets the disk is hiding.

In the Items list on the HHC website, the disk image floppy.img is available.

Screenshot 2025-12-30 101722

Image Analysis⚓︎

After downloading the disk image, I ran a couple of commands on it to analyze the disk contents.

The first command was to see the file type. I used the command:

Image file type
1
file floppy.img

The file command revealed that the file is the image of a FAT12 disk as Mark said and it is also identified as a DOS/MBR boot sector. The floppy disk is probably bootable.

Next, I tried to view the disk image's partition table with the command:

Disk partition table
2
sudo fdisk -l floppy.img

This command revealed that the disk image has a size of 1.41 MiB with 2880 sectors and a single partition.

I later mounted the disk image with the command:

Mount disk image
3
4
sudo mkdir -p /mnt/img
sudo mount -o loop floppy.img /mnt/img

After mounting the image, I listed the disk content, and looked through the files. None of them contained anything meaningful.

Screenshot 2025-12-30 124628

Data Extraction⚓︎

I remembered that Mark said they used to share things by hiding them as deleted files.

So I decided to run testdisk on the drive and check for deleted files. I used the command:

Testdisk
1
sudo testdisk /dev/loop0

The command opened the Testdisk tool on the disk image.

Screenshot 2025-12-30 114354

After selecting enter on the previous page, I got the page to select the partition table type. Since no partition table was detected I selected "None" as recommended by Testdisk.

Screenshot 2025-12-30 114417

On the next screen I selected the single partition of the disk.

Screenshot 2025-12-30 114441

After selecting the partition, the content of the disk is listed including deleted files. Two files were deleted, but the all_i-want_for_christmas.bas seems the most obvious since the competition is happening during Christmas time.

I proceeded with 'C' to copy the selected file.

Screenshot 2025-12-30 114543

I chose the root directory of the disk as the destination to copy the all_i-want_for_christmas.bas file.

Screenshot 2025-12-30 114738

I exited the Testdisk tool and ran a ls to confirm that the file was recovered.

Screenshot 2025-12-30 124656

I opened the all_i-want_for_christmas.bas file and looked through it. A base64 encoding stood out.

Screenshot 2025-12-30 124814

I decoded the base64 string with the command:

Base64 decoding
1
echo "bWVycnkgY2hyaXN0bWFzIHRvIGFsbCBhbmQgdG8gYWxsIGEgZ29vZCBuaWdodAo" | base64 -d
The flag is revealed to be merry christmas to all and to all a good night.

Screenshot 2025-12-30 124913

The objective was added to the achievements list.

Screenshot 2026-04-21 154240

Answer

merry christmas to all and to all a good night

Response⚓︎

Mark DeVito

Excellent work! You've successfully recovered that deleted file and decoded the hidden message.