Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2015, 03:49
maktm maktm is offline
Friend
 
Join Date: Apr 2015
Posts: 23
Rept. Given: 0
Rept. Rcvd 4 Times in 2 Posts
Thanks Given: 8
Thanks Rcvd at 16 Times in 8 Posts
maktm Reputation: 4
Working with multiple modules when reversing

Hi,

So I have a game (Crysis 2 Beta) and unlike the release version where the modules are all merged into one executable, they decided to compile each DLL separately (instead of statically linking it/just coding it in) and load it from the main executable. So it looks something like this:

iHcdFfP.png

Now when I want to xref something in OllyDbg the function can end up in any of the modules so to look back in IDA I would have to open another instance for the separate module to look at the function. Totally this is > 9 instances and I can't do this without it being utterly time consuming. What I wanted to do is merge all the DLLs together and I first encountered this :

http://www.hexblog.com/?p=6

After I downloaded the script and tried to execute it (in IDA 6.5) it failed and told me the exact line so I commented it out and it sort of worked. Now I come across this error :

i1Oha0D.png

After this error pops up a portion of the DLL is added and the rest is not. Judging from the error, the script cannot find one of the structures in the PE file format and thus was unable to load in everything else.

Another thing I tried was OllyDumpEx, but it was never meant for dumping all the modules of a process together to make up one executable.


Any suggestions/ideas would be helpful.

Thanks
Reply With Quote
  #2  
Old 04-19-2015, 06:23
Deathway's Avatar
Deathway Deathway is offline
Lo*eXeTools*rd
 
Join Date: Jan 2009
Posts: 41
Rept. Given: 8
Rept. Rcvd 155 Times in 24 Posts
Thanks Given: 1
Thanks Rcvd at 20 Times in 14 Posts
Deathway Reputation: 100-199 Deathway Reputation: 100-199
Well, even if you manage to create a single non-DLL executable, you may find inner security issues, some scripts don't relocate correctly resource sections (some DLLs have) and other internal data.
Reply With Quote
The Following User Gave Reputation+1 to Deathway For This Useful Post:
giv (04-21-2015)
The Following User Says Thank You to Deathway For This Useful Post:
giv (04-21-2015)
  #3  
Old 04-19-2015, 06:46
Stitch Stitch is offline
Friend
 
Join Date: Sep 2014
Posts: 32
Rept. Given: 1
Rept. Rcvd 3 Times in 3 Posts
Thanks Given: 4
Thanks Rcvd at 12 Times in 8 Posts
Stitch Reputation: 3
I can't see the images, please upload to imgur or other image web hosting.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detection/Signature for Corba/Com/Dcom/Activex Modules nulli General Discussion 2 11-27-2005 18:41
Working with wisdec on xp kittmaster General Discussion 2 03-03-2005 07:46
Modules loaded by a exe loman General Discussion 15 05-18-2004 22:37


All times are GMT +8. The time now is 14:58.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )