Jamais vu: thwarting microarchitectural replay attacks
Dimitrios Skarlatos, Zirui Neil Zhao, Riccardo Paccagnella, Christopher W. Fletcher, Josep Torrellas
摘要
Microarchitectural Replay Attacks (MRAs) enable an attacker to eliminate the measurement variation in potentially any microarchitectural side channel-even if the victim instruction is supposed to execute only once. In an MRA, the attacker forces pipeline flushes in order to repeatedly re-execute the victim instruction and denoise the channel. MRAs are not limited to transient execution attacks: the replayed victim can be an instruction that will eventually retire.
This paper presents the first technique to thwart MRAs. The technique, called Jamais Vu, detects when an instruction is squashed. Then, as the instruction is re-inserted into the pipeline, Jamais Vu automatically places a fence before it to prevent the attacker from squashing it again. This paper presents several Jamais Vu designs that offer different trade-offs between security, execution overhead, and implementation complexity. One design, called Epoch-Loop-Rem, effectively mitigates MRAs, has an average execution time overhead of 13.8% in benign executions, and only needs counting Bloom filters. An even simpler design, called Clear-on-Retire, has an average execution time overhead of only 2.9%, although it is less secure.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Perspective: A Principled Framework for Pliable and Secure Speculation in Operating Systems 引用了 Spectre Attacks: Exploiting Speculative Execution
- Perspective: A Principled Framework for Pliable and Secure Speculation in Operating Systems 引用了 Pinned loads: taming speculative loads in secure processors
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX 引用了 T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- Pinned loads: taming speculative loads in secure processors 引用了 Spectre Attacks: Exploiting Speculative Execution
引用它的顶会 Paper2
- Pinned loads: taming speculative loads in secure processorsZirui Neil Zhao, Houxiang Ji, Adam Morrison, Darko Marinov 等ASPLOS 2022 · 8 次引用
- Perspective: A Principled Framework for Pliable and Secure Speculation in Operating SystemsTae Hoon Kim, David Rudo, Kaiyang Zhao, Zirui Neil Zhao 等ISCA 2024 · 6 次引用
它引用的 Paper17
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
- T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 次引用
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang 等CCS 2017 · 403 次引用
- Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用
相关 Paper
- Data Oblivious CPU: Microarchitectural Side-channel Leakage-Resilient ProcessorBehnam Omidi, Ihsen Alouani, Khaled N. KhasawnehDAC 2025
- EVAX: Towards a Practical, Pro-active & Adaptive Architecture for High Performance & SecuritySamira Mirbagher Ajorpaz, Daniel Moghimi, Jeffrey Neal Collins, Gilles Pokam 等MICRO 2022 · 23 次引用
- SPECRUN: The Danger of Speculative Runahead Execution in ProcessorsChaoqun Shen, Gang Qu, Jiliang ZhangDAC 2024 · 1 次引用
- A Security RISC: Microarchitectural Attacks on Hardware RISC-V CPUsLukas Gerlach, Daniel Weber, Ruiyi Zhang, Michael SchwarzS&P 2023
- DAGguise: mitigating memory timing side channelsPeter W. Deutsch, Yuheng Yang, Thomas Bourgeat, Jules Drean 等ASPLOS 2022 · 19 次引用
