d4rk{M1KU_G0T_C4UGHT_US1NG_0P1UM_4ND_M3T4M3T4PH1N3}
Summary
The target is a single static page — a Hatsune Miku one-screen fan stage served by nginx
1.31.8. The hidden payload is a Morse transmission stashed in a data-morse attribute
on the "Tune in" button; the page's own JS only renders those tokens as a 700 Hz audio
"broadcast", so the message is recoverable straight from the HTML. Decoding is two layers:
Morse (using ..--.- = underscore) yields a leetspeak string, then ROT13 (digits
are leet and untouched) yields the real message. Two flag-shaped strings are planted on the
page as decoys; a naive grep d4rk finds the wrong one.
Live target: http://<target>/ (event mirror of
https://<target>).
Solution / Exploit
1. Fingerprint and scrub the page
The root serves a 29,880-byte index.html with ETag 6af9661a-74b8 and
Last-Modified 07:58. Everything on the surface is a normal Miku fan page.
Scrubbing the delivered HTML found nothing in the usual stego channels:
- no leftover HTML comments,
- no zero-width characters,
- no trailing-whitespace / tab stego,
- no extra files on the web root —
robots.txt,.git/*,.env, backups, source maps and archives all return the stock nginx 404, and only the stock/50x.htmlexists.
2. The hidden payload — a data-morse attribute
The message is carried on the "Tune in" button:
<button ... data-morse="--.. .---- -..- .... ..--.- - ----- --. ..--.-
.--. ....- .... - ..- --. ..--.- .... ..-. .---- .- - ..--.-
----- -.-. .---- .... --.. ..--.- ....- .- --.- ..--.-
--.. ...-- --. ....- --.. ...-- --. ....- -.-. ..- .---- .- ...--">
The JS behind the button just plays those tokens back as 700 Hz audio (the "broadcast"), so there is no need to listen — the transmission is read directly from the attribute.
3. Layer 1 — Morse
..--.- is the underscore in the ITU/Morse-with-punctuation set. Decoding the tokens
gives:
Z1XH_T0G_P4HTUG_HF1AT_0C1HZ_4AQ_Z3G4Z3G4CU1A3
That is still leetspeak gibberish, so a second layer is needed.
4. Layer 2 — ROT13
The decoded string is ROT13-encoded (digits are leet and unchanged). Z1XH → M1KU
confirms the shift:
M1KU_G0T_C4UGHT_US1NG_0P1UM_4ND_M3T4M3T4PH1N3
Wrapped in the given d4rk{...} template, that is the flag.
5. Reproduce with solve.py
solve.py reproduces both layers from the token string:
1#!/usr/bin/env python3
2"""Message from miku (h4ckc0n 2026, Forensics 200).
3
4Static site at http://<target>/ (mirror of
5https://<target>).
6
7Only one hidden payload survives scrubbing (no comments, no zero-width,
8no trailing-whitespace stego, no extra files on the nginx root): the
9"Tune in" button carries the transmission in data-morse="...".
10
11Layer 1: Morse (with ..--.- = underscore)
12Layer 2: ROT13 over the decoded letters (digits are leet and unchanged)
13"""
14import codecs
15
16MORSE = {
17 '.-': 'A', '-...': 'B', '-.-.': 'C', '-..': 'D', '.': 'E', '..-.': 'F',
18 '--.': 'G', '....': 'H', '..': 'I', '.---': 'J', '-.-': 'K', '.-..': 'L',
19 '--': 'M', '-.': 'N', '---': 'O', '.--.': 'P', '--.-': 'Q', '.-.': 'R',
20 '...': 'S', '-': 'T', '..-': 'U', '...-': 'V', '.--': 'W', '-..-': 'X',
21 '-.--': 'Y', '--..': 'Z',
22 '-----': '0', '.----': '1', '..---': '2', '...--': '3', '....-': '4',
23 '.....': '5', '-....': '6', '--...': '7', '---..': '8', '----.': '9',
24 '..--.-': '_',
25}
26
27TOKENS = (
28 "--.. .---- -..- .... ..--.- - ----- --. ..--.- .--. ....- .... - ..- --."
29 " ..--.- .... ..-. .---- .- - ..--.- ----- -.-. .---- .... --.. ..--.- "
30 "....- .- --.- ..--.- --.. ...-- --. ....- --.. ...-- --. ....- -.-. ..-"
31 " .---- .- ...--"
32)
33
34raw = ''.join(MORSE[t] for t in TOKENS.split())
35msg = codecs.decode(raw, 'rot13')
36print('morse ->', raw)
37print('rot13 ->', msg)
38print('flag -> d4rk{%s}' % msg)
6. Decoys (organisers confirmed one exists)
Two flag-shaped strings are planted on the page and are not the answer:
<b class="tx-id">d4rk{TX_0039_A}</b>inside thearia-hidden"readout" block — a transmission ID, not a message.The JSON script block at the bottom of the page:
json 1{"archive_reference":"d4rk{d0nt_t3ll_th3_p0l1c3_p75}","site":"M3554G3 FR0M M1KU","version":"2.0"}This is the planted decoy flag (the "don't tell the police" joke). It is exactly what a naive
grep d4rkfinds; the actual message is only revealed by decoding the broadcast.
Flag(s)
d4rk{M1KU_G0T_C4UGHT_US1NG_0P1UM_4ND_M3T4M3T4PH1N3}
Alternates (flag-shaped strings that appear on the page, listed by the deliverable README but planted decoys, not the answer):
d4rk{TX_0039_A}— thearia-hidden"readout" transmission ID, not a message.d4rk{d0nt_t3ll_th3_p0l1c3_p75}— the site-metadataarchive_referenceJSON value, the planted "don't tell the police" decoy.
Notes / Pitfalls
grep d4rkgives you the decoy. The obvious flag-looking strings are bait; the real message only appears after decoding thedata-morseattribute. The organisers confirmed a decoy exists.M3T4M3T4PH1N3is intentional. It decodes literally to "METAMETAPHINE" (the author's spelling) — the flag must be submitted exactly as decoded, not corrected to "methamphetamine"...--.-= underscore. Decoding Morse with a table that lacks the punctuation entries leaves the separators as garbage; the underscore codepoint is what makes the string split into readable words.- Digits are leet, not ROT13'd. ROT13 only touches A-Z, so the leet digits (
1,0,4,3) pass through unchanged andZ1XH→M1KUis the confirmation the shift is 13. - No offline artifact needed. Unlike a forensics disk/memory challenge, everything is in the served HTML — the audio "broadcast" is a red herring since the tokens are right there in the markup.