View previous topic :: View next topic |
Author |
Message |
SuperTent How do I cheat?
Reputation: 0
Joined: 14 Sep 2015 Posts: 6
|
Posted: Sat Jul 02, 2016 3:59 am Post subject: How to prevent anti-dll injection? |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Sat Jul 02, 2016 4:11 am Post subject: |
|
|
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 |
|
 |
SuperTent How do I cheat?
Reputation: 0
Joined: 14 Sep 2015 Posts: 6
|
Posted: Sun Jul 03, 2016 12:20 am Post subject: |
|
|
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
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 |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Jul 03, 2016 12:24 am Post subject: |
|
|
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 |
|
 |
SuperTent How do I cheat?
Reputation: 0
Joined: 14 Sep 2015 Posts: 6
|
Posted: Sun Jul 03, 2016 12:27 am Post subject: |
|
|
++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 |
|
 |
|