Skip to main content
QUICK REVIEW

[Paper Review] New Datasets for Dynamic Malware Classification

Berkant Düzgün, Aykut Çayır|arXiv (Cornell University)|Nov 30, 2021
Advanced Malware Detection TechniquesComputer Science13 references7 citations
TL;DR

This paper introduces two new, updated datasets—9,795 samples from VirusSamples and 14,616 from VirusShare—for dynamic malware classification using API call-based analysis. It evaluates four machine learning models (SVM, XGBoost, Random Forest, and Histogram-based Gradient Boosting) on balanced and imbalanced versions, reporting SVM achieving 94% accuracy on the imbalanced VirusSample dataset and XGBoost reaching 90% on both versions of the VirusShare dataset, establishing baseline results for future research.

ABSTRACT

Nowadays, malware and malware incidents are increasing daily, even with various anti-viruses systems and malware detection or classification methodologies. Many static, dynamic, and hybrid techniques have been presented to detect malware and classify them into malware families. Dynamic and hybrid malware classification methods have advantages over static malware classification methods by being highly efficient. Since it is difficult to mask malware behavior while executing than its underlying code in static malware classification, machine learning techniques have been the main focus of the security experts to detect malware and determine their families dynamically. The rapid increase of malware also brings the necessity of recent and updated datasets of malicious software. We introduce two new, updated datasets in this work: One with 9,795 samples obtained and compiled from VirusSamples and the one with 14,616 samples from VirusShare. This paper also analyzes multi-class malware classification performance of the balanced and imbalanced version of these two datasets by using Histogram-based gradient boosting, Random Forest, Support Vector Machine, and XGBoost models with API call-based dynamic malware classification. Results show that Support Vector Machine, achieves the highest score of 94% in the imbalanced VirusSample dataset, whereas the same model has 91% accuracy in the balanced VirusSample dataset. While XGBoost, one of the most common gradient boosting-based models, achieves the highest score of 90% and 80%.in both versions of the VirusShare dataset. This paper also presents the baseline results of VirusShare and VirusSample datasets by using the four most widely known machine learning techniques in dynamic malware classification literature. We believe that these two datasets and baseline results enable researchers in this field to test and validate their methods and approaches.

Motivation & Objective

  • To address the growing need for recent, updated malware datasets to support effective dynamic malware classification.
  • To provide balanced and imbalanced versions of two new datasets—VirusSamples (9,795 samples) and VirusShare (14,616 samples)—for reproducible research.
  • To evaluate the performance of four widely used machine learning models (SVM, XGBoost, Random Forest, and Histogram-based Gradient Boosting) on these datasets using API call-based dynamic analysis.
  • To establish baseline classification accuracy scores for future comparison and validation of new dynamic malware detection methods.
  • To support the research community by enabling testing and benchmarking of novel dynamic malware classification techniques on up-to-date, real-world datasets.

Proposed method

  • Collected 9,795 malware samples from VirusSamples and 14,616 from VirusShare to form two new, updated datasets.
  • Extracted system call (API call) sequences from dynamic analysis of each malware sample to represent behavioral features.
  • Constructed both balanced and imbalanced versions of each dataset to evaluate model robustness under class distribution variations.
  • Applied four machine learning models—Support Vector Machine (SVM), XGBoost, Random Forest, and Histogram-based Gradient Boosting—for multi-class malware family classification.
  • Used API call-based dynamic analysis as the input representation to capture runtime behavior, enabling detection of obfuscation-resistant malware.
  • Evaluated model performance using standard classification metrics, focusing on accuracy across both balanced and imbalanced dataset configurations.

Experimental results

Research questions

  • RQ1What is the classification accuracy of state-of-the-art machine learning models on newly collected, up-to-date malware datasets using API call-based dynamic analysis?
  • RQ2How does dataset imbalance affect the performance of dynamic malware classification models on real-world malware samples?
  • RQ3Which machine learning model achieves the highest accuracy in classifying malware families across both balanced and imbalanced versions of the VirusSamples and VirusShare datasets?
  • RQ4Can the proposed datasets and baseline results serve as a reliable benchmark for future research in dynamic malware classification?
  • RQ5How do the performance characteristics of SVM, XGBoost, Random Forest, and Histogram-based Gradient Boosting compare in the context of dynamic malware classification using API call sequences?

Key findings

  • Support Vector Machine (SVM) achieved the highest accuracy of 94% on the imbalanced VirusSample dataset, outperforming other models in this configuration.
  • On the balanced VirusSample dataset, SVM achieved 91% accuracy, indicating strong generalization despite class distribution adjustments.
  • XGBoost achieved 90% accuracy on both the balanced and imbalanced versions of the VirusShare dataset, demonstrating consistent performance across data distributions.
  • The Random Forest and Histogram-based Gradient Boosting models showed lower performance compared to SVM and XGBoost, with XGBoost achieving 80% accuracy on both versions of the VirusShare dataset.
  • The results establish a reliable baseline for future research, with SVM and XGBoost emerging as top-performing models for dynamic malware classification using API call sequences.
  • The two new datasets—VirusSamples (9,795 samples) and VirusShare (14,616 samples)—provide up-to-date, real-world data for training and evaluating dynamic malware detection systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.