Lune

CCS2023顶会

Formalizing, Verifying and Applying ISA Security Guarantees as Universal Contracts

Sander Huyghebaert, Steven Keuchel, Coen De Roover, Dominique Devriese

摘要

Progress has recently been made on specifying instruction set architectures (ISAs) in executable formalisms rather than through prose. However, to date, those formal specifications are limited to the functional aspects of the ISA and do not cover its security guarantees. We present a novel, general method for formally specifying an ISA's security guarantees to (1) balance the needs of ISA implementations (hardware) and clients (software), ( 2 ) can be semiautomatically verified to hold for the ISA operational semantics, producing a high-assurance mechanically-verifiable proof, and (3) support informal and formal reasoning about security-critical software in the presence of adversarial code. Our method leverages universal contracts: software contracts that express bounds on the authority of arbitrary untrusted code. Universal contracts can be kept agnostic of software abstractions, and strike the right balance between requiring sufficient detail for reasoning about software and preserving implementation freedom of ISA designers and CPU implementers. We semi-automatically verify universal contracts against Sail implementations of ISA semantics using our Katamaran tool; a semi-automatic separation logic verifier for Sail which produces machine-checked proofs for successfully verified contracts. We demonstrate the generality of our method by applying it to two ISAs that offer very different security primitives: (1) MinimalCaps: a custom-built capability machine ISA and (2) a (somewhat simplified) version of RISC-V with PMP. We verify a femtokernel using the security guarantee we have formalized for RISC-V with PMP.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • ArchSem: Reusable Rigorous Semantics of Relaxed Architectures 引用了 Islaris: verification of machine code against authoritative ISA semantics
  • Islaris: verification of machine code against authoritative ISA semantics 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
  • SECOMP: Formally Secure Compilation of Compartmentalized C Programs 引用了 Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation process
  • SECOMP: Formally Secure Compilation of Compartmentalized C Programs 引用了 Efficient and provable local capability revocation using uninitialized capabilities
  • Cerisier: A Program Logic for Attestation in a Capability Machine 引用了 Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation process
  • Cerisier: A Program Logic for Attestation in a Capability Machine 引用了 Efficient and provable local capability revocation using uninitialized capabilities
  • Cerisier: A Program Logic for Attestation in a Capability Machine 引用了 Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture
  • Efficient and provable local capability revocation using uninitialized capabilities 引用了 Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation process
  • Endangered by the Language But Saved by the Compiler: Robust Safety via Semantic Back-Translation 引用了 SECOMP: Formally Secure Compilation of Compartmentalized C Programs
  • Endangered by the Language But Saved by the Compiler: Robust Safety via Semantic Back-Translation 引用了 Efficient and provable local capability revocation using uninitialized capabilities
  • Endangered by the Language But Saved by the Compiler: Robust Safety via Semantic Back-Translation 引用了 Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture
  • Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture 引用了 Islaris: verification of machine code against authoritative ISA semantics
  • Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware Architecture 引用了 Efficient and provable local capability revocation using uninitialized capabilities
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Morello-Cerise: A Proof of Strong Encapsulation for the Arm Morello Capability Hardware ArchitectureAngus Hammond, Ricardo Almeida, Thomas Bauereiss, Brian Campbell 等PLDI 2025 · 2 次引用
  2. ArchSem: Reusable Rigorous Semantics of Relaxed ArchitecturesThibaut Pérami, Thomas Bauereiss, Brian Campbell, Zongyuan Liu 等POPL 2026 · 1 次引用
  3. SECOMP: Formally Secure Compilation of Compartmentalized C ProgramsJérémy Thibault, Roberto Blanco, Dongjae Lee, Sven Argo 等CCS 2024 · 1 次引用
  4. Cerisier: A Program Logic for Attestation in a Capability MachineJune Rousseau, Denis Carnier, Thomas Van Strydonck, Steven Keuchel 等PLDI 2026
  5. Endangered by the Language But Saved by the Compiler: Robust Safety via Semantic Back-TranslationNiklas Mück, Aïna Linn Georges, Derek Dreyer, Deepak Garg 等POPL 2026

它引用的 Paper6

  1. Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic 等EuroSys 2020 · 381 次引用
  2. RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
  3. Rigorous engineering for hardware security: Formal modelling and proof in the CHERI design and implementation processKyndylan Nienhuis, Alexandre Joannou, Thomas Bauereiss, Anthony C. J. Fox 等S&P 2020 · 43 次引用
  4. Efficient and provable local capability revocation using uninitialized capabilitiesAïna Linn Georges, Armaël Guéneau, Thomas Van Strydonck, Amin Timany 等POPL 2021 · 30 次引用
  5. Islaris: verification of machine code against authoritative ISA semanticsMichael Sammler, Angus Hammond, Rodolphe Lepigre, Brian Campbell 等PLDI 2022 · 28 次引用

相关 Paper

  1. Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2023 · 20 次引用
  2. TickTock: Verified Isolation in a Production Embedded OSVivien Rindisbacher, Evan Johnson, Nico Lehmann, Tyler Potyondy 等SOSP 2025
  3. VMSL: A Separation Logic for Mechanised Robust Safety of Virtual Machines Communicating above FF-AZongyuan Liu, Sergei Stepanenko, Jean Pichon-Pharabod, Amin Timany 等PLDI 2023 · 7 次引用
  4. Hardware-Software Contracts for Secure SpeculationMarco Guarnieri, Boris Köpf, Jan Reineke, Pepe VilaS&P 2021 · 111 次引用
  5. Save what must be saved: Secure context switching with SailorNeelu S. Kalani, Thomas Bourgeat, Guerney D. H. Hunt, Wojciech OzgaUSENIX Security 2025
黄昏的海面,两侧是细线勾勒的悬崖