Skip to content

Windows Defender flags test assembly as ransomware #747

Closed

Description

@sfreed141

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

Activity

  1. darkoperator commented on Dec 2, 2020

    @darkoperator
  2. sfreed141 commented on Dec 2, 2020

    @sfreed141
    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.

  3. bad-samaritan commented on May 16, 2021

    @bad-samaritan
    Contributor

    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.

  4. zybexXL commented on Aug 26, 2021

    @zybexXL
    Contributor

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

  5. zybexXL commented on Sep 1, 2021

    @zybexXL
    Contributor

    Fixed with PR #867

  6. IgorMilavec commented on Feb 13, 2022

    @IgorMilavec
    Collaborator

    Duplicate of #737

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions