Hardware_Assisted_Security Flashcards

1
Q

Hardware Shadow Stack: Intel CET

A
  • intels cpu maintains intern a stack of return targets

- > compares upon return(if no match raises CP{control protection})

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

Intel CET: Control-Flow Integrity

A
  • Indirect Branch Tracking
  • > ENDBRANCH Instruktion looks if call/jump was valid
  • > at start of functions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Hardware Performance Counters(HPC)

A
  • collects statistics of branches, cache hits/misses etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HPC: POR detection

A
  • ROP chain causes return prediction misses, that can be observed
  • if number of misprediction is too much; rain alert
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

HPC: Rootkit Detection

A
  • HPC does interrupts and gathers information

- compares interrupts and looks if there have been pointers outside the normal known modules

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

HPC: Side Channel Detection

A
  • if there are to many misses of the cache then raise alert
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ROP detection via Last Branch Record

A
  • modern processors are able to record last branch target
  • if the code fragment is to short; alert
  • if return branch not on original call; alert
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

SMEP

A

Supervisor Mode EXECUTION Prevention

- prevents execution of user data in kernel mode

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

SMAP

A

Supervisor Mode ACCESS Prevention

- forbids to access user data in supervisor mode

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

Hardware Assisted Crypto

A

CPU can generate more random numbers then software

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

Hardware Memory Encryption

A
  • RAM stored in plain text
  • > cold boot leaks it
  • Encrypt pages
  • > key always in CPU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Pointer Bounds Check in Hardware

A
  • Fat pointer may help against buffer overflow
  • > data still could be overwritten
  • create registers that store lower and upper bound
  • > need compiler for it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

HDD versus Flash storage deletion

A

HDD
- Have sectors in HDD; if sector is overwritten with random data several times it’s “deleted”
Flash
- we have Blocks
- if we overwrite block it isn’t overwritten
- also if we overwritte all sectors; also data not overwritten
-> overwriting several times might work might not

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