Bratter: An Instruction Set Extension for Forward Control-Flow Integrity in RISC-V

被引:4
|
作者
Park, Seonghwan [1 ]
Kang, Dongwook [2 ]
Kang, Jeonghwan [1 ]
Kwon, Donghyun [1 ]
机构
[1] Pusan Natl Univ, Sch Comp Sci & Engn, Comp Secur Lab, Busan 609735, South Korea
[2] Elect & Telecommun Res Inst, Cyber Secur Res Div, Daejeon 305700, South Korea
关键词
CFI; RISC-V; ISA;
D O I
10.3390/s22041392
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
In recent decades, there has been an increasing number of studies on control flow integrity (CFI), particularly those implementing hardware-assisted CFI solutions that utilize a special instruction set extension. More recently, ARM and Intel, which are prominent processor architectures, also announced instruction set extensions for CFI called branch target identification (BTI) and control-flow enhancement technology (CET), respectively. However, according to our preliminary analysis, they do not support various CFI solutions in an efficient and scalable manner. In this study, we propose Bratter, a new instruction set extension for forward CFI solutions on RISC-V. At the center of Bratter, there are Branch Tag Registers and dedicated instructions for these registers. We implemented well-known CFI solutions (i.e., branch regulation and function signature check) using Bratter to evaluate its performance. Our experimental results show that, by using Bratter, even when these two solutions work together, they impose only 1.20% and 5.99% overhead for code size and execution time, respectively.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Research on Control Flow Integrity for Risc-v
    Nie, Kai
    Zhang, Xiao
    Zou, Song
    Proceedings of SPIE - The International Society for Optical Engineering, 2024, 13228
  • [2] FlexBex: A RISC-V with a Reconfigurable Instruction Extension
    Nguyen Dao
    Attwood, Andrew
    Healy, Bea
    Koch, Dirk
    2020 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT 2020), 2020, : 190 - 195
  • [3] Audio Denoising Coprocessor Based on RISC-V Custom Instruction Set Extension
    Yuan, Jun
    Zhao, Qiang
    Wang, Wei
    Meng, Xiangsheng
    Li, Jun
    Li, Qin
    ACOUSTICS, 2022, 4 (03): : 538 - 553
  • [4] Evaluating RISC-V Vector Instruction Set Architecture Extension with Computer Vision Workloads
    Ruo-Shi Li
    Ping Peng
    Zhi-Yuan Shao
    Hai Jin
    Ran Zheng
    Journal of Computer Science and Technology, 2023, 38 : 807 - 820
  • [5] A buffer overflow detection and defense method based on RISC-V instruction set extension
    Liu, Chang
    Wu, Yan-Jun
    Wu, Jing-Zheng
    Zhao, Chen
    CYBERSECURITY, 2023, 6 (01)
  • [6] RISC-V Instruction Set Architecture Extensions: A Survey
    Cui, Enfang
    Li, Tianzheng
    Wei, Qian
    IEEE ACCESS, 2023, 11 : 24696 - 24711
  • [7] A buffer overflow detection and defense method based on RISC-V instruction set extension
    Chang Liu
    Yan-Jun Wu
    Jing-Zheng Wu
    Chen Zhao
    Cybersecurity, 6
  • [8] Evaluating RISC-V Vector Instruction Set Architecture Extension with Computer Vision Workloads
    Li, Ruo-Shi
    Peng, Ping
    Shao, Zhi-Yuan
    Jin, Hai
    Zheng, Ran
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2023, 38 (04) : 807 - 820
  • [9] RISC-VTF: RISC-V Based Extended Instruction Set for Transformer
    Jiao, Qiang
    Hu, Wei
    Liu, Fang
    Dong, Yong
    2021 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2021, : 1565 - 1570
  • [10] The design of scalar aes instruction set extensions for risc-v
    Marshall B.
    Newell G.R.
    Page D.
    Saarinen M.-J.O.
    Wolf C.
    IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020, 2021 (01): : 109 - 136