WALNUT Attack Demo
A — Secure Design
LPF cutoff 200 Hz < 3 kHz attack → carrier blocked
① 3 kHz attack input
② after LPF 200 HzBLOCKED → ZERO
③ ADC sampling (analog + dots)
④ reconstructed outputNO INTERFERENCE
B — Insecure LPF
LPF cutoff 4 kHz > 3 kHz attack → carrier reaches ADC
① 3 kHz attack input
② after LPF 4 kHzPASSES THROUGH
③ ADC at 800 Hz sampling the 3 kHz signal (analog + dots)
④ reconstructed output200 Hz ALIAS
C — Insecure Amplifier
Clipping amp distorts the AM signal — symmetry determines whether DC offset appears
① 3 kHz attack input (shared)
Symmetric ClippingNO DC OFFSET
Clips both positive and negative peaks equally
② after symmetric clipping (±clip)
③ after LPF → zero (symmetric → no DC)
④ ADC sampling (analog + dots)
⑤ reconstructed outputNO SHIFT
Asymmetric ClippingDC OFFSET
Clips only negative peaks → half-wave rectification → DC bias
② after asymmetric clipping (neg. clipped)
③ after LPF → constant DC bias
④ ADC sampling (analog + dots)
⑤ reconstructed outputCONSTANT SHIFT