Skip to content

A project to label the VirusShare malware corpus using VirusTotal's public API.

License

Notifications You must be signed in to change notification settings

asieira/label-virusshare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

label-virusshare

A project to label the VirusShare malware corpus using VirusTotal's public API.

Description

VirusShare (http://virusshare.com/) consists of a large number of malicious executable files. However, these files aren't labeled with their malware family.

VirusTotal (https://www.virustotal.com/) is a service which runs executables through a large number of antivirus vendors, and returns whether each AV detected the file as being malicious and the labeling of the file by the AV. VirusTotal has a public API which limits the number of requests that an individual can make daily/monthly.

This project aims to provide the VirusTotal analyses for each file in the VirusShare corpus, so that VirusShare can more easily be used for supervised machine learning.

Requirements

  • Python 2.7 (will not currently work under Python 3.0)
  • Active VirusTotal API public key (PLEASE do not use a VT private API key, for licensing issues)
  • Git Large File Storage: a git extension for versioning large files.

To Run:

  1. Fork the repository.
  2. In the root of the repository, copy and paste your API key into a file called api_key.
  3. Run scrape_analyses.py with no parameters. This should take about an hour to run, and will use up your entire VirusTotal quota for the day.
  4. git add the resulting analysis file, commit, push, and do a pull request for that file into this repository.
  5. Before running again, merge upstream changes.

About

A project to label the VirusShare malware corpus using VirusTotal's public API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 100.0%