Deck 12: Buffer Overflows
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/18
Play
Full screen (f)
Deck 12: Buffer Overflows
1
Buffer overflow is a condition common to structured programming languages such as the "C" language.
True
2
Functions use variables to store values that may be stored temporarily or permanently.
True
3
Buffer overflows are always intentional attacks.
False
4
A stack cannot store details regarding the function that called the currently executing function.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
5
A heap provides a permanent memory space unlike the temporary memory space that is provided by a stack.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
6
The "____" language was used to write utilities and operating systems, including UNIX and Windows.
A)C
B)Java
C)Basic
D)Fortran
A)C
B)Java
C)Basic
D)Fortran
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
7
When a user requests to execute a "C" program file, the primary function referred to is the ____ function.
A)start
B)open
C)load
D)main
A)start
B)open
C)load
D)main
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
8
The ____ bug targets the variables that are used by functions to store values.
A)overload
B)buffer overflow
C)flood
D)DoS
A)overload
B)buffer overflow
C)flood
D)DoS
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
9
To circumvent stack buffer overflows, programmers create applications that do not allow extra characters to be accepted by a variable making the traditional buffer overflow method problematic. This check can be bypassed by using the ____ method.
A)character hashing
B)nybble-to-byte compression
C)character-set decoding
D)set encryption
A)character hashing
B)nybble-to-byte compression
C)character-set decoding
D)set encryption
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
10
The ____ function is a secure replacement for the gets() function.
A)strncat()
B)snprintf()
C)strncpy()
D)fgets()
A)strncat()
B)snprintf()
C)strncpy()
D)fgets()
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
11
____________________ happens when input applied to a variable is larger than the memory allotted to that variable.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
12
____________________ has a goal of overloading the memory space provided to the variable. This might either allow the attacker to crash the computer or break into it.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
13
On some specific operating systems, the kernel can be patched in such a way that running processes are not affected by buffer overflow conditions. This patch is called ______________________________.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
14
Buffer overflows can be divided into two categories: _________________________ and heap overflow.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
15
A(n) ____________________ is known as the corruption of the instruction pointer, which points to the memory area where the function to be executed is stored.
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
16
How can buffer overflows be avoided?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
17
Why do programs need a memory stack area?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
18
What are the steps involved in a buffer overflow exploit?
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck