Lightweight Countermeasures Against Original Linear Code Extraction Attacks on a RISC-V Core - Archive ouverte HAL
Communication Dans Un Congrès Année : 2023

Lightweight Countermeasures Against Original Linear Code Extraction Attacks on a RISC-V Core

Théophile Gousselot
  • Fonction : Auteur correspondant
  • PersonId : 1353963

Connectez-vous pour contacter l'auteur
Olivier Thomas
Jean-Max Dutertre
Olivier Potin
  • Fonction : Auteur
  • PersonId : 872479

Résumé

Linear Code Extraction (LCE) is an invasive attack aiming at fully extracting a code from a device's memory for reverse engineering purposes. The core instruction bus is identified and microprobed using Failure Analysis tools. Meanwhile, other microprobes force internal nodes of the core to logic states which allow a full memory linear extraction. This paper demonstrates the first assessment of a RISC-V core vulnerability to LCE. It evaluates the complexity to extract the code in the right order by freezing the instruction register or by editing the incoming instructions. This paper introduces three original countermeasures to detect an ongoing LCE by monitoring symptoms such as the lack of branch instruction execution. These hardware countermeasures are lightweight and adaptable to other core architectures. We develop an experimental setup based on a functional simulation framework and an FPGA-based demonstration. This setup made it possible to study and assess the LCE vulnerabilities of our RISC-V target and to validate the effectiveness of our proposed countermeasures. The area overhead was measured between 0.52% and 1.47% of the cv32e40p RISC-V core. Depending on the detection latency target, the clock cycle overhead using the Embench™ benchmarks can be null or kept below 1%.
Fichier principal
Vignette du fichier
lightweight_countermeasures_against_original_linear_code_extraction_attacks_on_a_risc_v_core_host_2023_gousselot_theophile_authors_version.pdf (4.37 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04465052 , version 1 (19-02-2024)

Identifiants

Citer

Théophile Gousselot, Olivier Thomas, Jean-Max Dutertre, Olivier Potin, Jean-Baptiste Rigaud. Lightweight Countermeasures Against Original Linear Code Extraction Attacks on a RISC-V Core. 2023 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), May 2023, San Jose, France. pp.89-99, ⟨10.1109/HOST55118.2023.10133316⟩. ⟨hal-04465052⟩
31 Consultations
85 Téléchargements

Altmetric

Partager

More