Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  !findtrampoline Immunity Debugger Extension

Topic created on: August 11, 2007 08:57 CDT by Faithless .

Findtrampoline.py is a simple Immunity Debugger 'PyCommand' script. It finds a suitable trampoline to the chosen register. These could be suitable addresses to use in overwriting the saved return address, when exploiting a classic stack overflow.

This is similar functionality to eEye's findjmp and Metasploit's msfpescan tools.

Install by copying this file into the PyCommands\ folder, and from within the running debugger issue the !findtrampoline <register> command. It will search for the basic jmp, call and push/ret combinations to direct execution into a register which points to our shellcode.

-Rhys

  MohammadHosein     August 11, 2007 09:10.10 CDT
well done ! thanks

  kernex   August 11, 2007 10:53.54 CDT
:) i wrote a script like this before you :
http://www.openrce.org/forums/posts/558

  n00b   August 11, 2007 12:37.03 CDT
Oh great nice work im guna test it out so we can find the correct jmp <esp> or call <reg>.

  nicowow     August 11, 2007 15:17.29 CDT
That's so cool! You can also use the generic script that cames with ImmunityDebugger (but is not as automatic at yours):
!searchcode <asm code>
ex: !searchcode jmp ebx

  Faithless     August 12, 2007 00:21.17 CDT
Nico,
Oh yes I was aware of !searchcode <asm> as a quick and easy way to scan for particular opcodes, but I believe the benefit of my PyCommand is that it searches for both jmp, call and other relevant combinations that are applicable to directing execution into the chosen buffer.

They are both (!searchcode and !findtrampoline) useful in different circumstances.

  n00b   August 12, 2007 04:53.04 CDT
Yeh it's good but i didn't find any for the safeseh script i couldn't get it to work is there any documentation for this script.!

  jms     August 12, 2007 22:48.32 CDT
I had contacted MMiller at the Metasploit project about porting their msfopcode to Python so we could use it inside ImmuDBG. Is anyone interested in this? It would basically enable you to search the Metasploit OpcodeDB on the fly.....if there is interest I will start the port.

  hochi   August 27, 2007 14:44.06 CDT
YES! it would be extremely useful

> jms: I had contacted MMiller at the Metasploit project about porting their msfopcode to Python so we could use it inside ImmuDBG. Is anyone interested in this? It would basically enable you to search the Metasploit OpcodeDB on the fly.....if there is interest I will start the port.

Note: Registration is required to post to the forums.

There are 28,212 total registered users.


Recently Created Topics
Reverse Engineering ...
Jan/23
Career: DoD Agency I...
Jan/22
"Disappearing&q...
Jan/17
Career: Software Sec...
Jan/11
Where is the call st...
Jan/07
IDA Pro 6.1 Breakpoi...
Jan/01
How to create data s...
Dec/30
can i search all mod...
Dec/23
IDA symbol table exp...
Dec/20
An anti-attach trick
Dec/17


Recent Forum Posts
Reverse Engineering ...
NirIzr
"Disappearing&q...
NirIzr
Reverse Engineering ...
charlie
"Disappearing&q...
charlie
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
Looking for value in...
NirIzr


Recent Blog Entries
Ludwig
Feb/04
chi on sale

Ludwig
Feb/04
Monster In The Vicinity Of ...

Ludwig
Feb/04
Supra footwear Online

waleedassar
Jan/31
Yet Another Anti-Debug Trick

RolfRolles
Jan/22
Finding Bugs in VMs with a ...

More ...


Recent Blog Comments
waleedassar on:
Feb/01
Yet Another Anti-Debug Trick

NirIzr on:
Jan/31
Yet Another Anti-Debug Trick

jackchen on:
Jan/10
nike mercurial vapor iii

waleedassar on:
Dec/27
A new Anti-Olly trick.

PeterFerrie on:
Dec/27
A new Anti-Olly trick.

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit