Virus-MNIST: A Benchmark Malware Dataset
Not on the map. Why?
Abstract (arXiv)
The short note presents an image classification dataset consisting of 10 executable code varieties and approximately 50,000 virus examples. The malicious classes include 9 families of computer viruses and one benign set. The image formatting for the first 1024 bytes of the Portable Executable (PE) mirrors the familiar MNIST handwriting dataset, such that most of the previously explored algorithmic methods can transfer with minor modifications. The designation of 9 virus families for malware derives from unsupervised learning of class labels; we discover the families with KMeans clustering that excludes the non-malicious examples. As a benchmark using deep learning methods (MobileNetV2), we find an overall 80% accuracy for virus identification by families when beneware is included. We also find that once a positive malware detection occurs (by signature or heuristics), the projection of the first 1024 bytes into a thumbnail image can classify with 87% accuracy the type of virus. The work generalizes what other malware investigators have demonstrated as promising convolutional neural networks originally developed to solve image problems but applied to a new abstract domain in pixel bytes from executable files. The dataset is available on Kaggle and Github.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 5 of its 31 references that are in the map. First posted on arXiv 28 Feb 2021.
Builds on
5 of 31 references.
References · 5
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,349
- 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 165
- 2019Kannada-MNIST: A new handwritten digits dataset for the Kannada languagecited by 14
- 2021Overhead MNIST: A Benchmark Satellite Datasetcited by 6
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 1; 2024: 0; 2025: 1.
5 papers.
- 2023A Survey on Cross-Architectural IoT Malware Threat Huntingcited by 2
- 2021Virus-MNIST: Machine Learning Baseline Calculations for Image Classificationcited by 0
- 2021Intrusion Detection: Machine Learning Baseline Calculations for Image Classificationcited by 0
- 2022Instance Attack:An Explanation-based Vulnerability Analysis Framework Against DNNs for Malware Detectioncited by 0
- 2025MalVol-25: A Diverse, Labelled and Detailed Volatile Memory Dataset for Malware Detection and Response Testing and Validationcited by 0
- 2025MalVol-25: A Diverse, Labelled and Detailed Volatile Memory Dataset for Malware Detection and Response Testing and Validation5 Jul 2025
- 2023A Survey on Cross-Architectural IoT Malware Threat Hunting9 Jun 2023
- 2022Instance Attack:An Explanation-based Vulnerability Analysis Framework Against DNNs for Malware Detection6 Sep 2022
- 2021Intrusion Detection: Machine Learning Baseline Calculations for Image Classification3 Nov 2021
- 2021Virus-MNIST: Machine Learning Baseline Calculations for Image Classification3 Nov 2021