Lune

CCS2024顶会

Testing Side-channel Security of Cryptographic Implementations against Future Microarchitectures

Gilles Barthe, Marcel Böhme, Sunjay Cauligi, Chitchanok Chuengsatiansup, Daniel Genkin, Marco Guarnieri, David Mateos Romero, Peter Schwabe, David Wu, Yuval Yarom

摘要

How will future microarchitectures impact the security of existing cryptographic implementations? As we cannot keep reducing the size of transistors, chip vendors have started developing new microarchitectural optimizations to speed up computation. A recent study (Sanchez Vicarte et al., ISCA 2021) suggests that these optimizations might open the Pandora's box of microarchitectural attacks. However, there is little guidance on how to evaluate the security impact of future optimization proposals. To help chip vendors explore the impact of microarchitectural optimizations on cryptographic implementations, we develop (i) an expressive domain-specific language, called LmSpec, that allows them to specify the leakage model for the given optimization and (ii) a testing framework, called LmTest, to automatically detect leaks under the specified leakage model within the given implementation. Using this framework, we conduct an empirical study of 18 proposed microarchitectural optimizations on 25 implementations of eight cryptographic primitives in five popular libraries. We find that every implementation would contain secret-dependent leaks, sometimes sufficient to recover a victim's secret key, if these optimizations were realized. Ironically, some leaks are possible only because of coding idioms used to prevent leaks under the standard constant-time model.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • RAMBleed: Reading Bits in Memory Without Accessing Them 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Spectector: Principled Detection of Speculative Information Flows 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Spectector: Principled Detection of Speculative Information Flows 引用了 Verifying Constant-Time Implementations
  • Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V Processors 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V Processors 引用了 Spectector: Principled Detection of Speculative Information Flows
  • Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V Processors 引用了 Verifying Constant-Time Implementations
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 Spectre Attacks: Exploiting Speculative Execution
  • "These results must be false": A usability evaluation of constant-time analysis tools 引用了 Spectre Attacks: Exploiting Speculative Execution
  • "These results must be false": A usability evaluation of constant-time analysis tools 引用了 Verifying Constant-Time Implementations
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Spectector: Principled Detection of Speculative Information Flows
  • Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic Programs 引用了 Verifying Constant-Time Implementations
  • (Dis)Proving Spectre Security with Speculation-Passing Style 引用了 Spectre Attacks: Exploiting Speculative Execution
  • (Dis)Proving Spectre Security with Speculation-Passing Style 引用了 Spectector: Principled Detection of Speculative Information Flows
  • (Dis)Proving Spectre Security with Speculation-Passing Style 引用了 Verifying Constant-Time Implementations
  • (Dis)Proving Spectre Security with Speculation-Passing Style 引用了 "These results must be false": A usability evaluation of constant-time analysis tools
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. "These results must be false": A usability evaluation of constant-time analysis toolsMarcel Fourné, Daniel De Almeida Braga, Jan Jancar, Mohamed Sabt 等USENIX Security 2024 · 15 次引用
  2. Cassandra: Efficient Enforcement of Sequential Execution for Cryptographic ProgramsAli Hajiabadi, Trevor E. CarlsonISCA 2025 · 2 次引用
  3. Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V ProcessorsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2025
  4. (Dis)Proving Spectre Security with Speculation-Passing StyleSantiago Arranz-Olmos, Gilles Barthe, Lionel Blatter, Xingyu Xie 等OOPSLA 2026

它引用的 Paper38

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
  3. PLATYPUS: Software-based Power Side-Channel Attacks on x86Moritz Lipp, Andreas Kogler, David F. Oswald, Michael Schwarz 等S&P 2021 · 242 次引用
  4. RAMBleed: Reading Bits in Memory Without Accessing ThemAndrew Kwong, Daniel Genkin, Daniel Gruss, Yuval YaromS&P 2020 · 239 次引用
  5. Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke 等S&P 2020 · 177 次引用

相关 Paper

  1. Opening Pandora's Box: A Systematic Study of New Ways Microarchitecture Can Leak Private DataJose Rodrigo Sanchez Vicarte, Pradyumna Shome, Nandeeka Nayak, Caroline Trippel 等ISCA 2021 · 29 次引用
  2. Avoiding Instruction-Centric Microarchitectural Timing Channels Via Binary-Code TransformationsMichael Flanders, Reshabh K. Sharma, Alexandra E. Michael, Dan Grossman 等ASPLOS 2024 · 4 次引用
  3. microSCALE: Static Analysis for Microarchitectural Side-channel Leakage EvaluationAkshay Kumar E, Pranav Krishna N, Annapurna Valiveti, Pallavi Borkar 等USENIX Security 2026
  4. MileSan: Detecting Exploitable Microarchitectural Leakage via Differential Hardware-Software Taint TrackingTobias Kovats, Flavien Solt, Katharina Ceesay-Seitz, Kaveh RazaviCCS 2025
  5. Robust Constant-Time CryptographyMatthew Kolosick, Basavesh Ammanaghatta Shivakumar, Sunjay Cauligi, Marco Patrignani 等PLDI 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖