-
Notifications
You must be signed in to change notification settings - Fork 262
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
jmp in memory allocation : "Could not get module base" #64
Comments
Hi @tonybounty, indeed dynamically allocated code is complex to handle and basically breaks ret-sync dispatching based on module names. Windbg offers a powerful API IDebugSymbols3::AddSyntheticModule to handle these situations. To the best of my knowledge there is not something similar in the x64dbg API. However with the x64dbg plugin you can try the following workaround:
I've just added the With With It should do the trick. |
closing this one as it seems ok with the workaround. Please reopen if necessary. |
I have tried several things :
I have extracted all of them with PE-Sieve that gives the better results. The mentioned commands above don't prevent the error message "Could not get module base..." I don't know how to handle this since a need to debug the running victim process. |
I debug a program (with x64dbg) that create a new memory allocation (VirtualAlloc) en drop executable code inside and then jmp to this memory.
Before jump I dump this allocation to file and I load it as new segment in IDA Pro, I set the same address as in x64dbg.
However, ret-sync won't jump inside because it isn't in the module :
(00540585 exist in IDA after creating manually seg/loading bin)
So, before reading all plugin Python code, is any solution to follow code in allocation ?
The text was updated successfully, but these errors were encountered: