Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detected as malware by Windows Defender while signed by a valid code signing certificate #5759

Closed
htxuuu opened this issue Apr 2, 2021 · 2 comments

Comments

@htxuuu
Copy link

htxuuu commented Apr 2, 2021

  • Version: 22.10.5:
  • Electron Version: 12.0.2:
  • Electron Type (current, beta, nightly): current:
  • Target: windows nsis:

I use the code of electron-quick-start to test this case,
after building and packing with electron builder, and signed it using a DigiCert code signing certificate,
Windows Defender still detect it as malware and delete it automatically when user download it from the internet.
image

Windows Defender detect it as Trojan:Win32/Spursint.F!cl

Is it a bug or there is something wrong in my process?

@mmaietta
Copy link
Collaborator

mmaietta commented Apr 3, 2021

Can you please try reproing this issue on v22.9? I'm curious if this is a regression. My immediate guess is that there's something wrong with your process/certificate otherwise this problem would be much more pronounced in our Issues dashboard.

@htxuuu
Copy link
Author

htxuuu commented Apr 9, 2021

Can you please try reproing this issue on v22.9? I'm curious if this is a regression. My immediate guess is that there's something wrong with your process/certificate otherwise this problem would be much more pronounced in our Issues dashboard.

thank you for your reply. It seems that my publiserName is not completely match the name set in the certificate, which cause windows defender detect it as malware.

for others who come up this problem, please make sure config.win.publisherName in your build params is completely match the name you set in your code certificate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants