Formal Verification of Security Properties on RISC-V Processors
Open Access
- 21 September 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 159-168
Abstract
Hardware Security and trustworthiness are becoming ever more important, especially for security-critical applications like autonomous driving and service robots. With the increase in distribution of RISC-V processors, security issues in them arise. Security vulnerabilities and design flaws in processors can be exploited by attackers, e.g. by running software exploiting the vulnerabilities. This can lead to drastic consequences like damaging whole system functionality and even human lives can be endangered. Hence, it is very important to verify compliance of processors with the design specification and microarchitecture intent to harden the hardware against malicious attacks. Detection and removal of design bugs results in improved processor security. Therefore, we formally verify in this paper the security-critical functionality of a commercial RISC-V processor using model checking based formal verification with the formal verification tool Jasper. For this, we determined and implemented a comprehensive list of properties for security-critical functionality, derived from RISC-V specification and processor microarchitecture intent. The properties cover the security-critical functionality within a RISC-V processor. With our verification experiments, we detected design bugs which have been confirmed by the design team.Keywords
Funding Information
- Federal Ministry of Education and Research (BMBF) (FKZ:16ME0279)
This publication has 9 references indexed in Scilit:
- Security Analysis of a System-on-Chip Using Assertion-Based Verification2021
- Analyzing Hardware Security Properties of Processors through Model Checking2020
- On the Spectre and Meltdown Processor Security VulnerabilitiesIEEE Micro, 2019
- IEEE Standard for SystemVerilog--Unified Hardware Design, Specification, and Verification Language2018
- Identifying Security Critical Properties for the Dynamic Verification of a ProcessorACM SIGARCH Computer Architecture News, 2017
- SPECS2015
- Evaluating security requirements in a general-purpose processor by combining assertion checkers with code coverage2012
- Security Checkers: Detecting processor malicious inclusions at runtime2011
- Reflections on the Pentium division bugIEEE Transactions on Computers, 1996