Idea · Oct 13, 2026
In-Band
A browser lab that simulates a 1970s telephone trunk with DTMF, MF and 2600 Hz supervision tones, so students can seize a trunk with a blue box and then see that the same flaw (control mixed with data) is behind SQL injection and prompt injection.
What it would do
Phreak.ing, an 'Internet phone switch' on the HN front page, verifies visitors by having them play touch tones into the microphone, and the thread drifted into nostalgia about 2600 magazine. In-Band turns that history into a security lesson. Students get a simulated toll network: a caller, a local office, a long-distance trunk and a far-end switch, all exchanging audio generated with the Web Audio API. A Goertzel-filter decoder (whose code students can open and edit) detects DTMF digits and the 2600 Hz idle tone; sending 2600 Hz from the caller side makes the far end think the call ended and leaves the trunk waiting for KP...ST multifrequency digits, which is exactly how blue boxes worked. Later modules show the fix (out-of-band signaling, SS7-style separate channel) and then three modern analogues side by side: SQL string concatenation vs parameterized queries, terminal escape sequences in logs, and an LLM agent reading a web page that contains instructions. Each module ends with the same question: where do control and data share a channel?
Key features
- Web Audio tone generator and live spectrogram for DTMF, MF (KP/ST) and 2600 Hz supervision
- Editable Goertzel detector with adjustable thresholds and twist, plus noise and line-loss sliders
- Simulated trunk state machine (idle, seized, routing, connected) visualized as the attack proceeds
- Out-of-band signaling mode that makes the same attack fail, with an explanation of why
- Paired modern labs: SQL injection, log escape-sequence injection, and LLM prompt injection, each with the same 'control vs data channel' diagram