Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2004, 19:45
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 6 Times in 6 Posts
redbull Reputation: 5
Sounds like he fixed / patched the IAT table (is that what you call it).

In the exe itself you will see parts which refer to API names (imports from the DLL) and the names of the DLL's themselves (ie Kernel32.DLL) you can edit those in a hex editor.
Reply With Quote
  #2  
Old 06-02-2004, 21:13
Barry Barry is offline
Friend
 
Join Date: Dec 2003
Posts: 84
Rept. Given: 10
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Barry Reputation: 2
Yes, it has 2 dll entries and a DoMessage API, this must be dealing with calling the external DLL, then it jumps back into the EXE at another Entry Point to run the EXE proper, but I don't know how to find or fix it!

I think I'll go hit my friend until he tells me
Reply With Quote
  #3  
Old 06-03-2004, 00:37
Barry Barry is offline
Friend
 
Join Date: Dec 2003
Posts: 84
Rept. Given: 10
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Barry Reputation: 2
Success!!

I think this is more luck than skill though

I loaded the EXE into IDA and searched for GetVersion/GetVersionExA, my friend said 95% of the time that's roughly how to find the program start, but not always, something to do with C/C++ compiled programs! So after finding a couple of places that called GetVersionExA and noting the addresses I then loaded the EXE into LordPE went to the Import Table and found the entries for the second import table and used 'kill ImageImportDescriptor' to kill those additional entries so they were not called anymore.

I then changed the EntryPoint in turn to the addresses I noted in IDA and got the program running, I deleted the DLL to make sure and the program runs fine This method is probably unique to this program, but I've learned something in doing so, probably all bad practice no doubt and some of you will probably be cringing with disgust at my crude methodolgy, but hey, I managed to achieve my goal
Reply With Quote
Reply

Thread Tools
Display Modes

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
Help to fixing API-Calls Nukacola General Discussion 6 05-11-2005 16:49
Import OS Fixing MaRKuS-DJM General Discussion 31 07-16-2004 23:20
Problem with fixing IAT K3nny General Discussion 5 01-04-2004 19:26


All times are GMT +8. The time now is 02:48.


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