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

lf detected as virus by Windows Defender #1828

Open
GeorgeManukyan opened this issue Nov 2, 2024 · 2 comments
Open

lf detected as virus by Windows Defender #1828

GeorgeManukyan opened this issue Nov 2, 2024 · 2 comments

Comments

@GeorgeManukyan
Copy link

GeorgeManukyan commented Nov 2, 2024

When attempting to use the lf(r33) file manager on Windows, Windows Defender detects the application as a virus and automatically deletes it.

https://www.virustotal.com/gui/file/0ad4cbeca10a8d8356f46fcba7482f99d2a0d1fe5a27096237b28761aaa5bd34

Maybe LF could be submitted to antivirus companies for review and request to have it excluded from virus definitions.

Screenshot 2024-11-02 at 21 33 44
@GeorgeManukyan GeorgeManukyan changed the title LF detected as virus by Windows Defender lf detected as virus by Windows Defender Nov 2, 2024
@joelim-work
Copy link
Collaborator

This has been brought up a few times before:

I suspect this is happening because lf is a power-user tool that can do powerful things like executing shell commands, and this is being flagged due to heuristics.

I'm not a Windows user myself so I don't have much motivation here, but anyone who is interested can probably try submitting this as a false positive whenever there is a new release.

@Limero
Copy link
Contributor

Limero commented Nov 15, 2024

If I build the latest master for Windows and upload to VirusTotal, it's detected by Microsoft as Program:Win32/Wacapew.C!ml:

env GOOS=windows go build .

If I build it with debug information stripped, it doesn't get detected

env GOOS=windows go build -ldflags="-s -w" .

So it's possible we could just do this for the Windows releases and bypass antivirus checks. It will also result in smaller binaries (about 2mb smaller), so maybe we should even do the same for all releases.

Edit: I see now that we are already doing this 🤔 https://github.com/gokcehan/lf/blob/master/gen/xbuild.sh#L25

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

3 participants