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 about Stealth Edit

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

Joined: 29 Jan 2023
Posts: 3

PostPosted: Thu Feb 02, 2023 9:37 pm    Post subject: Question about Stealth Edit Reply with quote

I've seen Dark Byte's posts and I wanted to do use them in my app.

From what I could gather stealth edit works by:
Enabling DEP on the remote process
Setting the VEH handler
Allocating a memory for the copy
Copying the contents from the module's start address up to its end address
And then finally, setting the module as read and write only.


But the result I got was the app crashing. I did extra checks on the app and it turns out there were stray relative calls. And so I installed capstone to disassemble and find the relative call, then fixing the copy version's call. I checked with CE and found that both the copy and original are calling the same address. But I still got a crash.

Here's the code:
pastebin id: WP9xfiK8

Any input would be appreciated. Thanks guys.
Back to top
View user's profile Send private message
Auburn_Azalea
How do I cheat?
Reputation: 0

Joined: 29 Jan 2023
Posts: 3

PostPosted: Sat Feb 04, 2023 3:54 am    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Feb 04, 2023 1:46 pm    Post subject: Reply with quote

i assume the target is 64 bit?

did you adjust the riprelative addresses in the copy to point to the old location

_________________
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
Auburn_Azalea
How do I cheat?
Reputation: 0

Joined: 29 Jan 2023
Posts: 3

PostPosted: Wed Feb 08, 2023 5:25 am    Post subject: Reply with quote

Thank you for the response.

Dark Byte wrote:
i assume the target is 64 bit?


The target is 32 bit

Dark Byte wrote:
did you adjust the riprelative addresses in the copy to point to the old location


If you're referring to the call and jump opcodes, I did, for calls that were outside the executable, which were probably a patch or a hook of some kind since they were pointing towards an unallocated space.

Was I supposed to adjust the near calls/jumps too?
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