Question (Unsolved) Which batch to exe software to use?
Hi all, long story short I have used bat2exe and windows defender is picking up as threat and removing it. Not sure if its the actual script or the software itself. Anyways, which batch to exe is safest and wont likely get flagged by antivirus? Thank you
3
Upvotes
9
u/Shadow_Thief 26d ago
All of the converters have been used maliciously enough in the past that they all get flagged by heuristic scanners.
1
u/pc1350 25d ago
Adding to what everybody wrote: see this: https://www.dostips.com/forum/viewtopic.php?p=28277#p28277
Dave Benham's masterpiece Colossal Cave Adventure in batch.
Snippet of obfuscated batch file:
1
u/BellaTheUni112 23d ago
don't use one. they're not good. you should write your program in a compiled language like c if you want an exe file.
3
u/capoapk 26d ago
What is your script used for? There can be commands that are suspicious
2
u/BrainWaveCC 26d ago
I've tested a bunch of them over the years, including last year.
I've never found a good reason to rely on one since they come with security drawbacks, like been flagged as malicious code more often than not.
0
u/stevesfara 26d ago
i usually used converters to protect my code. but now i have a trick to encrypt my code using HxD, you have to add FF FE at the start of the file (Remember to ADD, NOT REPLACE) and if you then try to edit in notepad, your code will be encrypted.
1
u/Intrepid_Ad_4504 26d ago
None of them
1
u/Glidepath22 25d ago
I had a GTP created well little program I guess to call it trigger defender so I stopped in to look at the actual code and there was absolutely nothing harm on it not even remote possibility at least that I saw so I just don’t defend her to ignore it
1
u/FAMICOMASTER 12d ago
There used to be a tool a long time ago called Advanced Batch to EXE that I got some use out of for obfuscating code in some of my games (makes it harder to cheat).
That was over a decade ago so I don't know if it's still available or still useful or will work for your application. Best of luck.