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 


[C] Question

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

Joined: 26 Dec 2006
Posts: 65

PostPosted: Mon Aug 17, 2009 7:49 am    Post subject: [C] Question Reply with quote

Can C change values in another program without injecting DLL's?

If I could load addresses in, and be able to change values, I could make quick, undetected trainers.
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Aug 17, 2009 7:58 am    Post subject: Reply with quote

write / read process memory. First thing detected by most anti-cheat solutions
_________________
Back to top
View user's profile Send private message
Hotrootsoup
Advanced Cheater
Reputation: 0

Joined: 26 Dec 2006
Posts: 65

PostPosted: Mon Aug 17, 2009 8:20 am    Post subject: Reply with quote

Grats on 1500 posts

Oh, right, so id need a bypass anyway. Well,the main point was to see what its called, not to see if its undetected, so I got what i need.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon Aug 17, 2009 10:28 am    Post subject: Reply with quote

you could even use Toolhelp32ReadProcessMemory to read memory hahaha

just thought i'd come out with that random API there..
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Mon Aug 17, 2009 7:31 pm    Post subject: Reply with quote

Would it be possible to duplicate kernel32.dll and modify the export (using a hex editor or disassembler) in order to change the API's name to something like CheatReadProcessMemory? Would that somehow still be detected?
_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Mon Aug 17, 2009 8:53 pm    Post subject: Reply with quote

Burningmace wrote:
Would it be possible to duplicate kernel32.dll and modify the export (using a hex editor or disassembler) in order to change the API's name to something like CheatReadProcessMemory? Would that somehow still be detected?


This is a quick way of bypassing all user mode hooks, and it is the method I use most often (i.e. - making a program, then running it through a 'bypasser' that just copies all the dependencies and mangles the export names.)

This won't bypass any kernel-mode detection though, and generally process reads and writes are protected in the kernel.
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Tue Aug 18, 2009 4:33 am    Post subject: Reply with quote

So how would one bypass the kernel checks? I can't see how it might be done as we can't exactly create duplicates of the kernel API and mangle their exports Razz
_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Aug 18, 2009 6:38 am    Post subject: Reply with quote

you could ^_^ you can just copy the kernel memory and then do the same process
Back to top
View user's profile Send private message
Polynomial
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 524
Location: Inside the Intel CET shadow stack

PostPosted: Tue Aug 18, 2009 6:41 am    Post subject: Reply with quote

But wouldn't copying the kernel memory require an API (such as ReadProcessMemory) that the protection can just hook again?
_________________
It's not fun unless every exploit mitigation is enabled.
Please do not reply to my posts with LLM-generated slop; I consider it to be an insult to my time.
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 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