Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_filename() fails in exit_process() event handler #6

Open
malwaremuser opened this issue Mar 5, 2016 · 0 comments
Open

get_filename() fails in exit_process() event handler #6

malwaremuser opened this issue Mar 5, 2016 · 0 comments

Comments

@malwaremuser
Copy link
Contributor

C:\Python27\lib\site-packages\winappdbg\event.py:1855: EventCallbackWarning: Event handler pre-callback <main.MyEventHandler object at 0x00B18210> raised an exception: Traceback (most recent call last):
File "C:\Python27\lib\site-packages\winappdbg\event.py", line 1850, in dispatch
returnValue = self.eventHandler(event)
File "C:\Python27\lib\site-packages\winappdbg\event.py", line 1467, in __call

return method(event)
File "E:\unpack.py", line 895, in exit_process
log("[*] <%d:%d> Exit process event for %s: %d" % (pid,tid,event.get_filename(),event.get_exit_code()))
File "C:\Python27\lib\site-packages\winappdbg\event.py", line 926, in get_filename
return self.get_module().get_filename()
File "C:\Python27\lib\site-packages\winappdbg\event.py", line 947, in get_module
return self.get_process().get_main_module()
File "C:\Python27\lib\site-packages\winappdbg\process.py", line 931, in get_main_module
return self.get_module(self.get_image_base())
File "C:\Python27\lib\site-packages\winappdbg\module.py", line 907, in get_module
raise KeyError(msg)
KeyError: 'Unknown DLL base address 00400000'

malwaremuser added a commit that referenced this issue Mar 5, 2016
Set 'bFollow' to 'False' in the debug.execl() call. Need to look in to the cause and fix it properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant