I/O Side Channels Flashcards

1
Q

In password timing attacks, how many attempts does it take?

A

26*n, instead of 26^n

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

What are pros (for attacker) for I/O SC?

A
  • computers have built-in support for gathering information about SC
  • easy to send anonymous packets to remote systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to mitigate timing SC

A

use a constant time implementation => response time should not depend on any secret information

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

better implementation of password checker and why setting ret = false is bad

A

ret = (s1[i]) == s2[i]) & ret.

setting ret to false adds an extra instruction!

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

cons of constant time implementation

A
  • hard to do (and can depend on compiler and hardware)
  • bad for performance => always exec worst case
  • may introduce new limitations (max pw len)
  • must consider binary-level code and hw implementation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how can compiler and hw interfere with better password checker impl?

A

compiler might not have the instructions to do the op in constant time or might try to optimize. hardware might have optimizations

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

Types of I/O Observable SC attacks

A
  1. timing packets in interactive connections

2. packet size (image vs text), can create amount/size/timing of images and text to fingerprint webpages

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

Benign uses of I/O SCs

A
  1. heartbeat messages

2. ensure software attestation (making sure sw has not been changed)

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

how does sw attestation SC work?

A

design checksum calculation so that it is faster to compute using program memory and fail attestation if it takes too long

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