A security engineer is establishing host-hardening baselines for web servers to mitigate memory corruption and buffer overflow exploits. The engineer must configure controls that randomize memory locations assigned to system processes and mark stack memory regions as non-executable. Which of the following technical mitigations best satisfies these security requirements?
- Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP)Answer
- BSecurity-Enhanced Linux (SELinux) in permissive mode and chroot jailing
- CHost-based Intrusion Detection System (HIDS) and application allowlisting
- DNetwork Segmentation and Transport Layer Security (TLS) mutual authentication
Answer
Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP)
The correct answer provides the exact combination of host-hardening memory protections needed. Address Space Layout Randomization (ASLR) randomizes the memory locations of key data areas (such as base executable, stack, and heap), making it difficult for an attacker to reliably jump to target memory locations. Data Execution Prevention (DEP), also known as Exec Shield or the NX (No-Execute) bit, prevents code execution from non-executable memory regions such as the stack and heap.
Step-by-Step Solution
Key Concept
Host Hardening and Exploit Mitigations (ASLR & DEP)