Music

You are a jealous music teacher plotting to plagiarize your top student’s entry for the Grand Conservatory Contest. You’ve got an image of their drive—now find the stolen composition.

Watch out: the student anticipated theft and left decoy traps for anyone who doesn’t stick to the music. Follow the timeline, unlock the master track, and extract the split watermark hidden from its opening seconds to its final echo.

Flag format: NVR{…}

Recon

The handout is a single zip that unpacks to a 140 MiB raw disk image of a music student’s drive.

What the image is

$ unzip -l student_music_drive.zip
Archive:  student_music_drive.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
146800640  11-24-2026 09:19  student_music_drive.dd
---------                     -------
146800640                     1 file

One 140 MiB file, a raw sector image. file recognizes the partition table inside it, so we start with the partition map:

$ file student_music_drive.dd
student_music_drive.dd: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x10,0,1), end-CHS (0x1f,3,32), startsector 2048, 32768 sectors; partition 2 : ID=0x7, start-CHS (0x110,0,1), end-CHS (0x3ff,3,32), startsector 34816, 251904 sectors

$ mmls student_music_drive.dd
DOS Partition Table
Offset Sector: 0
Units are in 512-byte sectors

      Slot      Start        End          Length       Description
000:  Meta      0000000000   0000000000   0000000001   Primary Table (#0)
001:  -------   0000000000   0000002047   0000002048   Unallocated
002:  000:000   0000002048   0000034815   00000032768   Win95 FAT32 (0x0c)
003:  000:001   0000034816   0000286719   0000251904   NTFS / exFAT (0x07)

Two partitions. The first claims FAT32, but the filesystem tools refuse it:

$ fsstat -o 2048 student_music_drive.dd
Cannot determine file system type

The boot sector explains the mismatch. It carries an mkfs.fat signature and the volume label SYSTEM_RES FAT32, but its 32-bit sector-count field is zeroed, and that alone is enough for TSK to refuse it:

$ xxd -s $((2048*512)) -l 96 student_music_drive.dd
00100000: eb58 906d 6b66 732e 6661 7400 0201 2000  .X.mkfs.fat... .
00100010: 0200 0000 80f8 0000 2000 0200 0000 0000  ........ .......
00100020: 0000 0000 fc00 0000 0000 0000 0200 0000  ................
00100030: 0100 0600 0000 0000 0000 0000 0000 0000  ................
00100040: 8000 29ac 5708 8553 5953 5445 4d5f 5245  ..).W..SYSTEM_RE
00100050: 5320 4641 5433 3220 2020 0e1f be77 7cac  S FAT32   ...w|.

An unmountable partition is a decoy, so we move to the NTFS partition at sector 34816. That one parses cleanly:

$ fsstat -o 34816 student_music_drive.dd
FILE SYSTEM INFORMATION
--------------------------------------------
File System Type: NTFS
Volume Serial Number: 412089377F03AF4F
OEM Name: NTFS
Volume Name: STUDENT_D

The NTFS volume holds the student’s actual files:

$ fls -o 34816 -r -p student_music_drive.dd
d/d 75-144-2: Audio_Production
d/d 78-144-2: Audio_Production/Masters_2026
d/d 79-144-2: Audio_Production/Masters_2026/Submission_Backup
r/r 94-128-2: Audio_Production/Masters_2026/Submission_Backup/Echoes_of_Autumn.7z
r/r 90-128-2: Audio_Production/Masters_2026/Submission_Backup/Mastering_Checklist.txt
d/d 76-144-2: Audio_Production/Raw_Takes
r/r 93-128-2: Audio_Production/Raw_Takes/Metronome_Click_110bpm.wav
r/r 92-128-2: Audio_Production/Raw_Takes/Vocal_Warmup_Scale.wav
d/d 77-144-2: Audio_Production/VST_Presets
r/r 89-128-2: Audio_Production/VST_Presets/Reverb_Hall_Notes.txt
d/d 64-144-2: Conservatory_Courses
r/r 87-128-2: Conservatory_Courses/Year_1/Music_History/exam_answers_2026.txt
r/r 91-128-2: Downloads/Telegram_Desktop/Chat_Export_Mentor.txt
-/r * 104-128-2: Downloads/Browser_Temp/secret_leak.jpg
-/r * 103-128-2: Personal_Backups/Old_Drafts/draft_flag_notes.txt
r/r 95-128-2: Sheet_Music_Library/Original_Artwork/Echoes_of_Autumn.jpg
r/r 97-128-2: Sheet_Music_Library/Original_Artwork/Spring_Prelude_Cover.jpg
r/r 96-128-2: Sheet_Music_Library/Original_Artwork/Winter_Nocturne_Cover.jpg
...

(Full listing trimmed; the drive also holds sheet-music scans, course notes and a few downloads that play no part in the solve.)

From here on, a path like Audio_Production/... means a copy we exported from the image with icat -o 34816 student_music_drive.dd <inode>, using the inode from the first column of the listing.

The * on the last two entries marks deleted files, and their content is often still recoverable straight from the MFT. We come back to those after a sweep of the live files.

Reading the drive and its traps

A plaintext sweep for the flag prefix across everything exported turns up only two places:

$ grep -rl "NVR{" .
./[SYSTEM]/$MFT
./Conservatory_Courses/Year_1/Music_History/exam_answers_2026.txt

$MFT mirrors the contents of small resident files, so it matches whatever they contain; the only real hit is in the course notes:

$ cat Conservatory_Courses/Year_1/Music_History/exam_answers_2026.txt
Final Exam Review Sheet:
Question 1: NVR{r34d_th3_pr0mpt_f1nd_th3_mus1c}
(Note to self: stop snooping around random course notes!)

The parenthetical is the giveaway: this is a planted fake flag taunting anyone who greps instead of following the music. The two deleted entries say the same thing. icat recovers deleted content straight from the MFT by inode number:

$ icat -o 34816 student_music_drive.dd 104 > secret_leak.jpg
$ file secret_leak.jpg
secret_leak.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, comment: "NVR{st0p_ch4s1ng_r4nd0m_m3t4d4t4}", baseline, precision 8, 640x480, components 3

$ icat -o 34816 student_music_drive.dd 103
Backup flag draft: NVR{d3l3t3d_txt_f1l3s_w0nt_w1n_th3_c0nt3st}

Both “leaks” are bait, with the taunts printed right inside them. The artwork directory has two more candidate covers, but their JPEG comments disqualify them:

$ exiftool -Comment Sheet_Music_Library/Original_Artwork/Winter_Nocturne_Cover.jpg Sheet_Music_Library/Original_Artwork/Spring_Prelude_Cover.jpg
======== Sheet_Music_Library/Original_Artwork/Winter_Nocturne_Cover.jpg
Comment                         : Draft layout v1 - unused
======== Sheet_Music_Library/Original_Artwork/Spring_Prelude_Cover.jpg
Comment                         : Sketch export - 2025

The two raw-take WAVs are ordinary 16-bit mono 44.1 kHz recordings (2.5 s and 3.0 s), and the prefix sweep found nothing in them, so they are not part of the solve either.

The checklist and the chat log

Two text files on the drive tell us what the student actually did:

$ cat Audio_Production/Masters_2026/Submission_Backup/Mastering_Checklist.txt
2026 International Conservatory Competition - Entry Checklist:
[x] Export lossless 44.1kHz 16-bit WAV master
[x] Embed anti-plagiarism watermark at start and end of track
[x] Encrypt archive with cover artwork key

$ cat Downloads/Telegram_Desktop/Chat_Export_Mentor.txt
[2026-10-25 18:12] Friend: Be careful, Prof. Vance was asking around about your competition piece today.
[2026-10-25 18:14] Me: Thanks for the heads up. I already encrypted my master and split the watermark.

That is the whole challenge plan in three lines: the master is a lossless WAV inside Echoes_of_Autumn.7z, the watermark was split between the start and the end of that track, and the archive password comes from the cover artwork. Of the three JPEGs in Original_Artwork, only Echoes_of_Autumn.jpg matches the track, and the other two already told us they are unused drafts. So the track’s own cover art is the key source.

The archive key inside the artwork

$ exiftool -Comment Sheet_Music_Library/Original_Artwork/Echoes_of_Autumn.jpg
Comment                         : Master Archive Key (Base64): QXV0VW1uX1MwbjR0QV9LM3kjMjAyNg==

Base64 in hand, we decode and try it:

$ echo "QXV0VW1uX1MwbjR0QV9LM3kjMjAyNg==" | base64 -d
AutUmn_S0n4tA_K3y#2026

The archive even hides its filenames behind the password, because a plain listing fails with a headers error:

$ 7z l Audio_Production/Masters_2026/Submission_Backup/Echoes_of_Autumn.7z
...
Headers Error

Errors: 1

$ 7z l -p'AutUmn_S0n4tA_K3y#2026' Audio_Production/Masters_2026/Submission_Backup/Echoes_of_Autumn.7z
   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2026-11-24 09:18:19 ....A     22414648     12610112  Echoes_of_Autumn.wav
------------------- ----- ------------ ------------  ------------------------

The key from the artwork opens it on the first try:

$ 7z x -p'AutUmn_S0n4tA_K3y#2026' Audio_Production/Masters_2026/Submission_Backup/Echoes_of_Autumn.7z
...
Everything is Ok

Size:       22414648
Compressed: 12610355
$ file Echoes_of_Autumn.wav
Echoes_of_Autumn.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 44100 Hz

Exactly what the checklist states: a lossless 44.1 kHz 16-bit mono master, 22,414,648 bytes, about 254 seconds long.

Ruling out LSB steganography

“Watermark at start and end of track” sounds like classic time-domain LSB stego (LSB = least significant bit of each sample), so we tried that first. This script walks the RIFF chunks to find the PCM data, then packs the low bits of the first and last three seconds into bytes in both bit orders:

#!/usr/bin/env python3
import struct, sys

path = sys.argv[1]
raw = open(path, 'rb').read()

pos = 12
while pos + 8 <= len(raw):
    cid = raw[pos:pos+4]
    size = struct.unpack('<I', raw[pos+4:pos+8])[0]
    print(f"chunk {cid} at 0x{pos:x} size {size}")
    if cid == b'data':
        data_off, data_size = pos + 8, size
        break
    pos += 8 + size + (size & 1)

print(f"data offset 0x{data_off:x}, size {data_size}")
samples = struct.unpack(f'<{data_size//2}h', raw[data_off:data_off+data_size])
print(f"total samples: {len(samples)}, duration {len(samples)/44100:.2f}s")

def show(name, seg):
    bits = [s & 1 for s in seg]
    for label, order in (("LSB-first", range(8)), ("MSB-first", range(7, -1, -1))):
        out = bytearray()
        for i in range(0, len(bits) - 7, 8):
            b = 0
            for j, sh in enumerate(order):
                b |= bits[i+j] << sh
            out.append(b)
        t = ''.join(chr(c) if 32 <= c < 127 else '.' for c in out)
        if order[0] == 0:
            print(f"--- {name} {label} ({len(seg)} samples) ---")
        else:
            print(f"--- {name} {label} ---")
        print(t[:600])

show("START", samples[:3*44100])
show("END", samples[-3*44100:])
$ python3 lsb_extract.py Echoes_of_Autumn.wav
chunk b'fmt ' at 0xc size 16
chunk b'LIST' at 0x24 size 26
chunk b'data' at 0x46 size 22414570
data offset 0x4e, size 22414570
total samples: 11207285, duration 254.13s
--- START LSB-first (132300 samples) ---
.......n&.w.R:...%......z.{.{.{.~.=....L.s)m....5".~........'b.L....t^..K:..}.........:..{..%....R.p.#.kD.......3..O...8.aK.....t......
--- START MSB-first ---
..0....vdq..J\..7....}_.^.......~..@GI{2.........D.~.1....o..F.28....z...\@G....

(Each section prints 600 characters of this; the two END sections, in both bit orders, are the same kind of printable noise. No readable text anywhere.)

Two useful facts come out of this failure. The chunk walk shows the file is just fmt, a LIST/INFO encoder tag (Lavf62.3.100, so the WAV was written by ffmpeg) and the data chunk, and the data chunk ends exactly at the last byte of the file (0x4e + 22414570 = 22414648, the file size), so there is no appended payload after the PCM. And the low bits produce pure noise, in both segments and both bit orders.

A stronger version of the same idea unpacks every sample’s 16 bits with numpy, packs each bit layer back into bytes with np.packbits in both bit orders, and searches the whole file for the byte patterns NVR, flag and nvr:

$ python3 bit_scan.py
HIT layer=4 msb=False target=b'NVR' at byte 878086: b'\x035\xdaY?U\xe5\xb8NVRx\x18\xf8T\xd8\x0e;\xa6\x04\xe6\x8ae\xf8\x1e,`\n\x9d\x96v6\x86\xee\xdd\xf1B\x95\xc7d\xfb\x9ep\x1c\xc6\xf1\xf3R5\x98\xaa\xb3\x8d\xa9\xe7\x88\xce\x90K\xfaL\xb7\x96:\xb1+\xe7N'
HIT layer=8 msb=False target=b'nvr' at byte 623814: b'0@Z\xe1\xbf\x84\xfc\xefnvr.!U\x9f\xfb\xb4$\xc59%\xde\xa5+\xcf$WS\x17IF\xee\xe3\xa0\xa6\xc4\xbc\x06?\r<:\xb2K\xe6R\x7b\x97\xba\x02\x8a\xd6\x99\xa6SJ\xa8\xfa\xbd\xb3\x8e\xf1\x11$\xd6\x94\xe8Z\xfb\xed'
scan done

The only hits are NVR and nvr appearing amid random bytes with no readable context around them. Random data produces short coincidences like these; a planted marker would sit in readable context. LSB stego is out.

Identifying the tones as SSTV

With the bits ruled out, the sound itself is next. A structural pass over the PCM, computing the RMS of every 0.5 s window plus the sample extremes, shows why this track is not a recording:

$ python3 audio_analysis.py
samples=11207285 sr=44100 dur=254.13s min=-32768.0 max=32767.0

RMS envelope (per 0.5s), first 30s and last 30s:
first 30s: 23170 23171 23169 23170 23173 23170 23171 23170 23169 23170 23170 23169 ...
last 30s:  23169 23170 23170 23170 23170 23170 23172 23170 23170 23170 23170 23170 ...

Every window in the printed ranges sits at RMS 23170, and 32768 / sqrt(2) is 23170: that is the RMS of a full-scale sine wave. The samples also span the entire 16-bit range, minimum to maximum. A real recording’s loudness rises and falls; the sections at both ends of this track are pinned at full scale, which means they are synthetic, built from constant-amplitude tones. Signals like that are modems, not recordings.

To see what the tones are saying, we tracked the dominant frequency in 10 ms windows and run-length encoded the result:

#!/usr/bin/env python3
import wave
import numpy as np

w = wave.open('Echoes_of_Autumn.wav', 'rb')
n = w.getnframes(); sr = w.getframerate()
data = np.frombuffer(w.readframes(n), dtype='<i2').astype(np.float64)

def track(seg, label):
    win = 441  # 10 ms
    peaks = []
    for i in range(0, len(seg) - win, win):
        s = seg[i:i+win] * np.hanning(win)
        spec = np.abs(np.fft.rfft(s, 8192))
        fp = np.fft.rfftfreq(8192, 1/sr)
        mask = fp < 4000
        peaks.append(round(fp[mask][np.argmax(spec[mask])], 0))
    out, prev, cnt = [], None, 0
    for p in peaks:
        if p == prev:
            cnt += 1
        else:
            if prev is not None:
                out.append(f"{prev:.0f}x{cnt}")
            prev, cnt = p, 1
    out.append(f"{prev:.0f}x{cnt}")
    print(f"--- {label} ---")
    print(" ".join(out))

track(data[:10*sr], "first 10 s (peak freq per 10ms, Hz x count)")
track(data[120*sr:130*sr], "middle 120-130 s")
track(data[-10*sr:], "last 10 s")
$ python3 tone_track.py
--- first 10 s (peak freq per 10ms, Hz x count) ---
1900x30 1200x1 1900x30 1200x3 1297x9 1098x3 1297x9 1098x3 1200x4 1588x1 1593x8 ...
--- middle 120-130 s ---
0x1 54x1 0x4 92x1 0x7 97x1 0x4 237x1 0x2 226x1 0x4 215x1 0x2 253x3 237x1 ...
--- last 10 s ---
1545x4 1561x1 1943x1 1916x4 1200x1 1588x1 1545x7 1561x1 1841x1 1890x4 1200x1 ...

The opening is not a musical intro at all. It is a handshake, and its timings match the slow-scan television (SSTV, a ham radio scheme that transmits still pictures as audio) calibration header exactly: a 1900 Hz leader for 300 ms, a 1200 Hz break for 10 ms, a second 1900 Hz leader for 300 ms, a 1200 Hz break for 30 ms, and then the VIS code (VIS = Video Identification Signal, the byte that tells a receiver which transmission mode follows), eight bits at 30 ms each with 1100 Hz meaning 1 and 1300 Hz meaning 0. Reading the observed pattern 1297x9 1098x3 1297x9 1098x3 that way gives the bits 0001 0001: seven data bits 0001000, which is VIS code 8, the Robot 36 mode, plus a final even-parity 1. The scanline structure after it, pixel tones between roughly 1540 and 1980 Hz separated by 1200 Hz sync pulses, repeats through the last 10 s of the track too.

The middle of the track, by contrast, is not a transmission at all: in the 120-130 s window the dominant frequency jumps every 10 ms, broadband noise. A scan for the SSTV double leader over the whole file shows where the two transmissions actually live:

#!/usr/bin/env python3
import wave
import numpy as np

w = wave.open('Echoes_of_Autumn.wav', 'rb')
n = w.getnframes(); sr = w.getframerate()
data = np.frombuffer(w.readframes(n), dtype='<i2').astype(np.float64)

win = 441
flags = []
for i in range(0, len(data) - win, win):
    s = data[i:i+win] * np.hanning(win)
    spec = np.abs(np.fft.rfft(s, 8192))
    fp = np.fft.rfftfreq(8192, 1/sr)
    band = spec[(fp > 1700) & (fp < 2100)].max()
    total = spec[(fp > 200) & (fp < 4000)].max()
    flags.append(band > 0.35 * total)

runs, start = [], None
for k, f in enumerate(flags):
    if f and start is None:
        start = k
    if not f and start is not None:
        if k - start >= 25:          # 250 ms or more of 1900 Hz
            runs.append((round(start*0.01, 2), round((k-start)*0.01, 2)))
        start = None
print("long 1900 Hz runs (start s, len s):", runs)
$ python3 find_headers.py
long 1900 Hz runs (start s, len s): [(0.0, 0.3), (0.31, 0.3), (38.88, 0.58), (58.16, 0.25), (65.4, 0.3), (72.45, 0.26), (167.25, 0.25), (217.22, 0.3), (217.53, 0.3)]

Several of those runs sit in the noise-filled middle of the track, where the filler’s spectrum wanders into the 1900 Hz band, but four of them form two pairs: a double 300 ms leader at 0.00 s and a double 300 ms leader at 217.22 s. Those are the only double leaders in the file. A Robot 36 frame takes 36 seconds to transmit, so the second image runs from 217 s to within a second of the 254.13 s end of the track. Two SSTV images, one at each end: the checklist’s “start and end” wording is literal.

Decoding the two frames

We piped the WAV through the sstv Python package (pip install sstv), a decoder that searches for calibration headers and demodulates the scan lines behind them:

import sstv

imgs = sstv.decode_from_wav('Echoes_of_Autumn.wav')
print(f"decoded {len(imgs)} image(s)")
for i, im in enumerate(imgs):
    print(f"image {i}: mode={im.info.get('sstv_mode')} "
          f"complete={im.info.get('sstv_complete')} size={im.size}")
    im.save(f'sstv_{i}.png')
$ python3 decode_sstv.py
decoded 2 image(s)
image 0: mode=Mode.ROBOT_36 complete=True size=(320, 240)
image 1: mode=Mode.ROBOT_36 complete=True size=(320, 240)

Both transmissions decode completely as 320x240 Robot 36 frames. The first frame announces itself as WATERMARK (PART 1/2) and its text band reads NVR{Th6_; the second says WATERMARK (PART 2/2) and its text band carries the rest of the flag:

The first decoded SSTV frame, announcing WATERMARK (PART 1/2) and carrying the first half of the flag

The second decoded SSTV frame, announcing WATERMARK (PART 2/2) and carrying the second half of the flag

Flag capture

At 320 pixels wide, the rendered text leaves one ambiguity. The glyph between F and n in the second half could be a digit 1 at that resolution. Zooming into the 4x upscaled text bands settles the reading: the closing glyph of the first half is a single-bowl 6, not a 3, and the ambiguous glyph in the second half is a capital I, the letter, not the digit:

4x upscale of the text band of the first frame, showing the half ending in a single-bowl 6

4x upscale of the text band of the second frame, where the capital I versus digit 1 distinction lives

Read in order and joined at the split, the two halves spell leetspeak for “The Final Echo”, which matches the track name Echoes_of_Autumn:

NVR{Th6_FIn4l_3ch0}