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 


Good Practices to improve antivirus compatibility???

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Xenocritus
Cheater
Reputation: 0

Joined: 27 Dec 2020
Posts: 25

PostPosted: Sat Mar 13, 2021 2:04 am    Post subject: Good Practices to improve antivirus compatibility??? Reply with quote

Hello,

I'm quite new here. I'm making trainers with the Visual editor and adding Lua code for functionality (common Trainer).
But, as you know, when making the EXE and execute it, all the alarms are turned on in my system. As I want to share my trainers, I would like to know some good practices to avoid (as far as possible) been detected as a menace.

I don't want to just report my program as safe nor telling people to put my file as an exception for the AV, just good practices to improve it.

For example:
- Compression None: This avoid my AV to auto-delete my file.

So, can you give me some tips and good practices? Maybe include some kind of log and see some kind of messages? Maybe using just Lua code and not Visual Editor? Some try catch code? Ways to close the trainers? I Don't know, but there should be some tips for sure.

Thanks!!!!
Back to top
View user's profile Send private message
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1253

PostPosted: Sat Mar 13, 2021 2:59 am    Post subject: Reply with quote

OK. For CETrainer.exe, this was a constant problem.
I have now created a tool for this problem.
I will post a code that I have edited and used (Trainer preloader.).
To archive this code, the forum; I will post it to the "Lua Tutorials" section.
I try to train today.

What will this tool and code do;

1) It will turn the Defender off and on automatically.
2) To download the correct Trainer, Windows will determine the 32-64 bit.
3) Will download the Trainer into a file
4) Will add Trainer.exe to the "Firewall" list.
5) Add the Trainer.exe to the "Windows Defender" exclusions list.

I'll take some time for coding and sample usage.

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Lynxz Gaming
Expert Cheater
Reputation: 4

Joined: 01 Jul 2017
Posts: 208
Location: help

PostPosted: Sat Mar 13, 2021 9:13 am    Post subject: Re: Good Practices to improve antivirus compatibility??? Reply with quote

my current way is
make 1 folder
put cheat engine files (just the ce executable, lua dll, autorun folder, defines.lua, main.lua, and dlls that your trainer need) and put your .cetrainer there.
make a bat file to run the cetrainer using cheat engine.
or you can edit main.lua to load the cetrainer.

and to share, zip the folder and send

example my trainer (i renamed the ce executable "cheatengine-x86_64.exe" to "My Hack.exe") :

_________________
my english is bad
discord : rynx#9828
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ByTransient
Expert Cheater
Reputation: 5

Joined: 05 Sep 2020
Posts: 240

PostPosted: Sat Mar 13, 2021 9:52 am    Post subject: Re: Good Practices to improve antivirus compatibility??? Reply with quote

@Lynxz Gaming, the ".CETRAINER" file has no concern for Windows security.
However, ".EXE" files get stuck with Windows security.
It makes more sense to present the solution via ".EXE". Wink
Back to top
View user's profile Send private message
Lynxz Gaming
Expert Cheater
Reputation: 4

Joined: 01 Jul 2017
Posts: 208
Location: help

PostPosted: Sat Mar 13, 2021 10:42 am    Post subject: Re: Good Practices to improve antivirus compatibility??? Reply with quote

ByTransient wrote:
@Lynxz Gaming, the ".CETRAINER" file has no concern for Windows security.
However, ".EXE" files get stuck with Windows security.
It makes more sense to present the solution via ".EXE". Wink


yes open the "My Hack.exe" it will automatically open the cetrainer.
"My Hack.exe" is "cheatengine-x86_64.exe" will run script from main.lua
inside main.lua is to load the cetrainer file and hide ce main form

also i scan cheatengine-x86_64.exe in virustotal result is 1/10 https://www.virustotal.com/gui/file/45c371ddc8aa5d89bbe5ac7219db10cecfd0036450cc90512777eb561fa48ace/detection
and tried custom scan using windows security to cheat engine file location (ofc theres ce executable cheatengine-x86_64.exe) is 0 threats found (0 allowed threats)



sorry if i misunderstood ur question my english is bad

_________________
my english is bad
discord : rynx#9828
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1253

PostPosted: Sat Mar 13, 2021 11:31 am    Post subject: Re: Good Practices to improve antivirus compatibility??? Reply with quote

Here is a different tool.
You can use it as provided or in "Cetrainer / exe" conversion.
I will try the example you gave, write the result.

https://forum.cheatengine.org/viewtopic.php?t=617321

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Xenocritus
Cheater
Reputation: 0

Joined: 27 Dec 2020
Posts: 25

PostPosted: Sun Mar 14, 2021 2:29 am    Post subject: Reply with quote

Thanks both for the reply.

However, I have to say I feel more confortable with Lynxz Gaming solution.


I mean, turning off the defender is exactly what would make my program a real menace lol. Besides, Defender is just one AV, there are dozens of them, and my first real problem was GoogleDrive, avoiding my program of beeing downloaded.

Other tips or ideas are very welcome.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sun Mar 14, 2021 5:27 pm    Post subject: This post has 1 review(s) Reply with quote

Most AV's have deemed CE a harmful/malicious program or potentially harmful. No matter what you do, your trainer is going to always trigger those same detections if they can tell it's running through CE/bundled with it.

If you try to obfuscate/pack/protect the trainer CE generates, you are just going to increase the amount of variants the AVs will flag your file for as well.

If the goal is to prevent any issues with an AV, then you need to code your own trainers and work with AVs when your stuff get flagged. Most AVs are pretty easy to contact to have your stuff reviewed and whitelisted.

_________________
- 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 -> Cheat Engine Lua Scripting 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