HDMI: the step-by-step breakdown
From Adam Rosler. The thing you commented HDMI for: how a team turned the radio leaking from an HDMI cable back into readable text.
What the reel showed
Santiago Fernández, Emilio Martínez, Gabriel Varela, Pablo Musé and Federico Larroca (Universidad de la República, Uruguay; LADC 2024, "Deep-TEMPEST") put a small antenna near a monitor's HDMI cable, tuned a software-defined radio to a harmonic of the pixel clock, and trained a neural network to turn the raw radio samples back into the screen. The old tool (gr-tempest) got 92.2 % of characters wrong; their network got 29.8 %. A re-run of their released model on their 300 released real test captures: 35.9 % of characters wrong on average, 21.2 % for the median screen, 1.6 % on the best.
How their pipeline works (read along with the paper)
- Capture: an SDR (a USRP B200mini), an amplifier and filters, tuned to the 3rd harmonic of the pixel rate (324 MHz for 1600x900 at 60 Hz), with the antenna close to the cable.
- Line up the frame: resample so each screen line is a whole number of samples (as gr-tempest does).
- Don't throw away the phase: feed the network the complex (I and Q) samples, not just the magnitude.
- Undo it: a DRUNet (a residual U-Net) trained on pairs of captures and the true screens, with an L2 loss plus total variation.
- Make data cheaply: a simulator of HDMI's encoding and the radio made 2,189 fake captures. Pre-training on those, then fine-tuning on just 10 % of the real captures, matched training on all of the real ones.
- Measure: OCR (Tesseract) on the output vs the real screen: the character error rate.
Their code, dataset and pre-trained model: github.com/emidan19/deep-tempest (GPL-3.0-or-later).
The lesson for anyone training a model
When real data is slow or expensive to collect, a decent simulator of the process plus a small slice of real data can match a model trained on all of it. Spend the effort on the simulator.
Protect yourself
- Their tests: faint noise (barely visible) or a soft colour gradient behind text broke their network's output.
- Distance and shielding are the classic defences: their antenna had to be close to the cable.
Source: Fernández, Martínez, Varela, Musé & Larroca, "Deep-TEMPEST", LADC 2024 (arXiv:2407.09717).
Unlock the full HDMI breakdown
Drop your email once to read the complete step-by-step guide, grab the files, and unlock all 96 Reel breakdowns on this device forever.