MAMBO-V: Dynamic Side-Channel Leakage Analysis on RISC-V

被引:0
|
作者
Wichelmann, Jan [1 ]
Peredy, Christopher [1 ]
Sieck, Florian [1 ]
Paetschke, Anna [1 ]
Eisenbarth, Thomas [1 ]
机构
[1] Univ Lubeck, Lubeck, Germany
关键词
RISC-V; Side-channel attacks; Dynamic binary instrumentation; Software security;
D O I
10.1007/978-3-031-35504-2_1
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
RISC-V is an emerging technology, with applications ranging from embedded devices to high-performance servers. Therefore, more and more security-critical workloads will be conducted with code that is compiled for RISC-V. Well-known microarchitectural side-channel attacks against established platforms like x86 apply to RISC-V CPUs as well. As RISC-V does not mandate any hardware-based side-channel countermeasures, a piece of code compiled for a generic RISC-V CPU in a cloud server cannot make safe assumptions about the microarchitecture on which it is running. Existing tools for aiding software-level precautions by checking side-channel vulnerabilities on source code or x86 binaries are not compatible with RISC-V machine code. In this work, we study the requirements and goals of architecture-specific leakage analysis for RISC-V and illustrate how to achieve these goals with the help of fast and precise dynamic binary analysis. We implement all necessary building blocks for finding side-channel leakages on RISC-V, while relying on existing mature solutions when possible. Our leakage analysis builds upon the modular side-channel analysis framework Microwalk, that examines execution traces for leakage through secret-dependent memory accesses or branches. To provide suitable traces, we port the ARM dynamic binary instrumentation tool MAMBO to RISC-V. Our port named MAMBO-V can instrument arbitrary binaries which use the 64-bit general purpose instruction set. We evaluate our toolchain on several cryptographic libraries with RISC-V support and identify multiple leakages.
引用
收藏
页码:3 / 23
页数:21
相关论文
共 50 条
  • [21] RISC-V Online Tutor
    Morgan, Fearghal
    Beretta, Arthur
    Gallivan, Ian
    Clancy, Joseph
    Rousseau, Frederic
    George, Roshan
    Bako, Laszlo
    Callaly, Frank
    ONLINE ENGINEERING AND SOCIETY 4.0, 2022, 298 : 131 - 143
  • [22] RISC-V2: A Scalable RISC-V Vector Processor
    Patsidis, Kariofyllis
    Nicopoulos, Chrysostomos
    Sirakoulis, Georgios Ch
    Dimitrakopoulos, Giorgos
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [23] RISC-V Dives Into AI > Demand for machine learning means RISC-V chips will be everywhere
    Moore, Samuel K.
    IEEE SPECTRUM, 2022, 59 (04) : 5 - 7
  • [24] RISC-V for Genome Data Analysis: Opportunities and Challenges
    Lopez-Villellas, Lorien
    Pineda-Sanchez, Esteve
    Badouh, Asaf
    Marco-Sola, Santiago
    Ibanez, Pablo
    Alastruey-Benede, Jesus
    Moreto, Miquel
    2023 38TH CONFERENCE ON DESIGN OF CIRCUITS AND INTEGRATED SYSTEMS, DCIS, 2023,
  • [25] Rapid RISC: Fast Customization of RISC-V Processors
    Donofrio, David D.
    Leidel, John D.
    OPEN ARCHITECTURE/OPEN BUSINESS MODEL NET-CENTRIC SYSTEMS AND DEFENSE TRANSFORMATION 2022, 2022, 12119
  • [26] Early Soft Error Reliability Analysis on RISC-V
    Lodea, Nicolas
    Nunes, Willian
    Zanini, Vitor
    Sartori, Marcos
    Ost, Luciano
    Calazans, Ney
    Garibotti, Rafael
    Marcon, Cesar
    IEEE LATIN AMERICA TRANSACTIONS, 2022, 20 (09) : 2139 - 2145
  • [27] Information Flow Tracking in RISC-V
    Shirley, Geraldine
    Saqib, Fareena
    2019 IEEE 16TH INTERNATIONAL CONFERENCE ON SMART CITIES: IMPROVING QUALITY OF LIFE USING ICT, IOT AND AI (IEEE HONET-ICT 2019), 2019, : 199 - 200
  • [28] RISC-V RANDOM TEST GENERATOR
    Dai Duong Tran
    Thi Giang Truong
    Truong Giang Do
    The Duc Do
    2021 15TH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTING AND APPLICATIONS (ACOMP 2021), 2021, : 150 - 155
  • [29] A Framework for Fault Tolerance in RISC-V
    Doerflinger, Alexander
    Kleinbeck, Benedikt
    Albers, Mark
    Michalik, Harald
    Moya, Martin
    2022 IEEE INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, INTL CONF ON CLOUD AND BIG DATA COMPUTING, INTL CONF ON CYBER SCIENCE AND TECHNOLOGY CONGRESS (DASC/PICOM/CBDCOM/CYBERSCITECH), 2022, : 163 - 170
  • [30] Efficient Cryptography on the RISC-V Architecture
    Stoffelen, Ko
    PROGRESS IN CRYPTOLOGY - LATINCRYPT 2019, 2019, 11774 : 323 - 340