← all writeups
MiscHuntress CTF 2023

PRESS PLAY ON TAPE

This challenge is one of my personal favorites simply because of how unique it is.

Participants are provided with a wav file named pressplayontape.wav. Playing the audio file reveals an ear piercing sound, and a spectrogram reveals nothing.

screenshot

This requires us to think a little outside the box... Do a quick search on the filename and this will pop up.

screenshot

Hmm.... Commodore 64. That's computer related, right? Turns out, Commodore 64 had it's own special audio file format with the extension .tap that could be used to hide messages and data when recorded from VHS tapes. So, now it's time to try to convert this .wav into .tap.

screenshot

To accomplish this, I'm using C64 Tape Decode. Specifically, wav2tap.exe. Now we have the raw Tape data.

screenshot

We can now take this data and save it into a tap file. I've named it output.tap.

screenshot

Here, I'm using a tap analysis tool TapEx to analyze output.tap. Another tool from commodore.software. Going to the View tab we see several sections. The section that looks the most interesting seems to be the CBM DATA FIRST. It contains some hex.

screenshot

Pop this hex into an online tool and convert to ascii, and there's the flag!