Question: Demonstrate the concept of ROP. Assume a non-executable stack. Use the code below and GDB debugger to find System function address (assume a 32-bit or
Demonstrate the concept of ROP. Assume a non-executable stack. Use the code below and GDB debugger to find System function address (assume a 32-bit or 64-bit system) in libc. Find the address of /bin/sh (system shell) by using the same code and GDB debugger. Demonstrate how this information can be used to circumvent a non-executable stack and perform a ret2libc attack, an example of ROP.
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
