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 cheat engine generated trainers works?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
justdream
How do I cheat?
Reputation: 0

Joined: 04 Apr 2012
Posts: 7

PostPosted: Fri Jun 15, 2012 7:42 pm    Post subject: How cheat engine generated trainers works? Reply with quote

Hi guys,

I've searched in some places but not found ...
I would like to know how the trainers created with "CheatEngine Trainer Generator" write in the processes memory..

I've created a simple trainer and debugged it in OllyDbg, but I see no call of "WriteProcessMemory" API...

Can anyone explain me?

Thanks.
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Mon Jun 18, 2012 1:27 pm    Post subject: Re: How cheat engine generated trainers works? Reply with quote

justdream wrote:
Hi guys,

I've searched in some places but not found ...
I would like to know how the trainers created with "CheatEngine Trainer Generator" write in the processes memory..

I've created a simple trainer and debugged it in OllyDbg, but I see no call of "WriteProcessMemory" API...

Can anyone explain me?

Thanks.


The CE trainers do use WriteProcessMemory. However it is done in another process that the trainer creates.
Back to top
View user's profile Send private message
justdream
How do I cheat?
Reputation: 0

Joined: 04 Apr 2012
Posts: 7

PostPosted: Mon Jun 18, 2012 7:28 pm    Post subject: Reply with quote

Interesting...
However, some anti-hack systems block the WriteProcessMemory API, but the WPM of CE trainers works perfectly..
Can you explain me how it's done?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25295
Location: The netherlands

PostPosted: Mon Jun 18, 2012 8:28 pm    Post subject: Reply with quote

perhaps they make use of the kernelmode wpm/rpm api (just call dbk_useKernelmodeProcessMemoryAccess() )

Or they add a extra plugin like the virtualpagedir plugin that bypasses all hooks including kernelmode

Or they disable the anti hack before writing

Or WPM is only blocked from editing certain regions and they use a certain plugin to redirect execution to a copy outside of the protected region

Or WPM isn't really blocked and you're just doing something wrong yourself when using wpm (e.g not obtaining se_Debugprivilege, not making the page writable, etc...)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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