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 


Stealthedit methods help create dll

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

Joined: 13 May 2013
Posts: 8

PostPosted: Mon May 13, 2013 1:10 am    Post subject: Stealthedit methods help create dll Reply with quote

Hi good day,

I'm looking for help from you, I installed a plugin cheatengine, the name is Stealthedit. which has worked for what I need it, skip the memory protection, the problem is that I want to use the same method in a dll, but do not even know how to start, not that apis used either as makes the jump to the other region of memory.

I would appreciate if you help me to make the code.
[/quote]
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 May 13, 2013 4:22 am    Post subject: Reply with quote

stealthedit doesn't add any 'jumps' to the original code, it only removes the PAGE_EXECUTE accesses from the memory page that your address belongs to, so that when the program tries to step on any code into that page, an exception is raised, at this point the exception handler of yours will change the EIP to the equivalent address, but in another 'copied' memory page of the original code, no assembly commands gets modified at all,so to change the protection of page, Use VirtualProtect or VirtualProtectEx functions.

also, you need to enable the data execution prevention policy to your target process, use SetProcessDEPPolicy function.

and to copy the game code, allocate a memory with the size of the game image size, then use RtlMoveMemory or _memcpy functions.

finally create your exception handler to filter out ACCESS_VIOLATION exceptions on execution, and install it either Structured or Vectored (Vectored is recommended, see Debugging and Error Handling )
Back to top
View user's profile Send private message
jeivarmarr
How do I cheat?
Reputation: 0

Joined: 13 May 2013
Posts: 8

PostPosted: Mon May 13, 2013 8:25 am    Post subject: Reply with quote

thanks for your answer, but I'm so stupid that I did not understand anything.
only understand how to change the memory protection, would have some form of code already done.
Back to top
View user's profile Send private message
jeivarmarr
How do I cheat?
Reputation: 0

Joined: 13 May 2013
Posts: 8

PostPosted: Tue May 14, 2013 12:37 pm    Post subject: Reply with quote

can someone please help me, I find nothing to help me.
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