ARROGANT
A black-hat hacker recently leaked this video online to taunt investigators, claiming that his entire server password is scattered right inside the footage—yet “the police will never be able to see it.” Prove that justice is always one step ahead of him.
Flag format: NVR{…}
Attachments
Recon
The download is a single archive that unpacks to one 13.7 MB MKV, a 70-second video. The flag format is NVR{...}. The description promises a password scattered through footage nobody can see, so we expect several pieces hidden outside normal playback, and we start by asking the container what it actually holds.
What the container says about itself
The outer archive is the first thing to rule out. It contains exactly one file and nothing else:
$ unzip -l challenge.zip
Archive: challenge.zip
Length Date Time Name
--------- ---------- ----- ----
13732829 11-24-2026 06:28 challenge.mkv
--------- ---------- ----- ----
13732829 1 file
So the video is the artifact. ffprobe gives the stream inventory:
$ ffprobe -hide_banner challenge.mkv
Input #0, matroska,webm, from 'challenge.mkv':
Metadata:
title : Behind The Lens
COMMENT : What you see on the surface is never the whole story.
MAJOR_BRAND : mp42
...
ENCODER : Lavf62.3.100
Duration: 00:01:10.81, start: 0.000000, bitrate: 1551 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, progressive), 1420x590 [SAR 1:1 DAR 142:59], 30 fps, 30 tbr, 1k tbn (default)
...
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)
...
Stream #0:2: Video: h264 (High 4:4:4 Predictive), gbrp(pc, gbr/unknown/unknown, progressive), 1280x720, 1 fps, 2 tbr, 1k tbn
...
Stream #0:3: Subtitle: ass (ssa) (default)
Three things stand out here. Stream 0:2 is a second video track with no (default) marker, so players that follow the default flag never display it. Its profile is High 4:4:4 Predictive with the gbrp (planar RGB) pixel format, meaning RGB is stored without chroma subsampling and any per-pixel payload survives encoding intact. And the metadata, title “Behind The Lens” plus the comment “What you see on the surface is never the whole story.”, reads like an invitation to look past the surface track. The ASS subtitle format is also the styling-capable one, so we look there next.
Subtitles nobody can see
We pull the subtitle track out on its own:
ffmpeg -i challenge.mkv -map 0:3 subs.ass
The file has two styles and 28 dialogue lines:
$ grep -c '^Dialogue' subs.ass
28
An excerpt shows the pattern, and the style definitions show what makes the two kinds of lines different:
Style: Normal,Arial,36,&H00FFFFFF,&H000000FF,&H00000000,&H80000000,0,0,0,0,100,100,0,0,1,2,1,2,20,20,35,1
Style: Clue,Arial,36,&H00FFFFFF,&H000000FF,&H00000000,&H80000000,0,0,0,0,100,100,0,0,1,2,1,2,20,20,35,1
Dialogue: 0,0:00:07.98,0:00:09.98,Normal,,0,0,0,,There's no point in fighting.{\alpha&HFF&} [key: U]
Dialogue: 0,0:00:09.98,0:00:11.98,Clue,,0,0,0,,There's no point in fighting everyday.{\alpha&HFF&} [key: B]
Dialogue: 0,0:00:11.98,0:00:13.98,Clue,,0,0,0,,You can't see me.{\alpha&HFF&} [key: 3]
Every dialogue line ends with {\alpha&HFF&}, an ASS override that sets alpha to 0xFF (255, fully transparent). The subtitles are rendered, but no viewer ever sees them, which is the challenge’s taunt made literal. Each line also carries a single character in a [key: X] marker. The two styles are byte-identical apart from their names, so the style field is the only thing that can act as a selection rule over the key characters. Which style is the real one is not something the file tells us, so we leave that question open for now.
A ZIP glued to the end of the file
Matroska is an EBML container, and there is no reason for a ZIP local-file-header signature to appear inside one, so a scan for PK\x03\x04 is a cheap check:
$ python3 -c "
data = open('challenge.mkv','rb').read()
print('size', len(data))
i = data.find(b'PK\x03\x04')
print('PK offset', i)
print('bytes after PK', len(data)-i)
"
size 13732829
PK offset 13732709
bytes after PK 120
There is a 120-byte ZIP appended after the MKV data ends. We carve it off and look inside:
$ tail -c 120 challenge.mkv > eof.zip
$ unzip -l eof.zip
Archive: eof.zip
Length Date Time Name
--------- ---------- ----- ----
8 11-24-2026 05:28 key.txt
--------- ---------- ----- ----
8 1 file
$ unzip -p eof.zip key.txt | xxd
00000000: 334e 535f 3230 3236 3NS_2026
key.txt holds 3NS_2026. That does not match the NVR{...} format, so it is not the flag on its own. It reads like the tail of a leetspeak phrase, something ending in ”…ENS 2026”, so we bank it as one password fragment.
The hidden video track
Back to stream 0:2. We dump it frame by frame. The track runs 00:01:07 at 1 fps, so we expect around 67 frames:
$ ffmpeg -i challenge.mkv -map 0:2 -fps_mode passthrough frames/f_%04d.png
$ ls frames/f_*.png | wc -l
67
The frames show a white page with a gray document border and no readable content. Our eyes are not the right tool here, so we count the actual pixel colors in a frame:
$ python3 - <<'EOF'
from PIL import Image
import numpy as np
a = np.array(Image.open('frames/f_0001.png').convert('RGB'))
mask = ~np.all(a == 255, axis=2) # every pixel that is not pure white
cols, counts = np.unique(a[mask], axis=0, return_counts=True)
for c, n in sorted(zip(cols.tolist(), counts.tolist()), key=lambda t: -t[1]):
print(tuple(c), n)
EOF
(240, 255, 255) 17030
(225, 225, 225) 7946
The entire frame uses only two colors. The (225,225,225) pixels form the document border, and everything inside is (240,255,255) on a pure white background. The red channel differs by 15 out of 255, about 6%, which is why the text is invisible on screen. A contrast stretch that maps the red channel’s 240..255 range onto 0..255 turns the faint color into readable dark text:
r = np.clip((a[:, :, 0] - 240) * (255 / 15), 0, 255)
The raw frame next to the stretched one:


The enhanced frame reads:
XOR CIPHER (HEX):
0C 65 1A 4A 7F 1B 3E 01 6C
3A 3B 66 6D 72 0B 45 36 4E
VAULT_SEC: 00
Before trusting one frame, we diffed frame 1 against every later frame to see whether the other 66 say something different; frame 42’s diff is representative:
$ python3 - <<'EOF'
from PIL import Image
import numpy as np
a = np.array(Image.open('frames/f_0001.png').convert('RGB')).astype(int)
b = np.array(Image.open('frames/f_0042.png').convert('RGB')).astype(int)
ys, xs = np.where(np.abs(a - b).sum(axis=2) > 0)
print('changed pixels:', len(xs))
print('x:', xs.min(), '-', xs.max(), ' y:', ys.min(), '-', ys.max())
EOF
changed pixels: 227
x: 332 - 357 y: 520 - 537
In frame 42, 227 pixels differ, all inside one 26x18 patch in the middle of the page, and every other frame’s diff against frame 1 lands inside the same patch. That patch is the VAULT_SEC counter, which counts the frames (00 on frame 1 up to 42 hex on frame 67, a count of 0 to 66), while the 18 payload bytes are identical in every frame. VAULT_SEC is decoration, and any frame gives the same ciphertext.
Putting the password together
We now have 18 bytes of XOR ciphertext and two open questions from earlier, which style of subtitle is the real one, and how the fragments join. The Clue keys in timeline order:
$ grep '^Dialogue.*Clue' subs.ass | sed 's/.*\[key: //; s/\]//'
B
3
H
1
N
D
_
L
That spells B3H1ND_L, “BEHIND_L” in leetspeak, from 8 of the 28 lines. Running the same grep with Normal swapped in gives the keys of the other 20 lines, U 0 Y E 0 P Q 4 0 S M B H J R R M Y 1 4 in timeline order, and they concatenate to nothing meaningful, so they look like decoys.
Eight bytes are what we have, so that is what we test first. Repeating-key XOR of the 18 ciphertext bytes with B3H1ND_L:
data = bytes.fromhex('0C651A4A7F1B3E016C3A3B666D720B45364E')
key = b'B3H1ND_L'
print(bytes(b ^ key[i % len(key)] for i, b in enumerate(data)))
b'NVR{1_aM.\tsW#6T\tt}'
One key period decodes cleanly, NVR{1_aM, and the text turns to noise the moment the key wraps. So the fragment is the real key head, the plaintext is the flag itself, and the key simply continues past eight bytes.
The container’s own title metadata is “Behind The Lens”, which supplies the continuation in the same leetspeak, L3NS, followed by the year: B3H1ND_L3NS_2026, “BEHIND LENS 2026”, sixteen bytes. Running the same one-liner with the extended key prints eighteen fully printable bytes opening with the flag format, so the assembled password is the key; the final command shows it end to end.
Flag capture
$ python3 - <<'EOF'
data = bytes.fromhex('0C651A4A7F1B3E016C3A3B666D720B45364E')
key = b'B3H1ND_L3NS_2026'
print(bytes(b ^ key[i % len(key)] for i, b in enumerate(data)).decode())
EOF
NVR{1_aM_th9_B9st}