bootleg / bootleg/ret-sync

jmp in memory allocation : "Could not get module base" (2)

Open
#94 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.4k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Hi !

I just wanted to find a solution to a previous issue #64, so there is the thing (I have tried the proposed solution). I have a malware with a injected PE into another process (explorer.exe). There is a hook at the entry point of explorer.exe to jump inside a memory region allocated to this injected PE. I want to debug this PE inside explorer.exe because there are some messages handling with the malicious injector process.

I have tried several ways to be able to debug the extracted injected PE file :

- Loading the injected PE as segment at the same loading offset inside an IDB of the victim process (explorer.exe).
- 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 in IDA.

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading issue #64 and investigating the "Could not get module base" error in the ret-sync codebase. Reproduce the reported setup involving an injected PE in explorer.exe, IDA, x64dbg, and PE-Sieve; done means identifying a supported way to debug it or documenting the limitation.

Written by the indexing model from the issue text.

Assessment

Domain
reverse-engineering
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.