Week 9 Flashcards

1
Q

How are Buffer Overflow attacks harmful?

A

Attacker can exploit to make an app run arbitary code.

E.g: SQL attacks, countless worms.

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

What are the elements of x86 architecture?

A

Text: Instructions
Data: Static variables
Heap
Stack: command line args

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

What are ESP and EBP?

A

ESP: Points to stack top.

EBP: Points to base of stack frame.

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

Describe the NX bit?

A

Provides hardware distinction between text and stack.

Program will crash if EIP points to stack.

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

What is an attack against the NX bit?

A

Reuse code from executable memory.

E.g: Jump to another function, jump to library function

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

What is ASLR?

A

Address Space Layout Randomization.

Adds random stack offset code base offset each time it runs.

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