{"title":"Security Design of Root of Trust Based on RISC-V","authors":"Kang Huang, Wanting Zhou, Shiwei Yuan, Lei Li","volume":212,"journal":"International Journal of Cognitive and Language Sciences","pagesStart":463,"pagesEnd":471,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/10013743","abstract":"<p>Since information technology develops rapidly, the security issue has become an increasingly critical for computer system. In particular, as cloud computing and the Internet of Things (IoT) continue to gain widespread adoption, computer systems need to new security threats and attacks. The Root of Trust (RoT) is the foundation for providing basic trusted computing, which is used to verify the security and trustworthiness of other components. Designing a reliable RoT and guaranteeing its own security are essential for improving the overall security and credibility of computer systems. In this paper, we discuss the implementation of self-security technology based on the RISC-V RoT at the hardware level. To effectively safeguard the security of the RoT, researches on security safeguard technology on the RoT have been studied. At first, a lightweight and secure boot framework is proposed as a secure mechanism. Secondly, two kinds of memory protection mechanism are built to against memory attacks. Moreover, hardware implementation of proposed method has been also investigated. A series of experiments and tests have been carried on to verify to effectiveness of the proposed method. The experimental results demonstrated that the proposed approach is effective in verifying the integrity of the RoT\u2019s own boot rom, user instructions, and data, ensuring authenticity and enabling the secure boot of the RoT\u2019s own system. Additionally, our approach provides memory protection against certain types of memory attacks, such as cache leaks and tampering, and ensures the security of root-of-trust sensitive information, including keys.<br><\/p>","references":"[1] R. Perez, \u201cSilicon systems security and building a root of trust,\u201d in 2015\r\nIEEE Asian Solid-State Circuits Conference (A-SSCC). IEEE, 2015,\r\npp. 1\u20134.\r\n[2] B. M\u00f8ller, M. Pedersen, and T. B\u00f8gedal, \u201cFormally verifying security\r\nproperties for opentitan boot code with uppaal,\u201d To Appear. MA thesis.\r\nAAU, 2021.\r\n[3] T. Lu, \u201cA survey on risc-v security: Hardware and architecture,\u201d arXiv\r\npreprint arXiv:2107.04175, 2021.\r\n[4] Y. Gui, A. S. Siddiqui, and F. Saqib, \u201cHardware based root of trust for\r\nelectronic control units,\u201d in SoutheastCon 2018. IEEE, 2018, pp. 1\u20137.\r\n[5] A. Ehret, E. Del Rosario, K. Gettings, and M. A. Kinsy, \u201cA hardware\r\nroot-of-trust design for low-power soc edge devices,\u201d in 2020 IEEE High\r\nPerformance Extreme Computing Conference (HPEC). IEEE, 2020, pp.\r\n1\u20136.\r\n[6] A. Tomlinson, \u201cIntroduction to the tpm,\u201d Smart Cards, Tokens, Security\r\nand Applications, pp. 173\u2013191, 2017.\r\n[7] E. Benhani, L. Bossuet, and A. Aubert, \u201cThe security of arm trustzone\r\nin a fpga-based soc,\u201d IEEE Transactions on Computers, vol. 68, no. 8,\r\npp. 1238\u20131248, 2019.\r\n[8] H. Raj, S. Saroiu, A. Wolman, R. Aigner, J. Cox, P. England, C. Fenner,\r\nK. Kinshumann, J. Loeser, D. Mattoon et al., \u201cftpm: A firmware-based\r\ntpm 2.0 implementation,\u201d Microsoft Research, pp. 0\u201323, 2015.\r\n[9] J. Van Bulck, M. Minkin, O. Weisse, D. Genkin, B. Kasikci, F. Piessens,\r\nM. Silberstein, T. F. Wenisch, Y. Yarom, and R. Strackx, \u201cForeshadow:\r\nExtracting the keys to the intel sgx kingdom with transient out-of-order\r\nexecution,\u201d in Proceedings fo the 27th USENIX Security Symposium.\r\nUSENIX Association, 2018.\r\n[10] N. R. Weidler, D. Brown, S. A. Mitchel, J. Anderson, J. R. Williams,\r\nA. Costley, C. Kunz, C. Wilkinson, R. Wehbe, and R. Gerdes,\r\n\u201cReturn-oriented programming on a cortex-m processor,\u201d in 2017 IEEE\r\nTrustcom\/BigDataSE\/ICESS. IEEE, 2017, pp. 823\u2013832.\r\n[11] J. Haj-Yahya, M. M. Wong, V. Pudi, S. Bhasin, and A. Chattopadhyay,\r\n\u201cLightweight secure-boot architecture for risc-v system-on-chip,\u201d in 20th\r\nInternational Symposium on Quality Electronic Design (ISQED). IEEE,\r\n2019, pp. 216\u2013223.\r\n[12] X. Zheng, X. Hu, J. Zhang, J. Yang, S. Cai, and X. Xiong, \u201cAn efficient\r\nand low-power design of the sm3 hash algorithm for iot,\u201d Electronics,\r\nvol. 8, no. 9, p. 1033, 2019.\r\n[13] J. Daemen and V. Rijmen, \u201cAes proposal: Rijndael,\u201d 1999.\r\n[14] F. Armknecht and J. Guajardo, \u201cFourth international workshop on\r\ntrustworthy embedded devices (trusted 2014),\u201d in Proceedings of the\r\n2014 ACM SIGSAC Conference on Computer and Communications\r\nSecurity, 2014, pp. 1548\u20131549.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 212, 2024"}