Bridging the Gap between RTL and Software Fault Injection

2021 ◽  
Vol 17 (3) ◽  
pp. 1-24
Author(s):  
J. Laurent ◽  
C. Deleuze ◽  
F. Pebay-Peyroula ◽  
V. Beroulle

Protecting programs against hardware fault injection requires accurate software fault models. However, typical models, such as the instruction skip, do not take into account the microarchitecture specificities of a processor. We propose in this article an approach to study the relation between faults at the Register Transfer Level (RTL) and faults at the software level. The goal is twofold: accurately model RTL faults at the software level and materialize software fault models to actual RTL injections. These goals lead to a better understanding of a system's security against hardware fault injection, which is important to design effective and cost-efficient countermeasures. Our approach is based on the comparison between results from RTL simulations and software injections (using a program mutation tool). Various analyses are included in this article to give insight on the relevance of software fault models, such as the computation of a coverage and fidelity metric, and to link software fault models to hardware RTL descriptions. These analyses are applied on various single-bit and multiple-bit injection campaigns to study the faulty behaviors of a RISC-V processor.

2019 ◽  
Vol 63 (5) ◽  
pp. 758-773
Author(s):  
Matthew Leeke

Abstract The application of machine learning to software fault injection data has been shown to be an effective approach for the generation of efficient error detection mechanisms (EDMs). However, such approaches to the design of EDMs have invariably adopted a fault model with a single-fault assumption, limiting the relevance of the detectors and their evaluation. Software containing more than a single fault is commonplace, with safety standards recognizing that critical failures are often the result of unlikely or unforeseen combinations of faults. This paper addresses this shortcoming, demonstrating that it is possible to generate efficient EDMs under simultaneous fault models. In particular, it is shown that (i) efficient EDMs can be designed using fault injection data collected under models accounting for the occurrence of simultaneous faults, (ii) exhaustive fault injection under a simultaneous bit flip model can yield improved EDM efficiency, (iii) exhaustive fault injection under a simultaneous bit flip model can be made non-exhaustive and (iv) EDMs can be relocated within a software system using program slicing, reducing the resource costs of experimentation to practicable levels without sacrificing EDM efficiency.


2021 ◽  
Author(s):  
Johannes Muller ◽  
Mohammad Rahmani Fadiheh ◽  
Anna Lena Duque Anton ◽  
Thomas Eisenbarth ◽  
Dominik Stoffel ◽  
...  

2005 ◽  
Author(s):  
P.K. Tapadiya ◽  
D.R. Avresky

Sign in / Sign up

Export Citation Format

Share Document