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

Windows Defender flagged nw.exe as Trojan:Win32/Doplik #8054

Closed
andreescocard opened this issue Apr 4, 2023 · 12 comments
Closed

Windows Defender flagged nw.exe as Trojan:Win32/Doplik #8054

andreescocard opened this issue Apr 4, 2023 · 12 comments

Comments

@andreescocard
Copy link

andreescocard commented Apr 4, 2023

Current/Missing Behavior

After download finishes Windows Defender pops a message showing threats were found.
Virus total flags as virus too: https://www.virustotal.com/gui/file/4906524473eb3f7b530d4993906f4418141aba025dced23a4f541ddd110769ec

Expected/Proposed Behavior

Windows Defender not flagging executable as trojan.

Additional Info

  • Operating System: Windows 11 Pro
  • NW.js Version: nwjs-v0.74.0-win-x64.zip
@ElPrudi
Copy link

ElPrudi commented Apr 5, 2023

Same here on Windows 10. Cant build anything with nw-builder without Windows Defender automatically deleting the executable.

@rogerwang
Copy link
Member

This is a false positive in Windows Defender.

@ElPrudi
Copy link

ElPrudi commented Apr 5, 2023

Yes, but that should not be a thing at all. I can't create apps built on nw.js if the user has to explicitly allow it to run, or in my case, download it again because Windows Defender automatically deletes the executable.

@bluthen
Copy link
Contributor

bluthen commented Apr 5, 2023

How to control, what malware/antivirus programs want to do?

I think some malware writers use things like nwjs, python, pyinstaller, node, and other open source software. In turn sometimes the signatures for those end up in the vendors database and legit software ends up getting flagged.

  1. The software I work on we give instructions to whitelist our software for different antivirus/malware detectors.
  2. Make sure our executable/installer are signed.
  3. If particular complaints keep coming up, we try to submit our app as something unfairly detected to the vendor of the antivirus/malware. https://www.microsoft.com/en-us/wdsi/filesubmission

But also see comments in #7725 #6507 #5457 #4023 #3946 #7418

@jssuttles
Copy link

I ran into this today. Windows Defender removed my entry point html file.
image

@anker9
Copy link

anker9 commented Apr 17, 2023

Looks like u ar' tryin' to put zipped sources into nw.exe. and then run nw.exe
It's really 'fine' malware tactic - put self-data to normal .exe, so WD triggered((
Btw i have same issue)))) In dat case i 'solved' this just using Enigma Virtual Box from nwjs docs

@ayushmanchhabra
Copy link
Contributor

#8054 (comment)

@ElPrudi
Copy link

ElPrudi commented Apr 21, 2023

Really? Just randomly close it?

Damn, this is getting more and more hilarious.

@bluthen
Copy link
Contributor

bluthen commented Apr 22, 2023

What is a better solution @ElPrudi ? I don't like things getting flagged either, but again, how do you control what those vendors do?

@andreescocard
Copy link
Author

I am just curious to understand why using electron the executable don't get flagged the same way.
Anyway i gave up using nw.js, to everyone that will use the software have to add it on whitelist is inviable for me.

@bluthen
Copy link
Contributor

bluthen commented May 3, 2023

@andreescocard
It does happen to electron also, but maybe there are more people to submit builds to the malware detector vendors:

electron/electron#4485

Electron also I think signs their builds. Anyway good luck!

@top-5
Copy link

top-5 commented Nov 6, 2023

This issue happens with both Windows Defender and Kaspersky, which both identify nw.exe as the culprit :
Trojan:Win32/Doplik - This program is dangerous and executes commands from an attacker.

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

8 participants