20.3.13. Buffer Overflows

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

flashcard set

Earn XP

Description and Tags

20.3. Application Attacks

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

Buffer Overflow Attack

When an attacker writes more data into a buffer (memory space) than it can hold, causing it to overflow into adjacent memory.

- Goal: Change how the application behaves—either by crashing it, or by gaining elevated privileges.

2
New cards

Buffer

A memory space allocated for storing a specific amount of data (e.g., 8 bytes).

3
New cards

Overflow

When more data is written than the buffer size, the extra data spills over into nearby memory.

4
New cards

Bounds Checking

Validate input length before storing in memory.

5
New cards

DEP

Data Execution Prevention

This tells certain memory areas, "You're just for data, no running code allowed!" so injected code can't work.

6
New cards

ASLR

Address Space Layout Randomization :

This constantly shuffles where important program parts are in memory, making it super hard for attackers to guess where to aim their harmful code.