Skip to content

Intigriti 1337UP CTF 2024: CTF Mind Tricks

TL;DR

  • PCAP contains noisy traffic plus an SMB file transfer.
  • Audio file recovered from SMB stream.
  • Plaintext chat on TCP port 1337 hints at ultrasonic frequencies.
  • Spectrogram analysis reveals data hidden between 18–21kHz.
  • Flag extracted from high-frequency audio steganography.

Challenge Description

There's an ongoing investigation into the communications of two potential hackers. As far as I can see, they only shared some music with each other but the feds are convinced something nefarious is going on. Let me know if you can find anything 🔎

Solution

Players download a PCAP. There's a lot of noise from random HTTPS traffic, so they should filter by SMB and see this WAV file transfer.

SMB traffic filtered in Wireshark showing file transfer

Return to the start of the request, then follow the TCP stream.

Following TCP stream of the SMB file transfer

You can convert the ASCII to raw and save this as a .MP4 file.

Converting TCP stream data from ASCII to raw and saving file

Alternatively, just go to File > Export Objects > SMB.

Exporting transferred files via Wireshark SMB objects

You'll find an AI song I generated with suno.

If you closed the PCAP here though, you missed a step! If you look through the ports (I recommend filtering out HTTP(S) with !(tcp.port == 80 || tcp.port == 443)), you'll a suspicious one; 1337.

Suspicious plaintext conversation on TCP port 1337

I need to send you a message but I can't remember what frequency you said?
It was 18-21kHz.
Sending the song via SMB now.
Oh, how interesting.. Thanks!

So, there's something hidden in some frequency of the audio 🤔 We can isolate these things with sonic-visualizer or Audacity. I went with the latter.

Audio file loaded into Audacity for analysis

Viewing the spectrogram doesn't reveal anything.

Default spectrogram view showing no visible data

We need to configure the range between 18000hz to 21000hz.

Spectrogram zoomed to 18–21kHz revealing hidden flag

Flag: INTIGRITI{hidden_in_music_1337}