A .NET implementation of the MalShare API
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead of adrenaline96:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A .NET implementation of the MalShare API
MalShare.com is a free malware repository providing researchers access to samples, malicous feeds, and Yara results.

What's currently supported (https://malshare.com/doc.php):
List hashes from the past 24 hours
List of sample sources from the past 24 hours
Get stored file details
List MD5/SHA1/SHA256 hashes of a specific type from the past 24 hours
Search sample hashes, sources and file names
Upload using FormData field "upload"
Get list of file types & count from the past 24 hours
GET allocated number of API key requests per day and remaining

How to install:

You have 3 options:

  1. Add reference to the .dll file in your project
  2. Install the NuGet Package from nuget.org (https://www.nuget.org/packages/MalShare.NET)
  3. Install the .nupkg file manually


  1. Microsoft.CSharp (>= 4.5.0)
  2. Newtonsoft.Json (>= 11.0.2)
  3. NETStandard.Library (>= 2.0.1)

How to use:

You can find usage examples here: https://pastebin.com/8n61zvas