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 条
  • [41] Secure Instruction and Data-Level Information Flow Tracking Model for RISC-V
    Nicholas, Geraldine Shirley
    Aklekar, Dhruvakumar Vikas
    Thakar, Bhavin
    Saqib, Fareena
    CRYPTOGRAPHY, 2023, 7 (04)
  • [42] A RISC-V Extension to Minimize Privileges of Enclave Runtimes
    Kalani, Neelu S.
    Bugnion, Edouard
    PROCEEDINGS OF THE 2023 6TH WORKSHOP ON SYSTEM SOFTWARE FOR TRUSTED EXECUTION, SYSTEX 2023, 2023, : 4 - 9
  • [43] A Pluggable Vector Unit for RISC-V Vector Extension
    Maisto, Vincenzo
    Cilardo, Alessandro
    PROCEEDINGS OF THE 2022 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE 2022), 2022, : 1143 - 1148
  • [44] Vectorized Nonlinear Functions with the RISC-V Vector Extension
    Bavier, Eric
    Knight, Nicholas
    Saint-Genies, Hugues De lassus
    Love, Eric
    2023 IEEE 30TH SYMPOSIUM ON COMPUTER ARITHMETIC, ARITH 2023, 2023, : 127 - 130
  • [45] Collective Communication for the RISC-V xBGAS ISA Extension
    Williams, Brody
    Wang, Xi
    Leidel, John D.
    Chen, Yong
    PROCEEDINGS OF THE 48TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING WORKSHOPS (ICPP 2019), 2019,
  • [46] Turna: a control flow graph reconstruction tool for RISC-V architecture
    Veysel Harun Sahin
    Computing, 2023, 105 : 1821 - 1845
  • [47] Enforcing Forward-Edge Control-Flow Integrity in GCC & LLVM
    Tice, Caroline
    Roeder, Tom
    Collingbourne, Peter
    Checkoway, Stephen
    Erlingsson, Ulfar
    Lozano, Luis
    Pike, Geoff
    PROCEEDINGS OF THE 23RD USENIX SECURITY SYMPOSIUM, 2014, : 941 - 955
  • [48] Demonstrating custom SIMD instruction development for a RISC-V softcore
    Papaphilippou, Philippos
    Kelly, Paul H. J.
    Luk, Wayne
    2021 31ST INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS (FPL 2021), 2021, : 139 - 139
  • [49] LLVM RISC-V Target Backend Instruction for Reshape Operator
    Budurean, Marius-Mihai
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 241 - 245
  • [50] Turna: a control flow graph reconstruction tool for RISC-V architecture
    Sahin, Veysel Harun
    COMPUTING, 2023, 105 (08) : 1821 - 1845