Valid CISSP Dumps shared by ExamDiscuss.com for Helping Passing CISSP Exam! ExamDiscuss.com now offer the newest CISSP exam dumps, the ExamDiscuss.com CISSP exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CISSP dumps with Test Engine here:
How can an attacker exploit overflow to execute arbitrary code?
Correct Answer: A
An attacker can exploit a buffer overflow to execute arbitrary code by modifying a function's return address. A buffer overflow is a condition that occurs when a program attempts to write more data to a fixed-length memory space, or buffer, than it can hold. A buffer overflow can corrupt the adjacent memory locations, which may contain important data or instructions for the program. A function's return address is the memory location that stores the address of the instruction that the program should return to after executing the function. An attacker can overwrite the return address with the address of a malicious code, which can be injected into the buffer or another location, and redirect the program flow to execute the malicious code.