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 


[question] Stealth edit plugin..

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

Joined: 24 Feb 2013
Posts: 41

PostPosted: Sun Mar 24, 2013 8:36 am    Post subject: [question] Stealth edit plugin.. Reply with quote

i was just curious if someone could help explain what this plugin actually does to the memory?

Mainly im curious if I can do this manually without the use of cheatengine, but mostly just understand how its done, and what is going on behind the scenes to make this happen..

It copies the module and reroutes the process.

I can't post links yet but if you google cheat engine stealthedit plugin and find the "szemelyesintegracio" link theres more info there about what it is.
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Sun Mar 24, 2013 10:31 am    Post subject: Reply with quote

it is used to evade integrity checks by leaving the original game code untouched, setting it to be non-executable, but executing a 'copy' of it with any modified code you want, the idea is based on an VEH (Vectored exception handler) that redirects execution when occured an access violation on executing a non-executable memory area.
Back to top
View user's profile Send private message
mdockz
Cheater
Reputation: 0

Joined: 24 Feb 2013
Posts: 41

PostPosted: Sun Mar 24, 2013 11:03 am    Post subject: Reply with quote

okay, so basically..

lets say programatically...

you would would make a copy of the original game code and store it in maybe an allocated or empty space in the program.

Set the original game code to non-executable. and using a VEH, any time an access violation occurs on execution, execute what is at the allocated memory.

How would i set up a VEH that I can call in the process.
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 340
Location: Somewhere....

PostPosted: Mon Mar 25, 2013 12:05 am    Post subject: Reply with quote

Use the AddVectoredExceptionHandler function (kernel32.dll)
http://msdn.microsoft.com/en-us/library/windows/desktop/ms679274
Back to top
View user's profile Send private message
ghost2002910
How do I cheat?
Reputation: 0

Joined: 06 Aug 2013
Posts: 1

PostPosted: Tue Aug 06, 2013 3:54 am    Post subject: Reply with quote

"Set the original game code to non-executable" how to do that? I changed the memory page protection to PAGE_READWRITE but nothing happend. I'm sure DEP is enabled for that process.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Aug 06, 2013 4:26 am    Post subject: Reply with quote

Your cpu must also support DEP and it must not be disabled in your bios. (I often see it disabled in the default settings of my systems)

If the page protection is PAGE_READWRITE and it gets executed an exception will trigger. If it doesn't get handled, the process will crash

_________________
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 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