GSEC practice question 18 of 35
What technique makes it difficult for attackers to predict the memory address space location for code execution?
Full set: 383 questionsDomain Malicious Code and Exploit Mitigation
Address Space Layout Randomization (ASLR) is a computer security technique that involves randomly arranging the positions of key data areas in a process's virtual memory. These areas include the base of the executable and the positions of the stack, heap, and libraries. This randomization makes it significantly more difficult for an attacker to predict target addresses for exploits, such as buffer overflows, that require knowing the location of executable code. By changing memory locations every time a program is run, ASLR mitigates certain types of security attacks by preventing attackers from reliably jumping to a specific exploited function or gadget.
A. Security Cookies: A synonym for stack canaries; they are used to detect stack corruption, not to randomize memory addresses.
B. DFP: This is not a standard acronym for a memory protection technique related to address randomization.
C. SLMOP: This is not a standard acronym for a memory protection technique related to address randomization.
E. Stack Canaries: These are known values placed on the stack to detect buffer overflows upon function return, not a method for randomizing memory layout.
1. Shacham
H.
Page
M.
Pfaff
B.
Goh
E. J.
Modadugu
N.
& Boneh
D. (2004). On the effectiveness of address-space randomization. Proceedings of the 11th ACM conference on Computer and communications security
298-307. (See Section 2
"Address-Space Randomization
" p. 299 for a detailed description of the technique). DOI: https://doi.org/10.1145/1030083.1030124
2. Microsoft Corporation. (2023). Address Space Layout Randomization (ASLR). Microsoft Learn. (The entire document describes how ASLR works to "randomly load the process images into memory" to mitigate exploits). Retrieved from Microsoft's official documentation on Windows security features.
3. Kaashoek
M. F.
& Zeldovich
N. (2014). Lecture 4: Control-Flow Hijacking. MIT OpenCourseWare
6.858 Computer Systems Security
Fall 2014. (Section "Defenses: randomization" explicitly details ASLR as a technique to "Randomize location of stack
heap
code
libraries in address space").
Keep practicing
Take the free GSEC practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GSEC practice questions
- Question 1What is the key difference between Electronic Codebook mode and other block cipher modes …
- Question 2Which of the following systems acts as a NAT device when utilizing VMware in NAT mode?
- Question 4You are doing some analysis of malware on a Unix computer in a closed test network. The I…
- Question 5You work as a Network Administrator for McNeil Inc. The company has a Linux-based network…
- Question 6Which of the following services resolves host name to IP Address?
- Question 7What does PowerShell remoting use to authenticate to another host in a domain environment?
