December 2017
Intermediate to advanced
860 pages
16h 1m
English
Metasploit provides a very convenient tool to find ROP gadgets: msfrop. It not only enables us to list all the ROP gadgets, but also allows us to search through those gadgets in order to find the relevant gadgets for our required actions. Let's say we need to find all the gadgets that can help us to perform a pop operation over the ECX register. We can do this using msfrop as follows:
As soon as we provide -s switch for searching and -v for verbose output, we start getting the list of all gadgets where POP ECX instruction is used. Let's see the results:
We can see we have various gadgets that can perform the ...
Read now
Unlock full access