Lune

ASPLOS2020Top-tier venue

A Benchmark Suite for Evaluating Caches' Vulnerability to Timing Attacks

Shuwen Deng, Wenjie Xiong, Jakub Szefer

Abstract

Timing-based side or covert channels in processor caches continue to present a threat to computer systems, and they are the key to many of the recent Spectre and Meltdown attacks. Based on improvements to an existing three-step model for cache timing-based attacks, this work presents 88 Strong types of theoretical timing-based vulnerabilities in processor caches. To understand and evaluate all possible types of vulnerabilities in processor caches, this work further presents and implements a new benchmark suite which can be used to test to which types of cache timing-based attacks a given processor or cache design is vulnerable. In total, there are 1094 automatically-generated test programs which cover the 88 theoretical vulnerabilities. The benchmark suite generates the Cache Timing Vulnerability Score which can be used to evaluate how vulnerable a specific cache implementation is to different attacks. A smaller Cache Timing Vulnerability Score means the design is more secure, and the scores among different machines can be easily compared. Evaluation is conducted on commodity Intel and AMD processors and shows the differences in processor implementations can result in different types of attacks that they are vulnerable to. Beyond testing commodity processors, the benchmarks and the Cache Timing Vulnerability Score can be used to help designers of new secure processor caches evaluate their design's susceptibility to cache timing-based 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.

6 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

  • DAGguise: mitigating memory timing side channels cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management cites Spectre Attacks: Exploiting Speculative Execution
  • Metior: A Comprehensive Model to Evaluate Obfuscating Side-Channel Defense Schemes cites DAGguise: mitigating memory timing side channels
  • Metior: A Comprehensive Model to Evaluate Obfuscating Side-Channel Defense Schemes cites Spectre Attacks: Exploiting Speculative Execution
  • Metior: A Comprehensive Model to Evaluate Obfuscating Side-Channel Defense Schemes cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • ScatterCache: Thwarting Cache Attacks via Cache Set Randomization cites Spectre Attacks: Exploiting Speculative Execution
  • AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks cites Spectre Attacks: Exploiting Speculative Execution
  • AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing Attacks cites Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
  • Leaky Way: A Conflict-Based Cache Covert Channel Bypassing Set Associativity cites Spectre Attacks: Exploiting Speculative Execution
  • Leaky Way: A Conflict-Based Cache Covert Channel Bypassing Set Associativity cites ScatterCache: Thwarting Cache Attacks via Cache Set Randomization
  • Leaky Way: A Conflict-Based Cache Covert Channel Bypassing Set Associativity cites Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. DAGguise: mitigating memory timing side channelsPeter W. Deutsch, Yuheng Yang, Thomas Bourgeat, Jules Drean et al.ASPLOS 2022 · 19 citations
  2. Leaky Way: A Conflict-Based Cache Covert Channel Bypassing Set AssociativityYanan Guo, Xin Xin, Youtao Zhang, Jun YangMICRO 2022 · 19 citations
  3. Metior: A Comprehensive Model to Evaluate Obfuscating Side-Channel Defense SchemesPeter W. Deutsch, Weon Taek Na, Thomas Bourgeat, Joel S. Emer et al.ISCA 2023 · 15 citations
  4. Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata ManagementSeonjin Na, Jungwoo Kim, Sunho Lee, Jaehyuk HuhHPCA 2024 · 11 citations
  5. AutoCAT: Reinforcement Learning for Automated Exploration of Cache-Timing AttacksMulong Luo, Wenjie Xiong, Geunbae Lee, Yueying Li et al.HPCA 2023 · 3 citations

Builds on9

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
  3. Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 citations
  4. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz et al.USENIX Security 2019 · 221 citations
  5. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher et al.S&P 2019 · 201 citations

Related papers

  1. SPEECHMINER: A Framework for Investigating and Measuring Speculative Execution VulnerabilitiesYuan Xiao, Yinqian Zhang, Radu TeodorescuNDSS 2020
  2. Leaking Information Through Cache LRU StatesWenjie Xiong, Jakub SzeferHPCA 2020 · 54 citations
  3. Speculative interference attacks: breaking invisible speculation schemesMohammad Behnia, Prateek Sahu, Riccardo Paccagnella, Jiyong Yu et al.ASPLOS 2021 · 69 citations
  4. InSpectre: Breaking and Fixing Microarchitectural Vulnerabilities by Formal AnalysisRoberto Guanciale, Musard Balliu, Mads DamCCS 2020 · 51 citations
  5. A Formal Approach for Detecting Vulnerabilities to Transient Execution Attacks in Out-of-Order ProcessorsMohammad Rahmani Fadiheh, Johannes Müller, Raik Brinkmann, Subhasish Mitra et al.DAC 2020 · 38 citations
Dusk over the sea between two cliffs drawn in fine vertical lines