Theory and Practice of Finding Eviction Sets
Pepe Vila, Boris Köpf, José F. Morales
摘要
Many micro-architectural attacks rely on the capability of an attacker to efficiently find small eviction sets: groups of virtual addresses that map to the same cache set. This capability has become a decisive primitive for cache side-channel, rowhammer, and speculative execution attacks. Despite their importance, algorithms for finding small eviction sets have not been systematically studied in the literature. In this paper, we perform such a systematic study. We begin by formalizing the problem and analyzing the probability that a set of random virtual addresses is an eviction set. We then present novel algorithms, based on ideas from threshold group testing, that reduce random eviction sets to their minimal core in linear time, improving over the quadratic state-of-the-art. We complement the theoretical analysis of our algorithms with a rigorous empirical evaluation in which we identify and isolate factors that affect their reliability in practice, such as adaptive cache replacement strategies and TLB thrashing. Our results indicate that our algorithms enable finding small eviction sets much faster than before, and under conditions where this was previously deemed impractical.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 64 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- JavaScript Zero: Real JavaScript and Zero Side-Channel Attacks 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
- SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks 引用了 ARMageddon: Cache Attacks on Mobile Devices
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Systematic Analysis of Randomization-based Protected Cache Architectures
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks
- Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ARMageddon: Cache Attacks on Mobile Devices
- : Practical Cache Attacks from the Network 引用了 Spectre Attacks: Exploiting Speculative Execution
- : Practical Cache Attacks from the Network 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- : Practical Cache Attacks from the Network 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Spectre Attacks: Exploiting Speculative Execution
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Hello from the Other Side: SSH over Robust Cache Covert Channels in the Cloud
- Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 ARMageddon: Cache Attacks on Mobile Devices
引用它的顶会 Paper64
- Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss 等CCS 2019 · 289 次引用
- MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
- Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 次引用
- SPOILER: Speculative Load Hazards Boost Rowhammer and Cache AttacksSaad Islam, Ahmad Moghimi, Ida Bruhns, Moritz Krebbel 等USENIX Security 2019 · 86 次引用
- : Practical Cache Attacks from the NetworkMichael Kurth, Ben Gras, Dennis Andriesse, Cristiano Giuffrida 等S&P 2020 · 78 次引用
它引用的 Paper5
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
- Dedup Est Machina: Memory Deduplication as an Advanced Exploitation VectorErik Bosman, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaS&P 2016 · 252 次引用
- Hello from the Other Side: SSH over Robust Cache Covert Channels in the CloudClémentine Maurice, Manuel Weber, Michael Schwarz, Lukas Giner 等NDSS 2017 · 174 次引用
- JavaScript Zero: Real JavaScript and Zero Side-Channel AttacksMichael Schwarz, Moritz Lipp, Daniel GrussNDSS 2018 · 67 次引用
相关 Paper
- Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 次引用
- Prune+PlumTree - Finding Eviction Sets at ScaleTom Kessous, Niv GilboaS&P 2024 · 7 次引用
- SoK: Systematizing a Decade of Architectural Rowhammer Defenses Through the Lens of Streaming AlgorithmsMichael Jaemin Kim, Seungmin Baek, Jumin Kim, Hwayong Nam 等S&P 2026 · 6 次引用
- Slice+Slice Baby: Generating Last-Level Cache Eviction Sets in the Blink of an EyeBradley Morgan, Gal Horowitz, Sioli O'Connell, Stephan van Schaik 等S&P 2025
- SHADOW: Preventing Row Hammer in DRAM with Intra-Subarray Row ShufflingMinbok Wi, Jaehyun Park, Seoyoung Ko, Michael Jaemin Kim 等HPCA 2023 · 41 次引用
