Formal Specification and Verification of Security Mechanisms for RISC-V Processors

The work

AuthorsMatthieu Baty
Editors
Typephdthesis
Year2024
Citekeybaty2024formal

Where it appeared

SchoolCentraleSupélec

Identifiers

DOI10.70675/8640ad41zfb4fz40ecz8e27z200801a72369
handletel-04892968

Related

Distinct frombouzafour2018modelchecking
Distinct fromchoi2017kami
Distinct fromjules2025herve
Distinct fromkan2026interaction
Distinct fromkurze2026nocout
Distinct fromlau2026granite
Distinct fromlaw2026mechanized
Distinct frommelham1988using
Distinct fromoleary2013relational
Distinct fromploix2025comprehensive
Distinct frompuri2014using
Distinct fromtan2023security
Distinct fromtoma2006verification
Distinct fromwang2026formally

From bibtex.

Abstract

In this thesis, we consider the verification of security mechanisms for processors described at the register-transfer level (RTL). We propose an approach based on interactive theorem provers, generalist tools used for producing high-assurance proofs. This approach has two key benefits over the current state of formal methods in the industry. First, interactive theorem provers come with a very small trusted computing base (TCB). For this reason, the French certification authorities for Common Criteria for Information Technology Security Evaluation recognize interactive theorem provers for the highest Evaluation Assurance Level. Second, whereas formal verification in the industry is based around a set of distinct tools with a focused scope, interactive theorem provers can express and verify very general properties in a single, unified environment. Our reliance on interactive theorem provers comes with distinct challenges, such as the fact that all the domain-specific knowledge about hardware needs to formalized before any verification work can proceed. Furthermore, they are arcane tools that come with a prohibitive learning curve and a number of performance issues. Our contributions are twofold. 1/ We design a verification framework around Kôika, a hardware description language with a formal semantics. We use this framework to verify the implementation of a shadow stack added to a RISC-V processor. We explore the integration of SMT solvers into this framework as a means of automating the process. 2/ We port FIRRTL, a hardware description language with use in the industry, into the Coq proof assistant.

A copy is held

pdf, 1.8 MB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-16 20:53 UTC
Approved bya person 2026-09-23 14:10 UTC

Cite it as

@phdthesis{baty2024formal,
  title        = {Formal Specification and Verification of Security Mechanisms for RISC-V Processors},
  author       = {Matthieu Baty},
  year         = {2024},
  school       = {CentraleSupélec},
  doi          = {10.70675/8640ad41zfb4fz40ecz8e27z200801a72369},
}

This record lives at https://refs.drheap.org/baty2024formal/ and will keep doing so.