收藏切换
SeChain: Design and Implementation of RISC-V Secure Boot Mechanism Based on Domestic Cryptographic Algorithms
收藏切换
Zhiqing Rui1, 2, Yao Mei1, 4, Zhenzhe Chen1, Jingzheng Wu1, 3, *, Xiang Ling1, Tianyue Luo1, Yanjun Wu1, 3
Journal of Computer Research and Development | 2024, 61(6) : 1458 - 1475
Less
收藏切换
Journal of Computer Research and Development | 2024, 61(6): 1458-1475
• Special lssue on Cross-layer Optimization of Processor Chips •
SeChain: Design and Implementation of RISC-V Secure Boot Mechanism Based on Domestic Cryptographic Algorithms
Full
Zhiqing Rui1, 2, Yao Mei1, 4, Zhenzhe Chen1, Jingzheng Wu1, 3, *, Xiang Ling1, Tianyue Luo1, Yanjun Wu1, 3
Affiliations
  • 1Intelligent Software Research Center (Institute of Software, Chinese Academy of Sciences), Beijing 100190
  • 2University of Chinese Academy of Sciences, Beijing 100190
  • 3State Key Laboratory of Computer Science (Institute of Software, Chinese Academy of Sciences), Beijing 100190
  • 4School of Electronic Information Engineering, Beihang University, Beijing 100190
  • born in 1997. PhD candidate. His main research interests include system security. Internet of things security, and software supply chain security

    born in 2000. Master. Her main research interests include channel codes and software security

    born in 1998. PhD candidate. His main research interests include physical unclonable functions and network security

    born in 1982. PhD, professor, professor supervisor. Senior member of CCF. His main research interests include system security, vulnerability mining, and operating system security

    born in 1992. PhD. Member of CCF. His main research interests include software security and AI security

    born in 1990. Engineer. His main research interests include operating system security analysis, code vulnerability mining, and AI security

    born in 1979. PhD, professor, PhD supervisor. Distinguished member of CCF. His main research interests include operating systems, machine learning system software, and system security

About Author:

born in 1997. PhD candidate. His main research interests include system security. Internet of things security, and software supply chain security

born in 2000. Master. Her main research interests include channel codes and software security

born in 1998. PhD candidate. His main research interests include physical unclonable functions and network security

born in 1982. PhD, professor, professor supervisor. Senior member of CCF. His main research interests include system security, vulnerability mining, and operating system security

born in 1992. PhD. Member of CCF. His main research interests include software security and AI security

born in 1990. Engineer. His main research interests include operating system security analysis, code vulnerability mining, and AI security

born in 1979. PhD, professor, PhD supervisor. Distinguished member of CCF. His main research interests include operating systems, machine learning system software, and system security

Published: 2024-06-01 doi: 10.7544/issn1000-1239.202440088
Outline
收藏切换

The open-source RISC-V instruction set architecture (ISA) provides a significant opportunity for China to establish an independent and controllable IoT ecosystem. However, IoT devices often lack hardware protections and are vulnerable to physical-level firmware tampering attacks. Therefore, ensuring firmware integrity to improve device security is crucial. Previous researches have focused on secure boot techniques, but several challenges remain: 1) The traditional software-level trusted root can be physically tampered, making it difficult to ensure the reliability of the trusted root; 2) Mainstream hardware-level secure boot technology is controlled by international chip manufacturers, the specific implementation method is not publicly available, and does not support domestic cryptographic algorithms, making it impossible to ensure security independence and controllability for China; 3) Existing research on secure boot mechanisms based on RISC-V CPUs can verify the credibility of executable code but lacks a mechanism for verifying the integrity of upper-level firmware. To solve these challenges, we design and implement SeChain, a RISC-V secure boot mechanism based on the Chinese domestic cryptographic algorithm SM9. Specifically: 1) A signature calculation unit (SCU) is added inside the RISC-V SoC to generate key pairs and signatures; 2) A key verification unit (KVU) is added to perform on-chip execution of verification algorithms and firmware integrity verification; 3) A multi-level secure boot process based on verification boot is designed and implemented, starting from an immutable hardware trust root, completing the integrity verification of the next-stage boot program step by step, and achieving secure boot. Based on this design, SeChain realizes the security and trustworthiness of the trust root in the startup phase and constructs a trusted secure boot chain based on the domestic cryptographic algorithm SM9, providing reliable protection for device secure boot and trusted execution. To verify the effectiveness, efficiency, and security against trust root attacks of SeChain, we complete SeChain simulation verification experiments based on VexRiscv CPU on FPGA hardware platform. The experimental results show that SeChain can resist various firmware tampering attacks, as well as resist trust root attacks, which has an average additional time overhead of no more than 6.47 seconds. SeChain is suitable for resource constrained IoT devices, while meeting secure and trusted boot requirements, it can provide strong protection for domestic RISC-V ecosystem security independence and controllability.

trusted computing  /  IoT security  /  secure boot  /  SM9 cryptographic algorithm  /  RISC-V
芮志清, 梅瑶, 陈振哲, 吴敬征, 凌祥, 罗天悦, 武延军. SeChain: 基于国密算法的RISC-V安全启动机制设计与实现. 计算机研究与发展, 2024 , 61 (6) : 1458 -1475 . DOI: 10.7544/issn1000-1239.202440088
Zhiqing Rui, Yao Mei, Zhenzhe Chen, Jingzheng Wu, Xiang Ling, Tianyue Luo, Yanjun Wu. SeChain: Design and Implementation of RISC-V Secure Boot Mechanism Based on Domestic Cryptographic Algorithms[J]. Journal of Computer Research and Development, 2024 , 61 (6) : 1458 -1475 . DOI: 10.7544/issn1000-1239.202440088
Year 2024 volume 61 Issue 6
61
28
Cite this Article
BibTeX
Article Info
doi: 10.7544/issn1000-1239.202440088
  • Receive Date:2024-02-02
  • Online Date:2026-11-17
  • Published:2024-06-01
Article Data
Affiliations
History
  • Received:2024-02-02
  • Revised:2024-03-13
Affiliations
    1Intelligent Software Research Center (Institute of Software, Chinese Academy of Sciences), Beijing 100190
    2University of Chinese Academy of Sciences, Beijing 100190
    3State Key Laboratory of Computer Science (Institute of Software, Chinese Academy of Sciences), Beijing 100190
    4School of Electronic Information Engineering, Beihang University, Beijing 100190
References
Share
https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202440088
Share to
QR

Scan QR to access full text

Cite this article
BibTeX
Citations
表12种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏
  • BibTeX
  • EndNote
  • RefWorks
  • TxT