Lune

S&P2024顶会

Prune+PlumTree - Finding Eviction Sets at Scale

Tom Kessous, Niv Gilboa

摘要

Finding eviction sets for a large fraction of the cache is an essential preprocessing step for Prime+Probe based cache side-channel attacks. Previous work on this problem reduces it to finding an eviction set for each cache set independently. In a w-way, set-associative cache with s cache sets this approach requires Ω(s2w) time.This work introduces the Prune+PlumTree algorithm, which finds eviction sets for any constant fraction of the cache in time O(sw log s), assuming the LRU cache replacement policy. We complement the asymptotic result with tests on current Intel processors, with 16k sets in the Last Level Cache (LLC) and 4 Kbyte memory pages, finding eviction sets for more than 98% of the LLC in 40–63 milliseconds, improving over previous work by two orders of magnitude. Simulating Prune+PlumTree on a standard, i.e. unskewed, randomized cache, mapping addresses to random cache sets, results in finding eviction sets for more than 98% of a 12-way cache with 214 sets in less than 7.4 seconds.We further adapt Prune+PlumTree to caches with a random replacement policy based on a novel method to prune a large set of random memory lines to a union of minimal eviction sets in this setting. This variant of Prune+PlumTree runs in time O(sw2 log s). As a final contribution, we show that Prune+PlumTree for the LRU replacement policy has asymptotically tight running time by proving that any algorithm that maps a constant fraction of the cache runs in time Ω(sw log s).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Spectre Attacks: Exploiting Speculative Execution 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
  • Gaussian Elimination of Side-Channels: Linear Algebra for Memory Coloring 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization 引用了 ASLR on the Line: Practical Cache Attacks on the MMU
  • iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple Silicon 引用了 Spectre Attacks: Exploiting Speculative Execution
  • iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple Silicon 引用了 Slice+Slice Baby: Generating Last-Level Cache Eviction Sets in the Blink of an Eye
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • SoK: So, You Think You Know All About Secure Randomized Caches? 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Slice+Slice Baby: Generating Last-Level Cache Eviction Sets in the Blink of an Eye 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Slice+Slice Baby: Generating Last-Level Cache Eviction Sets in the Blink of an Eye 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Slice+Slice Baby: Generating Last-Level Cache Eviction Sets in the Blink of an Eye 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • ZenLeak: Practical Last-Level Cache Side-Channel Attacks on AMD Zen Processors 引用了 ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • ZenLeak: Practical Last-Level Cache Side-Channel Attacks on AMD Zen Processors 引用了 Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Gaussian Elimination of Side-Channels: Linear Algebra for Memory ColoringJana Hofmann, Cédric Fournet, Boris Köpf, Stavros VolosCCS 2024 · 2 次引用
  2. ZenLeak: Practical Last-Level Cache Side-Channel Attacks on AMD Zen ProcessorsHan Wang, Ming Tang, Quancheng Wang, Ke Xu 等DAC 2025 · 2 次引用
  3. iEnFlow: Endogenous Control-Flow Attacks via Conditional Branch Prediction on Apple SiliconKaiyuan Rong, Jiajie Chen, Junqi Fang, Peng Qu 等CCS 2026
  4. SoK: So, You Think You Know All About Secure Randomized Caches?Anubhav Bhatla, Hari Rohit Bhavsar, Sayandeep Saha, Biswabandan PandaUSENIX Security 2025
  5. 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

它引用的 Paper16

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  3. ASLR on the Line: Practical Cache Attacks on the MMUBen Gras, Kaveh Razavi, Erik Bosman, Herbert Bos 等NDSS 2017 · 276 次引用
  4. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
  5. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher 等S&P 2019 · 201 次引用

相关 Paper

  1. ClepsydraCache - Preventing Cache Attacks with Time-Based EvictionsJan Philipp Thoma, Christian Niesler, Dominic A. Funke, Gregor Leander 等USENIX Security 2023
  2. Charting the Cache Side-Channel Frontier: A Systematic Study of Eviction Set Construction on Apple SiliconHan Wang, Yakun Wu, Yusi Feng, Yinqian ZhangUSENIX Security 2026
  3. Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
  4. Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 次引用
  5. Are Randomized Caches Truly Random? Formal Analysis of Randomized-Partitioned CachesAnirban Chakraborty, Sarani Bhattacharya, Sayandeep Saha, Debdeep MukhopadhyayHPCA 2023 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖