Mona.py
Setup
Set the log directory:
!mona config -set workingfolder C:\ImmunityLogs\%pOffset
Create pattern:
!mona pc 1024Find offset:
!mona po <eip>Classic
Find a jmp esp gadget:
!mona jmp -r esp -cpb "<badchars>"SEH
Find a pop pop ret gadget:
!mona sehEgghunting
Generate an egghunter:
!mona eggROP
FInd modules with ASLR and Rebase disabled:
!mona modules -cm aslr=false,rebase=falseSearch for ROP chains and gadgets in the range of certain modules:
!mona rop -m <modules> -cpb "<badchars>"Last updated
Was this helpful?