Forums >> Debuggers >> ImmDbg Plug-in to Log all the Registry Function Calls in advapi32.dll
Topic created on: November 7, 2007 17:11 CST by black13.
can the immunity debugger + python plugin trap registry function calls in advapi32.dll ? and can i log the arguments passed to these function calls?
thanks
Yep, determine what calls you want to trap, and set breakpoints on them. I don't have time to whip up a PyCommand right now but here is the pseudocode:
1) Set LoggingBPHooks on all of the registry functions you want to hook.
2) Inside the run() function in your BPHook class, have it do a call stack retrieval and it will have fully decoded function parameters.
Just look at some examples in the PyCommands directory for hooking, and use the documentation for doing the call stack decoding.