Software countermeasures against the multiple instructions skip fault model
In this work, we proposed two software countermeasures (CMs) for the detection of multiple instructions skips caused by Fault Injection (FI). The first CM is based on code duplication and uses a hardware dedicated counter. The implementation of this method consists in the duplication of instructions...
Gespeichert in:
Veröffentlicht in: | Microelectronics and reliability 2024-04, Vol.155, p.115370, Article 115370 |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | In this work, we proposed two software countermeasures (CMs) for the detection of multiple instructions skips caused by Fault Injection (FI). The first CM is based on code duplication and uses a hardware dedicated counter. The implementation of this method consists in the duplication of instructions previously turned into an idempotent form and the insertion of dedicated instructions incrementing a hardware counter in between the groups of duplicated instructions. The second CM is based on the insertion of Sensitive instruction (SI)s into a block of instructions as sensors of instruction skips. The SI is chosen based on the observed Fault Model (FM) at bit level. We experimentally validated the effectiveness of the two CMs in a 32-bit Microcontroller Unit (MCU) using Laser Fault Injection (LFI) and Electromagnetic Fault Injection (EMFI). First, the skip of multiple instructions was obtained with a fault rate of 100%. The FM at bit level was identified to be bit-reset rather than bit-set. Second, we carried out LFI and EMFI experiments to the protected codes to validate the effectiveness of the CMs. In both cases, the results showed that the proposed methods are effective to detect multiple instructions skip faults.
•Two software countermeasures were proposed for the detection of multiple instruction skips caused by Fault injection:– The first countermeasure is based on code duplication and uses a hardware dedicated counter,– The second countermeasure is based on the insertion of Sensitive instructions into a block of instructions as sensors of instruction skips.•The working principles of the countermeasures against the fault were discussed.•The effectiveness of the two countermeasures was experimentally validated using Laser Fault Injection (LFI) and Electromagnetic Fault Injection (EMFI). Results showed that the proposed countermeasures are effective to detect the skip of multiple instructions. |
---|---|
ISSN: | 0026-2714 1872-941X |
DOI: | 10.1016/j.microrel.2024.115370 |