Advanced Assembly Language
Q96 / 100

What is Return-Oriented Programming (ROP) chain construction?

Correct! Well done.

Incorrect.

The correct answer is B) Chaining gadget addresses on the stack so each RET pops the next gadget address, building arbitrary computation from existing code

B

Correct Answer

Chaining gadget addresses on the stack so each RET pops the next gadget address, building arbitrary computation from existing code

Explanation

pop rdi; ret followed by an address sets RDI. pop rsi; ret sets RSI. Gadgets performing system call setup let attackers call execve("/bin/sh") without injecting code.

Progress
96/100