Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to attach exe that rebases itself with IDA pro?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
lampuiho
Expert Cheater
Reputation: 6

Joined: 16 Jan 2010
Posts: 122

PostPosted: Thu May 08, 2014 8:39 am    Post subject: How to attach exe that rebases itself with IDA pro? Reply with quote

When it rebases itself I think ida pro has to check all references again so it's taking forever to rebase the image. How do I stop that?

I have seen something about running a dumped exe but dumping memory is easy, and rebuilding a working one is not.

The game is already cracked so I have no idea why it's still doing all these things to prevent me from attaching a debugger to it :/
Back to top
View user's profile Send private message
lampuiho
Expert Cheater
Reputation: 6

Joined: 16 Jan 2010
Posts: 122

PostPosted: Tue May 20, 2014 5:23 am    Post subject: Reply with quote

don't know why no one is replying but i guess i'll provide some more information including the game i'm trying to get to work

it's FM2014.

You can see the imagebase addresses in the picture

Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue May 20, 2014 8:41 am    Post subject: Reply with quote

What do you mean by rebases itself, the imagebase is at 4000000 and when you run it it should be at that unless it specifically wants to load at different address or is not available.

Either way, IDA or any debugger should have no problem attaching to it. I haven't used IDA's debugger but i don't see why it should have a problem. I doubt IDA will scan the exe again if you run it and it changes its base, maybe it is scanning other loaded modules.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
lampuiho
Expert Cheater
Reputation: 6

Joined: 16 Jan 2010
Posts: 122

PostPosted: Tue May 20, 2014 12:28 pm    Post subject: Reply with quote

STN wrote:
What do you mean by rebases itself, the imagebase is at 4000000 and when you run it it should be at that unless it specifically wants to load at different address or is not available.

Either way, IDA or any debugger should have no problem attaching to it. I haven't used IDA's debugger but i don't see why it should have a problem. I doubt IDA will scan the exe again if you run it and it changes its base, maybe it is scanning other loaded modules.


see the memory region window. The base becomes dd0000. It's random each time.

It takes forever to attach when it tries to rebase the program. It gets into some kind of "close to infinite" loops when checking for reference addresses.

IDA pro is not a simple debugger. It's mainly for static analysis like structure redefining, pseudo code decompilation, etc
Back to top
View user's profile Send private message
lampuiho
Expert Cheater
Reputation: 6

Joined: 16 Jan 2010
Posts: 122

PostPosted: Fri May 23, 2014 12:13 am    Post subject: Reply with quote

why is no one telling me where to look for the relocation code and the relocation information in the header
Back to top
View user's profile Send private message
Chris12
Expert Cheater
Reputation: 1

Joined: 27 Apr 2012
Posts: 103

PostPosted: Fri May 23, 2014 3:40 am    Post subject: Reply with quote

maybe because no one knows?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites