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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started