USENIX Security2022Top-tier venue
TLB;DR: Enhancing TLB-based Attacks with TLB Desynchronized Reverse Engineering
Andrei Tatar, Daniël Trujillo, Cristiano Giuffrida, Herbert Bos
Abstract
Translation Lookaside Buffers, or TLBs, play a vital role in recent microarchitectural attacks. However, unlike CPU caches, we know very little about the exact operation of these essential microarchitectural components. In this paper, we introduce TLB desynchronization as a novel technique for reverse engineering TLB behavior from software. Unlike previous efforts that rely on timing or performance counters, our technique relies on fundamental properties of TLBs, enabling precise and fine-grained experiments. We use desynchronization to shed new light on TLB behavior, examining previously undocumented features such as replacement policies and handling of PCIDs on commodity Intel processors. We also show that such knowledge allows for more and better attacks. Our results reveal a novel replacement policy on the L2 TLB of modern Intel CPUs as well as behavior indicative of a PCID cache. We use our new insights to design adversarial access patterns that massage the TLB state into evicting a target entry in the minimum number of steps, then examine their impact on several classes of prior TLB-based attacks. Our findings enable practical side channels à la TLBleed over L2, with much finer spatial discrimination and at a sampling rate comparable to L1, as well as an even finer-grained variant that targets both levels. We also show substantial speed gains for other classes of attacks that rely on TLB eviction.
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.
21 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud cites Everywhere All at Once: Co-Location Attacks on Public Cloud FaaS
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public Cloud cites Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- Spectre Attacks: Exploiting Speculative Execution cites ASLR on the Line: Practical Cache Attacks on the MMU
- Everywhere All at Once: Co-Location Attacks on Public Cloud FaaS cites Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- TunneLs for Bootlegging: Fully Reverse-Engineering GPU TLBs for Challenging Isolation Guarantees of NVIDIA MIG cites Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- TunneLs for Bootlegging: Fully Reverse-Engineering GPU TLBs for Challenging Isolation Guarantees of NVIDIA MIG cites ASLR on the Line: Practical Cache Attacks on the MMU
- TunneLs for Bootlegging: Fully Reverse-Engineering GPU TLBs for Challenging Isolation Guarantees of NVIDIA MIG cites Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Spectre Attacks: Exploiting Speculative Execution
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Meltdown: Reading Kernel Memory from User Space
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites ASLR on the Line: Practical Cache Attacks on the MMU
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent Prefetchers cites Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
- Meltdown: Reading Kernel Memory from User Space cites Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Meltdown: Reading Kernel Memory from User Space cites ASLR on the Line: Practical Cache Attacks on the MMU
- Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest cites Spectre Attacks: Exploiting Speculative Execution
- Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest cites Meltdown: Reading Kernel Memory from User Space
- Augury: Using Data Memory-Dependent Prefetchers to Leak Data at Rest cites Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks cites Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks cites ASLR on the Line: Practical Cache Attacks on the MMU
Cited by top-tier papers21
- Augury: Using Data Memory-Dependent Prefetchers to Leak Data at RestJose Rodrigo Sanchez Vicarte, Michael Flanders, Riccardo Paccagnella, Grant Garrett-Grossman et al.S&P 2022 · 66 citations
- GoFetch: Breaking Constant-Time Cryptographic Implementations Using Data Memory-Dependent PrefetchersBoru Chen, Yingchen Wang, Pradyumna Shome, Christopher W. Fletcher et al.USENIX Security 2024 · 52 citations
- Last-Level Cache Side-Channel Attacks Are Feasible in the Modern Public CloudZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 20 citations
- TunneLs for Bootlegging: Fully Reverse-Engineering GPU TLBs for Challenging Isolation Guarantees of NVIDIA MIGZhenkai Zhang, Tyler N. Allen, Fan Yao, Xing Gao et al.CCS 2023 · 18 citations
- Everywhere All at Once: Co-Location Attacks on Public Cloud FaaSZirui Neil Zhao, Adam Morrison, Christopher W. Fletcher, Josep TorrellasASPLOS 2024 · 16 citations
Builds on10
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 citations
- ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos et al.NDSS 2017 · 276 citations
- Hello from the Other Side: SSH over Robust Cache Covert Channels in the CloudClémentine Maurice, Manuel Weber, Michael Schwarz, Lukas Giner et al.NDSS 2017 · 174 citations
Related papers
- DevIOus: Device-Driven Side-Channel Attacks on the IOMMUTaehun Kim, Hyeongjin Park, Seokmin Lee, Seunghee Shin et al.S&P 2023
- RELOAD+REFRESH: Abusing Cache Replacement Policies to Perform Stealthy Cache AttacksSamira Briongos, Pedro Malagón, José Manuel Moya, Thomas EisenbarthUSENIX Security 2020
- OCCUPY+PROBE: Cross-Privilege Branch Target Buffer Side-Channel Attacks at Instruction GranularityKaiyuan Rong, Junqi Fang, Haixia Wang, Dapeng Ju et al.NDSS 2026
- Page Cache AttacksDaniel Gruss, Erik Kraft, Trishita Tiwari, Michael Schwarz et al.CCS 2019 · 55 citations
- All Your PC Are Belong to Us: Exploiting Non-control-Transfer Instruction BTB Updates for Dynamic PC ExtractionJiyong Yu, Trent Jaeger, Christopher Wardlaw FletcherISCA 2023 · 12 citations
