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 条
  • [21] RISC-V Extension for Lightweight Cryptography
    Tehrani, Etienne
    Graba, Tarik
    Merabet, Abdelmalek Si
    Danger, Jean-Luc
    2020 23RD EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2020), 2020, : 222 - 228
  • [22] A Compression Instruction Set Design based on RISC-V for Network Packet Forwarding
    Cao, Z.
    Lv, Q.
    Wang, Y.
    Wen, M.
    Wu, N.
    Zhang, C.
    2018 INTERNATIONAL CONFERENCE ON ELECTRONICS, COMMUNICATIONS AND CONTROL ENGINEERING (ICECC), 2018, 1026
  • [23] NLU-V: A Family of Instruction Set Extensions for Efficient Symmetric Cryptography on RISC-V
    Uzuner, Hakan
    Kavun, Elif Bilge
    CRYPTOGRAPHY, 2024, 8 (01)
  • [24] Design of RLWE Cryptoprocessor Based on Vector-Instruction Extension with RISC-V Architecture
    Zhang, Quan
    Huang, Yujie
    Cai, Yujie
    Pang, Yalong
    Han, Jun
    2018 14TH IEEE INTERNATIONAL CONFERENCE ON SOLID-STATE AND INTEGRATED CIRCUIT TECHNOLOGY (ICSICT), 2018, : 135 - 137
  • [25] Virtual Prototype driven Design, Implementation and Evaluation of RISC-V Instruction Set Extensions
    Funck, Milan
    Herdt, Vladimir
    Drechsler, Rolf
    2022 25TH INTERNATIONAL SYMPOSIUM ON DESIGN AND DIAGNOSTICS OF ELECTRONIC CIRCUITS AND SYSTEMS (DDECS), 2022, : 14 - 19
  • [26] Energy-Efficient Exposed Datapath Architecture With a RISC-V Instruction Set Mode
    Hepola, Kari
    Multanen, Joonas
    Jaaskelainen, Pekka
    IEEE TRANSACTIONS ON COMPUTERS, 2024, 73 (02) : 560 - 573
  • [27] Efficient Processing-in-Memory System Based on RISC-V Instruction Set Architecture
    Lim, Jihwan
    Son, Jeonghun
    Yoo, Hoyoung
    ELECTRONICS, 2024, 13 (15)
  • [28] Extending the RISC-V Instruction Set for High Performance Data Compression Hardware Acceleration
    Huang, Junzhe
    Dou, Qiang
    Shen, Li
    2024 IEEE 35TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP 2024, 2024, : 131 - 132
  • [29] A low-cost synthesizable RISC-V dual-issue processor core leveraging the compressed Instruction Set Extension
    Patsidis, Karyofyllis
    Konstantinou, Dimitris
    Nicopoulos, Chrysostomos
    Dimitrakopoulos, Giorgos
    MICROPROCESSORS AND MICROSYSTEMS, 2018, 61 : 1 - 10
  • [30] A RISC-V Post Quantum Cryptography Instruction Set Extension for Number Theoretic Transform to Speed-Up CRYSTALS Algorithms
    Nannipieri, Pietro
    Di Matteo, Stefano
    Zulberti, Luca
    Albicocchi, Francesco
    Saponara, Sergio
    Fanucci, Luca
    IEEE ACCESS, 2021, 9 (09) : 150798 - 150808