Skip to main content
QUICK REVIEW

[Paper Review] A Survey on RISC-V Security: Hardware and Architecture

Tao Lű|arXiv (Cornell University)|Jul 9, 2021
Security and Verification in ComputingComputer Science149 references29 citations
TL;DR

The paper surveys hardware and architectural security mechanisms for RISC-V, comparing with Arm and outlining RoT, PMP, ISA extensions, cryptographic engines, and side-channel protections. It discusses building blocks, platforms, and future directions for RISC-V security research.

ABSTRACT

The Internet of Things (IoT) is an ongoing technological revolution. Embedded processors are the processing engines of smart IoT devices. For decades, these processors were mainly based on the Arm instruction set architecture (ISA). In recent years, the free and open RISC-V ISA standard has attracted the attention of industry and academia and is becoming the mainstream. Data security and user privacy protection are common challenges faced by all IoT devices. In order to deal with foreseeable security threats, the RISC-V community is studying security solutions aimed at achieving a root of trust (RoT) and ensuring that sensitive information on RISC-V devices is not tampered with or leaked. Many RISC-V security research projects are underway, but the academic community has not yet conducted a comprehensive survey of RISC-V security solutions. In order to fill this research gap, this paper presents an in-depth survey on RISC-V security technologies. This paper summarizes the representative security mechanisms of RISC-V hardware and architecture. Based on our survey, we predict the future research and development directions of RISC-V security. We hope that our research can inspire RISC-V researchers and developers.

Motivation & Objective

  • Explain the security landscape and challenges for RISC-V in IoT and embedded systems.
  • Identify building blocks for root of trust and hardware security modules in RISC-V platforms.
  • Survey hardware and architectural mechanisms enabling secure boot, memory protection, and trusted execution for RISC-V.

Proposed method

  • Categorize RISC-V security topics into hardware/physical security, hardware-assisted security units, memory protection, ISA extensions, cryptographic primitives, and side-channel protection.
  • Compare RISC-V mechanisms with Arm equivalents to highlight similarities and differences.
  • Describe RISC-V privilege modes, PMP, and security-building blocks to ground security policy enforcement.

Experimental results

Research questions

  • RQ1What are the core hardware and architectural security mechanisms employed by RISC-V to provide root of trust and trusted execution?
  • RQ2How do RISC-V security features (e.g., PMP, privilege levels, ISA extensions) compare to Arm equivalents in terms of capabilities and limitations?
  • RQ3What are the prevalent approaches to memory protection, cryptographic acceleration, and side-channel mitigation in RISC-V ecosystems?

Key findings

  • RISC-V security is organized around building blocks like RoT/HSM, privileged modes, PMP, and TEEs to enable platform security.
  • RISC-V PMP provides per-hart memory access control with configurable region sizes and up to sixteen regions, similar to ARM MPU but with notable differences.
  • ISA security extensions, cryptographic engines, and side-channel protection are active areas in RISC-V research and development.
  • Secure boot, trusted execution environments, and hardware-based roots of trust are central to the proposed security architecture for RISC-V.
  • The openness of RISC-V enables public auditing of architecture design while presenting potential disclosure risks that must be mitigated with robust security mechanisms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.