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 


DLL Injection - Why? What are the advantages?

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

Joined: 03 Feb 2011
Posts: 4

PostPosted: Sat Feb 05, 2011 4:18 pm    Post subject: DLL Injection - Why? What are the advantages? Reply with quote

DLL injection seems to be very popular these days. Why is this so? Why does DLL injection tend to give you more freedom with the target application versus hacking externally with ReadProcessMem and WriteProcessMem?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Feb 07, 2011 9:45 am    Post subject: Reply with quote

It's the lazy man's way of bypassing hack protections

e.g if WriteProcessMemory gets hooked after the game is loaded you can use inject a dll into the process BEFORE it is hooked and then use that dll to access memory without even having to figure out how it is hooked or what is actually going on

_________________
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
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Tue Feb 08, 2011 8:01 am    Post subject: Reply with quote

Dark Byte wrote:
It's the lazy man's way of bypassing hack protections

e.g if WriteProcessMemory gets hooked after the game is loaded you can use inject a dll into the process BEFORE it is hooked and then use that dll to access memory without even having to figure out how it is hooked or what is actually going on


Can anti cheat detection hook into ReadProcessMemory too? Is that common?

I'm asking as I am just reading some values, not writing, and wonder what the chances are of that being detected.

If so, would you say DLL injection is safer than reading process memory?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Feb 08, 2011 10:22 am    Post subject: Reply with quote

Anti-cheats can hook onto anything they feel is necessary to attempt to keep their application safe. If they feel the need to hook onto it because their application has been comprised they will.

In most cases ReadProcessMemory isn't hooked or detected as a cheat though, as long as you do not alter any memory or change access on anything you should be fine.

DLL injection greater increases your chances of being detected as the anti-cheat can detect the DLL being injected. Injection itself (just loading the DLL) can be considered cheating and result in a ban. Most anti-cheats prevent injection or reverse it by unloading any unknown module or just straight out block them from loading all together.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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