Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  Immunity Debugger / intermodular call logging without dbg symbols

Topic created on: October 22, 2011 05:50 CDT by enodr .

Hi,

I am using Immunity Debugger to do API (intermodullar) calls logging using code similar to this:
*** Immunity Debugger Python Shell v0.1 ***
Immlib instanciated as 'imm' PyObject
READY.
>>>stacks = imm.callStack()
>>>main_call = False
>>>for i in stacks:
>>> if i.getProcedure().startswith(" ") == False:
>>> if main_call == True:
>>> break
>>> else:
>>> main_call = True
>>> print "Main Call %s" % i.getProcedure()
>>> else:
>>> print "Argument: %s" % i.getProcedure()
>>>
Main Call kernel32.CreateFileA
Argument:   FileName = "C:\WINDOWS\System32\drivers\etc\services"
Argument:   Access = GENERIC_READ
Argument:   ShareMode = FILE_SHARE_READ|FILE_SHARE_WRITE
Argument:   pSecurity = 0345EFC4
Argument:   Mode = OPEN_EXISTING
Argument:   Attributes = NORMAL
Argument:   hTemplateFile = NULL
>>>


Of course with this example kernel32.dll has full debug symbols so the result displays correctly the parameters names and content.

How would it be possible to do the same display formating with dlls which don't have debug symblos, but for which you know the function parameters names and type?

I guess I could make some kind of file with function prototypes but then I don't know how to deal with the python script and callstack.getProcedure or such.

Thanks.

No posts found under this topic.
Note: Registration is required to post to the forums.

There are 29,886 total registered users.


Recently Created Topics
Decompiling raw bina...
May/22
Incorrect bitness wh...
May/20
PaiMei stalker modul...
May/19
Attach to program us...
May/13
IDA PRO how to make ...
May/12
FACT: OpenRCE is dead.
May/08
Int 3 anti debug?
May/05
help needed - Beginn...
May/03
Attaching IDA Pro to...
Apr/27
File type
Apr/21


Recent Forum Posts
Debugging iphone app...
staree2010
Ollydbg 2.0 - Plugin...
openrce...
IDA PRO how to make ...
codeinject
FACT: OpenRCE is dead.
codeinject
IDA Resource Viewer ...
r2x64
FACT: OpenRCE is dead.
djnemo
FACT: OpenRCE is dead.
codeinject
FACT: OpenRCE is dead.
pedram
help needed - Beginn...
araujo
Attaching IDA Pro to...
codeinject


Recent Blog Entries
sweetyss
May/18
Adam Wainwright continues t...

lowpriority
Apr/13
OllyMigrate Plugin for Olly...

everdox
Mar/08
2 anti-trace mechanisms spe...

everdox
Mar/07
Advanced debugging techniques

everdox
Mar/06
Branch tracing and LBR acce...

More ...


Recent Blog Comments
clarisonic on:
Apr/03
New version of Ollydbg!

clarisonic on:
Apr/03
New version of Ollydbg!

trackerx90 on:
Mar/04
SuppressDebugMsg As Anti-De...

coachfactory on:
Feb/25
Portable Executable Format ...

coachfactory on:
Feb/25
A new Anti-Olly trick.

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit