Advanced Cybersecurity & Cryptography
Q84 / 100

What is return-oriented programming (ROP) and how does it bypass DEP/NX?

Correct! Well done.

Incorrect.

The correct answer is B) An exploit technique chaining existing code gadgets (sequences ending in RET) from the process's own memory, bypassing DEP/NX since no new code is injected

B

Correct Answer

An exploit technique chaining existing code gadgets (sequences ending in RET) from the process's own memory, bypassing DEP/NX since no new code is injected

Explanation

DEP/NX marks pages non-executable. ROP reuses existing executable code. Attackers build "gadget chains" on the stack — small code sequences ending in RET. Combined with ASLR bypass (info leak), enables arbitrary code execution.

Progress
84/100