Litcius/Paper detail

Bypassing Isolated Execution on RISC-V using Side-Channel-Assisted Fault-Injection and Its Countermeasure

Shoei Nashimoto, Daisuke Suzuki, Rei Ueno, Naofumi Homma

2021IACR Transactions on Cryptographic Hardware and Embedded Systems17 citationsDOIOpen Access PDF

Abstract

RISC-V is equipped with physical memory protection (PMP) to prevent malicious software from accessing protected memory regions. PMP provides a trusted execution environment (TEE) that isolates secure and insecure applications. In this study, we propose a side-channel-assisted fault-injection attack to bypass isolation based on PMP. The proposed attack scheme involves extracting successful glitch parameters for fault injection from side-channel information under crossdevice conditions. A proof-of-concept TEE compatible with PMP in RISC-V was implemented, and the feasibility and effectiveness of the proposed attack scheme was validated through experiments in TEEs. The results indicate that an attacker can bypass the isolation of the TEE and read data from the protected memory region In addition, we experimentally demonstrate that the proposed attack applies to a real-world TEE, Keystone. Furthermore, we propose a software-based countermeasure that prevents the proposed attack.

Topics & Concepts

Side channel attackComputer scienceCountermeasureFault injectionEmbedded systemReduced instruction set computingFault (geology)GlitchIsolation (microbiology)Computer securitySoftwareScheme (mathematics)Computer hardwareCryptographyOperating systemInstruction setEngineeringTelecommunicationsBiologyMicrobiologyMathematicsMathematical analysisGeologyDetectorSeismologyAerospace engineeringSecurity and Verification in ComputingSemiconductor materials and devicesAdvanced Memory and Neural Computing