Lune

USENIX Security2018Top-tier venue

Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks

Ben Gras, Kaveh Razavi, Herbert Bos, Cristiano Giuffrida

Abstract

To stop side channel attacks on CPU caches that have allowed attackers to leak secret information and break basic security mechanisms, the security community has developed a variety of powerful defenses that effectively isolate the security domains. Of course, other shared hardware resources exist, but the assumption is that unlike cache side channels, any channel offered by these resources is insufficiently reliable and too coarse-grained to leak general-purpose information. This is no longer true. In this paper, we revisit this assumption and show for the first time that hardware translation lookaside buffers (TLBs) can be abused to leak fine-grained information about a victim's activity even when CPU cache activity is guarded by state-of-the-art cache side-channel protections, such as CAT and TSX. However, exploiting the TLB channel is challenging, due to unknown addressing functions inside the TLB and the attacker's limited monitoring capabilities which, at best, cover only the victim's coarse-grained data accesses. To address the former, we reverse engineer the previously unknown addressing function in recent Intel processors. To address the latter, we devise a machine learning strategy that exploits high-resolution temporal features about a victim's memory activity. Our prototype implementation, TLBleed, can leak a 256-bit EdDSA secret key from a single capture after 17 seconds of computation time with a 98% success rate, even in presence of state-ofthe-art cache isolation. Similarly, using a single capture, TLBleed reconstructs 92% of RSA keys from an implementation that is hardened against FLUSH+RELOAD attacks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

126 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • SMoTherSpectre: Exploiting Speculative Execution through Port Contention cites Port Contention for Fun and Profit
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling cites SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites Port Contention for Fun and Profit
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites Fallout: Leaking Data on Meltdown-resistant CPUs
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites SMoTherSpectre: Exploiting Speculative Execution through Port Contention
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Fallout: Leaking Data on Meltdown-resistant CPUs cites ASLR on the Line: Practical Cache Attacks on the MMU
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers126

  1. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck et al.CCS 2019 · 464 citations
  2. Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss et al.CCS 2019 · 289 citations
  3. SMoTherSpectre: Exploiting Speculative Execution through Port ContentionAtri Bhattacharyya, Alexandra Sandulescu, Matthias Neugschwandtner, Alessandro Sorniotti et al.CCS 2019 · 267 citations
  4. Port Contention for Fun and ProfitAlejandro Cabrera Aldaya, Billy Bob Brumley, Sohaib ul Hassan, Cesar Pereida García et al.S&P 2019 · 240 citations
  5. CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos et al.S&P 2021 · 162 citations

Builds on14

  1. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim et al.USENIX Security 2017 · 536 citations
  2. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
  3. Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang et al.CCS 2017 · 403 citations
  4. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations
  5. ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos et al.NDSS 2017 · 276 citations

Related papers

  1. TLB;DR: Enhancing TLB-based Attacks with TLB Desynchronized Reverse EngineeringAndrei Tatar, Daniël Trujillo, Cristiano Giuffrida, Herbert BosUSENIX Security 2022
  2. TDXploit: Novel Techniques for Single-Stepping and Cache Attacks on Intel TDXFabian Rauscher, Luca Wilke, Hannes Weissteiner, Thomas Eisenbarth et al.USENIX Security 2025
  3. DevIOus: Device-Driven Side-Channel Attacks on the IOMMUTaehun Kim, Hyeongjin Park, Seokmin Lee, Seunghee Shin et al.S&P 2023
  4. Prime+Abort: A Timer-Free High-Precision L3 Cache Attack using Intel TSXCraig Disselkoen, David Kohlbrenner, Leo Porter, Dean M. TullsenUSENIX Security 2017 · 186 citations
  5. TDXdown: Single-Stepping and Instruction Counting Attacks against Intel TDXLuca Wilke, Florian Sieck, Thomas EisenbarthCCS 2024 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines