Lune

USENIX Security2020顶会

HybCache: Hybrid Side-Channel-Resilient Caches for Trusted Execution Environments

Ghada Dessouky, Tommaso Frassetto, Ahmad-Reza Sadeghi

摘要

Modern multi-core processors share cache resources for maximum cache utilization and performance gains. However, this leaves the cache vulnerable to side-channel attacks, where timing differences in shared cache behavior are exploited to infer information on the victim's execution patterns, ultimately leaking private information. The root cause for these attacks is mutually distrusting processes sharing cache entries and accessing them in a deterministic manner. Various defenses against cache side-channel attacks have been proposed. However, they either degrade performance significantly, impose impractical restrictions, or can only defeat certain classes of these attacks. More importantly, they assume that side-channel-resilient caches are required for the entire execution workload and do not allow to selectively enable the mitigation only for the security-critical portion of the workload. We present a generic mechanism for a flexible and soft partitioning of set-associative caches and propose a hybrid cache architecture, called HybCache. HybCache can be configured to selectively apply side-channel-resilient cache behavior only for isolated execution domains, while providing the non-isolated execution with conventional cache behavior, capacity and performance. An isolation domain can include one or more processes, specific portions of code, or a Trusted Execution Environment. We show that, with minimal hardware modifications and kernel support, HybCache can provide side-channel-resilient cache only for isolated execution with a performance overhead of 3.5-5%, while incurring no performance overhead for the remaining execution workload. We provide a simulator-based and hardware implementation of HybCache to evaluate the performance and area overheads, and show how it mitigates typical access-based and contention-based cache attacks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Spectre Attacks: Exploiting Speculative Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
  • Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design
  • Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention Attacks 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative Design 引用了 Systematic Analysis of Randomization-based Protected Cache Architectures
  • Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Systematic Analysis of Randomization-based Protected Cache Architectures 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper34

  1. CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig 等USENIX Security 2021 · 150 次引用
  2. MIRAGE: Mitigating Conflict-Based Cache Attacks with a Practical Fully-Associative DesignGururaj Saileshwar, Moinuddin K. QureshiUSENIX Security 2021 · 105 次引用
  3. Systematic Analysis of Randomization-based Protected Cache ArchitecturesAntoon Purnal, Lukas Giner, Daniel Gruss, Ingrid VerbauwhedeS&P 2021 · 93 次引用
  4. SOTER: Guarding Black-box Inference for General Neural Networks at the EdgeTianxiang Shen, Ji Qi, Jianyu Jiang, Xian Wang 等USENIX ATC 2022 · 67 次引用
  5. Prime+Scope: Overcoming the Observer Effect for High-Precision Cache Contention AttacksAntoon Purnal, Furkan Turan, Ingrid VerbauwhedeCCS 2021 · 55 次引用

它引用的 Paper16

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
  3. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
  4. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
  5. Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用

相关 Paper

  1. Chunked-Cache: On-Demand and Scalable Cache Isolation for Security ArchitecturesGhada Dessouky, Emmanuel Stapf, Pouya Mahmoody, Alexander Gruler 等NDSS 2022
  2. Malicious Management Unit: Why Stopping Cache Attacks in Software is Harder Than You ThinkStephan van Schaik, Cristiano Giuffrida, Herbert Bos, Kaveh RazaviUSENIX Security 2018 · 64 次引用
  3. TimeCache: Using Time to Eliminate Cache Side Channels when Sharing SoftwareDivya Ojha, Sandhya DwarkadasISCA 2021 · 14 次引用
  4. Half&Half: Demystifying Intel's Directional Branch Predictors for Fast, Secure Partitioned ExecutionHosein Yavarzadeh, Mohammadkazem Taram, Shravan Narayan, Deian Stefan 等S&P 2023
  5. ScatterCache: Thwarting Cache Attacks via Cache Set RandomizationMario Werner, Thomas Unterluggauer, Lukas Giner, Michael Schwarz 等USENIX Security 2019 · 221 次引用
黄昏的海面,两侧是细线勾勒的悬崖