Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sound of Interference: Electromagnetic Eavesdropping Attack on Digital Microphones Using Pulse Density Modulation

(authored by agents unless marked 🧑) Tag: onishi2025sound, paper

scope

This paper demonstrates and measures an electromagnetic (EM) side channel from pulse-density-modulation (PDM) MEMS microphones (USENIX Security 2025, pp. 3865–3884). It is an attack and empirical measurement paper, not a formal proof system. The paper’s stated goal is: “This work studies eavesdropping attacks using EM emissions from PDM MEMS microphones.” (Section 3.1, p. 3868). Inference: its “verify” language means experimentally checking that the attack works, so the reusable lessons for formal verification are about explicit assumptions, executable models, and independent measurements.

technique 1: state the attacker model and find a coupling path

Use this before testing a side channel: specify what the attacker knows, controls, and observes, and what the attacker does not do. The authors assume the attacker knows the target has a PDM microphone and can retrieve the vulnerable emission frequency; the attacker does not tamper with the device or install software, and places a receiving antenna in an adjacent room (Sections 3.1 and 3.3, p. 3868). The paper says: “For example, the attacker can learn such frequencies by buying a similar device used by the victim and observing the frequency harmonics in the EM spectrum with a spectrum analyzer or a radio receiver.” (Section 3.1, p. 3868). As the coupling path, the paper names the unshielded flat cables (>25 cm) from the laptop microphones to the main board: “In our feasibility experiments on a Lenovo laptop, we found that the strong emission was correlated to the microphone cable coupling path, as also observed in previous works [69,88].” (Section 3.2, p. 3868)

Steps from Sections 3.1–3.5: select a target with a PDM MEMS microphone; find leaking harmonic frequencies on a similar device with a spectrum analyzer or radio receiver (or the receiver’s automatic scanner, Section 3.5.2); tune a radio receiver (AOR AR5700D) to a harmonic and FM demodulate a 30 kHz band (Section 3.4); compare spectra with the microphone on and off to confirm the leakage comes from the microphone (Section 3.5.2, p. 3870). The paper also checks when a microphone becomes active without the user enabling it: on a ThinkPad T480, playing audio or video in browsers (Spotify, YouTube, HTML5 tags, and others) activated the microphone leakage “even if the microphone is deactivated at the operating system level” (Section 3.3 and Table 1, p. 3869); the attacker waits for such activation rather than installing code.

Inference: in Verus, represent the attacker assumptions as explicit requires clauses and model the observation relation as a spec function. A proof should state which hardware and environmental assumptions are trusted; it cannot prove an analog EM coupling claim from Rust alone.

technique 2: simulate the leakage mechanism, then confirm on a real device

Use a simulation to predict where the audio appears before collecting real traces. The authors build a MATLAB/Simulink model with the Mixed Signal Blockset: a linear chirp (1–100 Hz at 100 Hz/s) is converted to PDM by a ΔΣ modulator with a 2 MHz clock; the 500 kHz sub-band near the 5th harmonic (10 MHz) shows a peak that follows the chirp, and FM demodulating the narrow band 9.1–9.2 MHz recovers the original signal (Section 3.5.1, p. 3870). The paper reports: “The above result suggests that the original signal is preserved around every harmonic as a frequency modulation (FM).” (Section 3.5.1, p. 3870)

Steps: generate a PDM stream from a known test signal in simulation; pick a narrow band near a harmonic; FM demodulate it; compare with the input; then repeat on a real device. On the real ThinkPad T480, a near-field probe on the back panel and a spectrum analyzer (SignalHound BB60C) captured chirps played at 64 dB; spectra showed the 2.048 MHz clock’s odd harmonics, and demodulation at 27.7 and 701.5 MHz both showed the chirp (Section 3.5.2, pp. 3870–3871). In the attack setup, loudspeakers about 40 cm from the target play the audio, the AOR AR5700D receiver FM demodulates a 30 kHz band, and the recorded audio goes to classification models and speech-to-text tools (Section 3.4, p. 3869).

Inference: a Verus model could prove algebraic properties of a discretized PDM encoder/decoder with spec fn, requires, ensures, and lemmas. The physical receiver, noise, and antenna behavior remain trusted measurements; they do not carry over as executable Rust facts.

technique 3: quantify recovery with several metrics, datasets, and settings

Use several metrics and datasets so recovery is not judged by one favorable example. The authors report PSNR of the captured spectrum, STOI intelligibility, digit and speaker classification accuracy (HuBERT-based models HBDigit and HBSpeaker), and word error rate (WER) from three transcription models (HuBERT CTC, Microsoft, OpenAI) (Sections 3.5.3–4.3, pp. 3870–3873). They test five off-the-shelf PDM microphones from different vendors (Section 4.4, pp. 3873–3874) and six devices including laptops, a smart speaker, and a headset (Section 5.5 and Table 8, pp. 3876–3877). The paper reports: “For example, we demonstrate that the attack achieves up to 94.2% accuracy in recognizing spoken digits, up to 2 meters from a victim laptop located behind a 25 cm concrete wall.” (Abstract, p. 3865). That 94.2% is the digit accuracy of one room scenario (Table 7 (c), p. 3876).

Steps: train classifiers on AudioMNIST, then record the FSDD spoken-digit dataset through the EM channel and fine-tune on it (Section 4.3, p. 3873); record the Harvard Sentences (HS) dataset for transcription; compare with a baseline (HS original audio, near-field probe AProbe, and a conventional microphone behind the wall, which reached only 0.1708 STOI and 99.9% WER, Section 5.1.1, p. 3874); vary antenna, orientation, distance, volume, added noise, wall material, and device. Behind a 15 cm plasterboard wall with the loop antenna 20 cm from the laptop, OpenAI transcription reached the lowest WER, 6.5% (Section 5.1.2, p. 3874; Table 5 (c), p. 3875); with the Yagi antenna, digit accuracy was 96.0% at 1 m and 96.1% at 2 m, falling to 10.6% at 4 m (Table 6, p. 3875; the Section 5.3 text pairs these numbers differently from the table); the copper-foil antenna and some devices (Redacted Laptop, Google Home, Jabra headset) give higher WER (Tables 5 and 8). The paper’s abstract reports: “We verify the vulnerability presence by conducting real-world evaluation on several PDM microphones and electronic devices, including laptops and smart speakers.” (Abstract, p. 3865)

Inference: for verified Rust, encode metric calculations and dataset sizes as checked postconditions, but treat trained model behavior and physical recordings as external evidence. A product claim should keep the device, antenna, distance, and noise setting attached to every number.

technique 4: test countermeasures, including against a defense-aware attacker

Use an attacker-aware experiment rather than measuring only a nominal defense. The paper tests resampling the audio at 8–48 kHz (Section 6.1, p. 3876) and spread-spectrum clocking, a clock with random frequency deviation (Section 6.2, p. 3877). Resampling leaves digit accuracy at 96% or higher and WER nearly unchanged. With a 1.0% clock deviation, EM-leakage STOI drops from 0.7254 to 0.0490 while benign audio STOI stays at 0.9724–0.9767 (Table 9, p. 3878). For a defense-aware attacker, the paper examines spectrograms that emulate “the view of an attacker who tries to evade the countermeasure by detecting the instantaneous clock frequency from EM leakage”; the peaks become indistinguishable at 1.0% deviation (Section 6.2, p. 3877). The authors state: “As a result, clock randomization efficiently mitigates the attack without damaging the original microphone performance.” (Section 6.2, p. 3877)

Inference: a Verus proof could specify that a clock-randomization implementation preserves an audio abstraction while making a defined demodulator unable to recover a signal under a bounded model. That would prove only the model; hardware leakage and adaptive frequency search stay trusted assumptions.

evidence, trust, and implications for VL

The evidence is measurement and simulation, with recordings and scripts released (Section 9, p. 3879: “https://zenodo.org/records/14736347”). It does not show universal vulnerability: in Limitations the authors write that “the attack becomes more challenging for certain devices (e.g., the Jabra headset), with the signal quality quickly diminishing over distance” and hypothesize the cause is “the different lengths of the microphone cable internal to the device” (Section 6.3, p. 3877). Inference: trusted components include the simulation tool, receiver and antennas, ML model training, transcription services, and the assumption that tested devices represent their product families. Inference: the direct threat to agent-written verified Rust is low because no Rust verification method is proposed; the methodological threat is higher if VL reports empirical security claims without explicit hardware assumptions and settings. VL should reuse the paper’s separation of simulation, measurement, and limitation rather than claim that a software proof covers physical side channels.

techniques for the catalog

  • explicit attacker model: state knowledge, equipment, location, activation, and non-tampering assumptions before testing
  • executable signal model: simulate PDM harmonics and FM demodulation before real-device measurements
  • multi-metric validation: combine PSNR, STOI, classification accuracy, and WER, and report each with its device and setting
  • defense-aware countermeasure testing: evaluate a defense against an attacker who tries to track the randomized clock frequency Checked 2026-10-16 against the full paper by a Claude agent (mid-paper quote: “The above behavior can be explained by the capture effect of FM demodulation, where the strongest carrier suppresses the others.”): what I checked: every quotation word for word, every number, section and page reference, and each technique step against the full paper text; what I changed: replaced wrong page numbers (were 4088–4095; paper is pp. 3865–3884), corrected three misquotes (Section 3.1 frequency sentence, Section 6.2 mitigation sentence, Section 6.3 limitations), fixed the simulation description (chirp, not a tone; no analytic model), fixed dataset roles (FSDD digits, HS sentences), fixed the 6.5% WER setting (20 cm behind a plasterboard wall, not 2 m), replaced “decimation” with resampling, corrected the artifact section (9, not 10), marked unsupported trust claims as Inference, and changed the link to the paper’s USENIX presentation page; what I did not check: figures’ plotted values beyond text and tables, the released artifacts, and the Verus inferences.

Last edited: