Best option is to configure defender to exclude your app.
Configure and validate exclusions for Microsoft Defender Antivirus scans
Otherwise you would need to use a certificate such as from VeriSign or similar provider of certificates.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
So I’ve been working on a c# program that downloads, unzips, deletes and checks some files that are used to launch some of my other applications. It also has a login system in place that creates a socket session to my login server. Every single time I make any changes to it, Microsoft Defender AV flags it as a Wacatac!ml Trojan or some other variant along with maybe 2 other ones on virustotal(along with the desktop variant of Defender). What are some things I can do to try and stop my code from being flagged as a Trojan?
Best option is to configure defender to exclude your app.
Configure and validate exclusions for Microsoft Defender Antivirus scans
Otherwise you would need to use a certificate such as from VeriSign or similar provider of certificates.
The Microsoft Defender Security Research Team published a blog where they made two suggestions to minimize false positives:
Partnering with the industry to minimize false positives
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Code should be seen as safe before to be signed (should be a pre-requisite) to avoid signing code with malware embeded.
Please have a look at:
https://www.microsoft.com/en-us/wdsi/filesubmission
And you may click as Software developer and follow steps there.