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.
An Enclave-based TEE for SE-in-SoC in RISC-V Industry
SoC中的安全元件(SE)在工业中的采用越来越多。物联网设备中的许多应用程序都绑定到SE,因为它提供了强大的加密功能和物理保护。虽然SE-in-SoC为软件程序提供了强大的隔离,但它也给PCB板制造带来了更高的设计复杂性和成本。此外,SE-in-SoC可能仍然存在安全问题,例如恶意软件安装和用户冒充。在这项工作中,我们采用TEE,一种硬件支持的安全技术,用于保护SE in SoC和RISCV。特别是,我们构建了各种隔离应用程序和操纵SE的飞地,使用RISC-V提供的固有安全原语。使用硬件和软件协同设计,该解决方案确保了应用程序之间的可信执行和安全通信。通过强制SE由受信任的飞地控制并使RISC-V核心对侧信道攻击具有弹性,进一步保护了SE的安全性。
Crypto-RV: High-Efficiency FPGA-Based RISC-V Cryptographic Co-Processor for IoT Security
Nara Institute of Science and Technology(奈良先端科学技术大学院大学);University of Information Technology(信息工程大学);Vietnam National University(越南国立大学);Le Quy Don Technical University(黎贵敦技术大学)
Embedded Blockchain Infrastructure Management (eBIM): A RISC-V-Empowered Hardware--Software Co-Design Framework Towards Trustworthy Blockchain
Cyberspace Institute of Advanced Technology, Guangzhou University, Guangdong Key Laboratory of Industrial Control System Security, and Huangpu Research School of Guangzhou University(广州大学先进科技学院、广东省工业控制系统安全重点实验室、广州大学黄埔研究院);Department of Computer and Electrical Engineering, University of Stavanger(斯塔万格大学计算机与电气工程系)
随着RISC-V(一种开源ISA)的广泛普及,针对特定国防需求的定制硬件安全解决方案越来越受欢迎。这些解决方案通常需要专门的编译器,可以将元数据(称为标签)插入到生成的二进制文件中,和/或使用新指令扩展RISC-V ISA。开发这样的编译器可能是一个冗长而耗时的过程。在本文中,我们提出了COGENT,一个通用的指令标记生成器的RISC-V架构。COGENT能够将可配置和可变宽度(1到20位)的标记与每个指令相关联。它还能够发出对控制流完整性(CFI)解决方案的实现至关重要的标签。COGENT将所有标记和标签编码为nop指令,从而提供完全的向后兼容性。我们在SPEC CPU 2017基准测试套件的一个程序子集上评估了COGENT,并报告了最低和最高标签覆盖水平的二进制大小分别增加了29.3%和18.27%。此外,我们在COTS RISC-V未修改的硬件上执行标记程序,发现最低和最高覆盖级别的执行时间开销(相对于向后兼容性)分别为13.4%和5.72%。最后,使用案例研究,我们提出了可能的用例场景,COGENT可以应用。