Fault Injection Attacks Flashcards

1
Q

Types of fault classifications

A

duration, controllability, fault resolution

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

duration faults

A
  • Transient - happens once and goes away
  • Permanent - the device now forever has this error
  • Destructive - we can no longer use the device
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

controllability faults

A
  • Precise - can control time / location of fault
  • Loose - some control, but not very precise
  • No-control -
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fault resolution

A

how much impact did the fault have on the data - bits, few bits, bytes/words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Stuck-at faults

A

bits are permanently the same value, no amount of reading or writing can change their value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Bit-flip faults

A

all bits are flipped

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Random faults

A

bits are changed randomly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Set/reset faults

A

can change the value of a bit in only one direction
○ All bits become 1s (set)
○ All bits become 0s (reset)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Three ways to create faults

A

Clock glitches, voltage spikes, underpowering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

clock glitches

A
  • Temporarily overclock or make one cycle faster

- Processor does not have enough time to finish all the work it has to do => wrong values get set in the registers, etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

voltage spikes

A
  • Temporarily increase or decrease in power

- Can cause circuitry to fault because it lacks power/has too much power

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Underpowering

A
  • Reduce supply voltage for a long period of time
  • Can be transient or permanent
  • Makes circuitry slower => sometimes is doesn’t complete what it was supposed to complete during a clock cycle
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

7 Effects of Glitches and Spikes

A
  • Replacement (or skipping) of instructions
    • Tampering with loops or conditionals
    • Change of program counter
    • Effects on data flow
      ○ Use value from the wrong register
    • Computation errors
      ○ Produce 7+2 = 11
    • Corrupt memory pointers
    • No bit transitions on data bu
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

does it take longer to switch a bit in one direction vs the other?

A

Changing 0->1 takes shorter length glitches than 1->0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Categories of Fault-Injections

A

non, semi-, and invasive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Heating fault injections cons

A

Not the most accurate, hard to control, and chip can only be heated so many times

17
Q

What are cooling attacks aimed at?

A

devices that are designed to lose data when powered off

18
Q

Optical Fault Injection

A

Can switch transistor by exposing it to light. semi-invasive, but very configurable

19
Q

Electromagnetic Fault Injection

A

induce Eddy current, switch transistors

20
Q

Countermeasures to fault injections

A

cannot prevent, so want to make things harder!

  • Hide sensitive parts of the chip (physically or via encryption)
  • Add filters/security sensors to detect if someone is trying to raise power, etc
21
Q

RSA encryption

A

rewatch