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 


How to prevent anti-dll injection?

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

Joined: 14 Sep 2015
Posts: 6

PostPosted: Sat Jul 02, 2016 3:59 am    Post subject: How to prevent anti-dll injection? Reply with quote

This might not be explicitly cheat engine related (but I hope to be able to use CE as the debugger to do this).

Anyway a game I'm trying to hack made it so any attempt to inject a dll fails, (I'm not 100% sure but I assume its a loadlibrary hook?) because of this I can't use speedhack. Is there any way I would go about trying to patch out that aspect of the program? Any advice would be greatly appreciated.

Maybe like options on how I'd find the hook on loadlibrary or something?

Thank you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jul 02, 2016 4:11 am    Post subject: Reply with quote

if it's chrome, launch it with "--no-sandbox"

some windows apps may not have read/execute access to the folder of that dll. Try putting the dll in a place it is allowed (e.g system32 or something)

if something else, try manually mapping the library. (follow the PE header and fill in exports and relocations)

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

Joined: 14 Sep 2015
Posts: 6

PostPosted: Sun Jul 03, 2016 12:20 am    Post subject: Reply with quote

Quote:

if it's chrome, launch it with "--no-sandbox"

some windows apps may not have read/execute access to the folder of that dll. Try putting the dll in a place it is allowed (e.g system32 or something)

if something else, try manually mapping the library. (follow the PE header and fill in exports and relocations)


I wish it was as simple as just chrome Sad

Anyway, I'm not too well versed with how cheat engine's plugins work but would it be possible to make a plugin that would inject dll's by memory mapping them?

I know from the forced inject plugin there was at least some possibility changing how cheat engine injected a dll, but I'm not sure of the full capabilities.

I just want to know if its possible in theory or if cheat engine works a particular way that would prevent this (aside from rewriting the source).

Thanks for your time, and happy (belated) birthday.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Jul 03, 2016 12:24 am    Post subject: Reply with quote

If the game is not an online game and you're only worried about using speedhack, you could try finding the game's internal speed value. If there's a 32bit version of the game, you could try that, too.
Back to top
View user's profile Send private message
SuperTent
How do I cheat?
Reputation: 0

Joined: 14 Sep 2015
Posts: 6

PostPosted: Sun Jul 03, 2016 12:27 am    Post subject: Reply with quote

++METHOS wrote:
If the game is not an online game and you're only worried about using speedhack, you could try finding the game's internal speed value. If there's a 32bit version of the game, you could try that, too.


Ah sorry, I guess my first post was a little misleading. I'm trying to use both stealthedit and the speedhack.

So it's more important to me that I get the dll injection working.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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