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

More in Systems & Hardware

Strictly C

A portability lab for systems courses that compiles each student's C code under several compilers, standards, and architectures, then explains every place where the program relied on undefined, unspecified, or implementation-defined behavior.

Systems & HardwareTeaching toolMediumOct 15, 2026

Build Your Own Borrow Checker

A staged compilers or PL course project where students implement ownership, moves, and borrow checking for a tiny Rust-like language, ending with a fuzzing hunt for unsound programs their own checker wrongly accepts.

Systems & HardwareClass assignmentLargeOct 14, 2026

Build Your Own Static Recompiler

A staged compilers assignment in which students translate CHIP-8 (then a small 6502 subset) ROMs ahead of time into WebAssembly, using their own interpreter as the oracle that proves every recompiled program behaves identically.

Systems & HardwareClass assignmentLargeOct 12, 2026

Lockstep Lab

A browser lab for teaching deterministic lockstep and rollback netcode: two or more simulated RTS clients run side by side over a configurable fake network, and students watch exactly when and why their states desync.

BuiltSystems & HardwareProduct for a businessOct 12, 2026

All 39 ideas in Systems & Hardware →