View previous topic :: View next topic |
Author |
Message |
dedlyblady Cheater
Reputation: 0
Joined: 14 Sep 2017 Posts: 33
|
Posted: Mon Jan 15, 2018 7:24 pm Post subject: How i can Protect Trainer from decryption |
|
|
Hi guys .. So How i can Protect Trainer from decryption In any way possible ?
|
|
Back to top |
|
 |
FreeER Grandmaster Cheater Supreme
Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Mon Jan 15, 2018 8:05 pm Post subject: |
|
|
haha, when you figure it out be sure to let all the game companies paying for things like Themida and Denuvo know so they can pay you instead.
In other words, it's really really really *ing hard to truly do so. To start out don't use CE to generate your trainers, it's open source so it's easy to look up how it works and undo it (and people have created programs/scripts to do so already). Don't use a language you can't compile, and don't use a language like C# where you can easily pull information from the "binary". Use something like C++ to write it, then google for basic anti-debugging code and obfuscation techniques and tools to make it harder.
Or if you can bring yourself to do it try using an interpreted language that's naturally obfuscated like lolcode or brainfuck (see https://dzone.com/articles/most-difficult-and-strangest-programming-languages while they may not be interpreted or originally intended that way many likely have interpreters people wrote for fun). You want it to be interpreted and not compiled in this case otherwise they'd have normal assembly code to work with and that's a hell of a lot easier to reverse than the language itself lmao
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Mon Jan 15, 2018 8:53 pm Post subject: |
|
|
It's an arms race.
_________________
|
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Tue Jan 16, 2018 2:36 am Post subject: |
|
|
encodeFunction is a decent way to stop people from scanning for text as decodeFunction doesn't convert it to text
_________________
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 |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Tue Jan 16, 2018 6:19 am Post subject: |
|
|
Whatever protection you have is rendered useless once someone with the intention to rip your trainer decides to just scan for changes in the executable memory. Unless you decide to obfuscate your injection code, in which case you are just subjecting the users of your trainer to unnecessary bloat and redundant CPU cycles for your own "benefit", a la denuvo.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 468
Joined: 09 May 2003 Posts: 25706 Location: The netherlands
|
Posted: Tue Jan 16, 2018 6:53 am Post subject: |
|
|
use enableDRM then
_________________
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 |
|
 |
dedlyblady Cheater
Reputation: 0
Joined: 14 Sep 2017 Posts: 33
|
Posted: Wed Jan 17, 2018 9:35 am Post subject: |
|
|
@FreeER
Thank you for reply. Well, even if I save an exe file, is it easy to decrypt?
|
|
Back to top |
|
 |
OldCheatEngineUser Whateven rank
Reputation: 20
Joined: 01 Feb 2016 Posts: 1586
|
Posted: Wed Jan 17, 2018 9:46 am Post subject: |
|
|
maybe not to be decrypted, but reverse engineered.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
|
Back to top |
|
 |
dedlyblady Cheater
Reputation: 0
Joined: 14 Sep 2017 Posts: 33
|
Posted: Sat Jan 20, 2018 12:29 am Post subject: |
|
|
atom0s wrote: | dedlyblady wrote: | @FreeER
Thank you for reply. Well, even if I save an exe file, is it easy to decrypt?  |
If you are using Cheat Engines built in trainer maker, the end result can always be decompiled back to the original table. Using the encodeFunction method DarkByte mentioned will compile the Lua to byte code. However, this can also be decompiled back to the original Lua string, although a bit harder than just getting the table back. |
This means that someone can decrypt the Trainer even after i have set the .exe. format and get the Sorce inside it?
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sat Jan 20, 2018 12:44 am Post subject: |
|
|
You really can't hide much of any thing that you generate with open source software. Just one of those funny ways the universe balances things out.
I'm betting that if you just focus on making the best trainers you can, you will get to the point that you might be able to pull this off, but I'm thinking you'll need to learn more about writing programs in general.
_________________
|
|
Back to top |
|
 |
panraven Grandmaster Cheater
Reputation: 61
Joined: 01 Oct 2008 Posts: 958
|
Posted: Sat Jan 20, 2018 1:07 am Post subject: |
|
|
Not exactly, CE encode function use lua's dump function to convert text source (or internal compiled function) to byte code with striping debug information, then compress and finally convert to acsii85 encoding text (the final random-like text string)
ref: find lua_encodefunction.
Someone may reference CE source to decode the ascii85 encoding and unzip to get the byte code, but with striping debug information, at least the LOCAL variable name is not recoverable.
The GLOBAL variable name is like dll's export function, it still may be a hint to what and how the script do.
You may minify your lua source eg. lua minifier (but this for 5.1, not fully support lua 5.3) before hand so to add a bit more entropy to your source.
_________________
- Retarded. |
|
Back to top |
|
 |
Corroder Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015 Posts: 1668
|
Posted: Sat Jan 20, 2018 4:12 am Post subject: |
|
|
Quote: | Hi guys .. So How i can Protect Trainer from decryption In any way possible ? |
Before going any further on this, it may be better to understand first about cryptography.
Thus, ourselves will know exactly what we want about the source code / trainer we have.
Do we want to do Encoding, Obfuscation, Hashing or Encryption with its all.
Google is a best friend then
Cheers...
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 204
Joined: 25 Jan 2006 Posts: 8579 Location: 127.0.0.1
|
|
Back to top |
|
 |
|