Comments (3)
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:
syncmodauto off
idblist
idbn xx
I've just added the syncmodauto
command to x64dbg in the commit b1b7be1 . It tells ret-sync to stop automatically resolving and switching modules/idb.
With idblist
you get the list of all the idb attached to the dispatcher (if you have more than one)
With idbn
you force syncing with the idb you selected at the previous step; for example idbn 0
to select the first one.
It should do the trick.
from ret-sync.
closing this one as it seems ok with the workaround. Please reopen if necessary.
from ret-sync.
I have tried several things :
- Loading the injected PE as segment at the same loading offset inside an IDB of the victim process
- Create a IDB with the extracted injected PE with the same base address and the same name of the debugged process in x64dbg
- Load the injected PE as an external binary inside the extracted process.
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.
from ret-sync.
Related Issues (20)
- EXT_BN few observations
- X64DBG Install Guide Needs Update HOT 1
- x64dbg and Ghidra 10.2 [x] translate failed, syncing not enabled [x] program unavailable: ntdll.dll HOT 4
- can't use on IDA7.7 HOT 3
- About idb is disabled new problem (I have solved it myself)
- Building ret-sync for Ghidra 10.3.1 HOT 7
- [New Feature] support visual studio
- extension not triggering from ghidra 10.4 codebrowser. HOT 2
- program unavailable
- "sync" category for binary ninja
- plugin not working for IDA 8.3
- Integrating Registers and Stack Display in IDA with LLDB Synchronization
- There was a problem connecting WinDbg to IDA
- I have a idea HOT 3
- Can't get windbg and Ghidra 10.1.2 to sync HOT 2
- Include ret-sync extension built for Ghidra 10.1.4 HOT 1
- reopening | jmp in memory allocation : "Could not get module base" #64
- What's this plugin help?
- Can't install plugin in IDA 7.5 HOT 1
- Bug in IDA plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ret-sync.