TLBleed: When Protecting Your CPU Caches Is Not Enough
summary
TLBleed demonstrates a practical TLB side channel that bypasses cache defenses (CAT, TSX and cache-coloring) by reverse-engineering undocumented TLB set/way and hash behavior across Intel microarchitectures and monitoring timing of TLB evictions. It uses machine learning (SVM) to interpret noisy temporal traces from a co-resident hyperthread and successfully recovers a 256-bit EdDSA key from libgcrypt with a 98% success rate from a single signing trace and 17 seconds analysis, and also leaks bits from a side-channel resistant RSA.
AI-written summary · about
chapters (13)
- 0:00Intro
- 0:59OVERVIEW
- 1:36SIDE CHANNELS
- 3:02INSIDE A CPU
- 4:36SIDE CHANNEL ATTACKS ON SHARED RESOURCES
- 6:03EXAMPLE: FLUSH+RELOAD
- 11:10EXAMPLE: LIBGCRYPT ECC
- 12:48CACHE PARTIONING
- 13:24CACHE COLOURING
- 16:35CACHE PARTITIONING: CAT
- 23:44TLBLEED: TLB AS SHARED STATE
- 26:49TLB IS JUST ANOTHER CACHE
- 39:41TLBLEED RELIABILITY
