Wednesday, January 18, 2012

Finding ROP Gadgets

I have been having fun with ROP (Return Oriented Programming) based exploits recently.  I used to use the pvefindaddr plugin by Corelan for Immunity Debugger to hunt for ROP gadgets.

Lately though, the search functions of Immunity Debugger have really grown on me, so much so that I don't use the pvefindaddr plugin anymore.  (I haven't tried out the capabilities of the mona.py plugin in this area though.)

Anyway, if you want to give the search functions in Immunity a go, try out the keywords CONST, ANY, R32, JCC, etc.  You may be surprised at the flexibility offered.

No comments:

Post a Comment