smashing the stack for fun and profit (week 2) Flashcards

1
Q

buffer

A

a contiguous block of computer memory that holds multiple instances of the same data type

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

static vs. dynamic

A

static: allocated at load time on the data segment
dynamic: allocated at run time on the stack

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

true or false

memory can only be addressed in multiples of the word size

A

true

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

in short, how does a buffer overflow attack work?

A
  1. attack can copy more data than was expected by developer
  2. attacker can inject its own code into the stack
  3. attacker can redirect control of the program by replacing return address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly