Lune

SOSP2024顶会

Modular Verification of Secure and Leakage-Free Systems: From Application Specification to Circuit-Level Implementation

Anish Athalye, Henry Corrigan-Gibbs, M. Frans Kaashoek, Joseph Tassarotti, Nickolai Zeldovich

摘要

Parfait is a framework for proving that an implementation of a hardware security module (HSM) leaks nothing more than what is mandated by an application specification. Parfait proofs cover the software and the hardware of an HSM, which catches bugs above the cycle-level digital circuit abstraction, including timing side channels. Parfait's contribution is a scalable approach to proving security and non-leakage by using intermediate levels of abstraction and relating them with transitive information-preserving refinement. This enables Parfait to use different techniques to verify the implementation at different levels of abstraction, reuse existing verified components such as CompCert, and automate parts of the proof, while still providing end-to-end guarantees. We use Parfait to verify four HSMs, including an ECDSA certificate-signing HSM and a password-hashing HSM, on top of the OpenTitan Ibex and PicoRV32 processors. Parfait provides strong guarantees for these HSMs: for instance, it proves that the ECDSA-on-Ibex HSM implementation---2,300 lines of code and 13,500 lines of Verilog---leaks nothing more than what is allowed by a 40-line specification of its behavior.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 HACL: A Verified Modern Cryptographic Library
  • SoK: Computer-Aided Cryptography 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • SoK: Computer-Aided Cryptography 引用了 Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises
  • SoK: Computer-Aided Cryptography 引用了 Verifying Constant-Time Implementations
  • SoK: Computer-Aided Cryptography 引用了 HACL: A Verified Modern Cryptographic Library
  • Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises 引用了 HACL: A Verified Modern Cryptographic Library
  • HACL: A Verified Modern Cryptographic Library 引用了 Verifying Constant-Time Implementations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. A Deductive System for Contract Satisfaction ProofsArthur Correnson, Haoyi Zeng, Jana HofmannPLDI 2026

它引用的 Paper17

  1. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
  2. HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
  3. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet 等S&P 2021 · 169 次引用
  4. Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without CompromisesAndres Erbsen, Jade Philipoom, Jason Gross, Robert Sloan 等S&P 2019 · 147 次引用
  5. EverCrypt: A Fast, Verified, Cross-Platform Cryptographic ProviderJonathan Protzenko, Bryan Parno, Aymeric Fromherz, Chris Hawblitzel 等S&P 2020 · 114 次引用

相关 Paper

  1. Verifying Hardware Security Modules with Information-Preserving RefinementAnish Athalye, M. Frans Kaashoek, Nickolai ZeldovichOSDI 2022 · 17 次引用
  2. A Formally Verified Configuration for Hardware Security Modules in the CloudRiccardo Focardi, Flaminia L. LuccioCCS 2021 · 6 次引用
  3. INDIANA - Verifying (Random) Probing Security Through Indistinguishability AnalysisChristof Beierle, Jakob Feldtkeller, Anna Guinet, Tim Güneysu 等EUROCRYPT 2025 · 2 次引用
  4. IODINE: Verifying Constant-Time Execution of HardwareKlaus von Gleissenthall, Rami Gökhan Kici, Deian Stefan, Ranjit JhalaUSENIX Security 2019 · 45 次引用
  5. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
黄昏的海面,两侧是细线勾勒的悬崖