buffer overflow short

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:15 PM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

8 Terms

1
New cards

What is buffer overflow?

A running program attempts to write data outside its buffer

2
New cards

How might a buffer overflow vulnerability be exploited?

Code can be inserted an executed in memory; if user input can only be 24 characters long they can insert code at 25

3
New cards

How does the stack grow in memory?

Down, pushing data decreases stack pointer and popping increases it

4
New cards

What is a stack pointer

A CPU register tracking the top of the stack

5
New cards

what items in order are saved on a stack when a c function call is made?

Return address, saved frame pointer, parameter values, all local variables

6
New cards

How does an attacker exploit a buffer overflow vulnerability?

Send the app a long string to overflow its buffer; overwrite return address using injected code

7
New cards

What are countermeasures against buffer overflow attack?

Check array bounds, non executable buffers, validate input, limit app privileges

8
New cards

Stack pointer is maintained by?

OS