An Exhaustive Approach to Detecting Transient Execution Side Channels in RTL Designs of Processors

Mohammad Rahmani Fadiheh, Alex Wezel, Johannes Mueller, Joerg Bormann, Sayak Ray +4 more
8/4/2021
cs.CR

Official code: RPTU-EIS/upec-boom-verification-suite (24 stars, Verilog, last commit 2023-03-02).

Abstract

Hardware (HW) security issues have been emerging at an alarming rate in recent years. Transient execution attacks, in particular, pose a genuine threat to the security of modern computing systems.

Show full abstract

Despite recent advances, understanding the intricate implications of microarchitectural design decisions on processor security remains a great challenge and has caused a number of update cycles in the past. number of update cycles in the past. This papers addresses the need for a new approach to HW sign-off verification which guarantees the security of processors at the Register Transfer Level (RTL). To this end, we introduce a formal definition of security with respect to transient execution attacks, formulated as a HW property. We present a formal proof methodology based on Unique Program Execution Checking (UPEC) which can be used to systematically detect all vulnerabilities to transient execution attacks in RTL designs. UPEC does not exploit any a priori knowledge on known attacks and can therefore detect also vulnerabilities based on new, so far unknown, types of channels. This is demonstrated by two new attack scenarios discovered in our experiments with UPEC. UPEC scales to a wide range of HW designs, including in-order processors (RocketChip), pipelines with out-of-order writeback (Ariane), and processors with deep out-of-order speculative execution (BOOM). To the best of our knowledge, UPEC is the first RTL verification technique that exhaustively covers transient execution side channels in processors of realistic complexity.

View on arXivView PDF

Code Implementations(1)

This repository contains the verification suite for verifying Berkeley Out-of-Order Machine (BOOM) against transient execution attacks based on the Unique Program Execution Checking (UPEC) approach.

242Verilog, TclMar 23, 20213 years ago

Similar Papers

Cite this paper

@article{fadiheh2021exhaustive,
  title  = {An Exhaustive Approach to Detecting Transient Execution Side Channels in RTL Designs of Processors},
  author = {Mohammad Rahmani Fadiheh and Alex Wezel and Johannes Mueller and Joerg Bormann and Sayak Ray and Jason M. Fung and Subhasish Mitra and Dominik Stoffel and Wolfgang Kunz},
  year   = {2021},
  eprint = {2108.01979},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.01979}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.01979.svg)](https://codeofpaper.com/paper/2108.01979)

Discussion