Optimization And Amplification Of Cache Side Channel Signals
summary
Gadgets exploit CPU speculation to flip or copy cacheline presence before timing, implementing an inverter, replicator and single-stage amplifier then a self-reinforcing loop that reaches a 700K amplifier and yields amplification >2 million×. Tested on modern x86/AMD, the pipeline tricks let a coarse 100ms timer recover bits and — when tuned — give near 100% accuracy. Works for binary search and a cacheline counter, but hits a practical 128 fan-in limit and degrades with system noise and long runs.
AI-written summary · about
chapters (15)
- 0:00Introduction to cache side channels
- 1:06Three phases of cache side channels
- 2:51Basic primitives and signal inversion
- 4:14Forced misprediction gadget
- 7:23NAND gate with cache lines
- 8:25Replicator and NOR gadgets
- 9:08Problem of timing measurements
- 9:30Single stage amplifier
- 11:14Self-reinforcing amplifier
- 12:38Amplification results and timers
- 14:02Binary search with cache lines
- 16:51Cache line counter
- 19:39Key takeaways and mitigations
- 22:47Future work and open questions
- 24:12Q&A and closing
