CompTIA CASP+ (CAS-004) — Question 521

A security analyst is investigating a possible buffer overflow attack. The following output was found on a user's workstation: graphic.linux_randomization.prg
Which of the following technologies would mitigate the manipulation of memory segments?

Answer options

Correct answer: B

Explanation

ASLR (Address Space Layout Randomization) is effective in mitigating buffer overflow attacks by randomizing the memory address space layout, making it difficult for attackers to predict where to inject malicious code. The NX bit and DEP (Data Execution Prevention) also provide protections against executing code in certain areas of memory, but ASLR specifically addresses the randomization of memory segments, providing a stronger defense against this type of attack. HSM (Hardware Security Module) is unrelated to memory segment manipulation.