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 flags test assembly as ransomware #747

Closed
sfreed141 opened this issue Dec 2, 2020 · 6 comments
Closed

Windows Defender flags test assembly as ransomware #747

sfreed141 opened this issue Dec 2, 2020 · 6 comments

Comments

@sfreed141
Copy link

Cloning (commit cefdc20) and building with no changes results in Renci.SshNet.Tests.dll being flagged as ransomware (Ransom:MSIL/Hasadcrypt.A). Does anyone have an idea what portion of the code could be suspect?

System info: Windows 10 Enterprise version 10.0.19042 Build 19042

@darkoperator
Copy link

darkoperator commented Dec 2, 2020 via email

@sfreed141
Copy link
Author

Reported to MS. Btw the file that is causing the issue is https://github.com/sshnet/SSH.NET/blob/develop/src/Renci.SshNet.Tests/Classes/PrivateKeyFileTest.cs. If I remove it from the build I can build and run tests fine.

@bad-samaritan
Copy link

bad-samaritan commented May 16, 2021

Unfortunately it's still the case.
Today my Defender flagged Renci.SshNet.Tests.dll as MSIL/Hasadcrypt.A for all targets (.NET Framework and NET Core).
On the other hand this does not seem like a Microsoft Defender only issue - on VirusTotal 16/69 engines flags it as Malicious.

@zybexXL
Copy link
Contributor

zybexXL commented Aug 26, 2021

Still the same today for me, just for target NET4.0 in Debug profile.

@zybexXL
Copy link
Contributor

zybexXL commented Sep 1, 2021

Fixed with PR #867

@IgorMilavec
Copy link
Collaborator

Duplicate of #737

@IgorMilavec IgorMilavec marked this as a duplicate of #737 Feb 13, 2022
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

5 participants