Types of fault classifications
duration, controllability, fault resolution
duration faults
controllability faults
Fault resolution
how much impact did the fault have on the data - bits, few bits, bytes/words
Stuck-at faults
bits are permanently the same value, no amount of reading or writing can change their value
Bit-flip faults
all bits are flipped
Random faults
bits are changed randomly
Set/reset faults
can change the value of a bit in only one direction
○ All bits become 1s (set)
○ All bits become 0s (reset)
Three ways to create faults
Clock glitches, voltage spikes, underpowering
clock glitches
- Processor does not have enough time to finish all the work it has to do => wrong values get set in the registers, etc
voltage spikes
- Can cause circuitry to fault because it lacks power/has too much power
Underpowering
7 Effects of Glitches and Spikes
does it take longer to switch a bit in one direction vs the other?
Changing 0->1 takes shorter length glitches than 1->0
Categories of Fault-Injections
non, semi-, and invasive
Heating fault injections cons
Not the most accurate, hard to control, and chip can only be heated so many times
What are cooling attacks aimed at?
devices that are designed to lose data when powered off
Optical Fault Injection
Can switch transistor by exposing it to light. semi-invasive, but very configurable
Electromagnetic Fault Injection
induce Eddy current, switch transistors
Countermeasures to fault injections
cannot prevent, so want to make things harder!
RSA encryption
rewatch