Decoding the Secrets of Machine Learning in Malware Classification: A Deep Dive into Datasets, Feature Extraction, and Model Performance
Not on the map. Why?
Abstract (arXiv)
Many studies have proposed machine-learning (ML) models for malware detection and classification, reporting an almost-perfect performance. However, they assemble ground-truth in different ways, use diverse static- and dynamic-analysis techniques for feature extraction, and even differ on what they consider a malware family. As a consequence, our community still lacks an understanding of malware classification results: whether they are tied to the nature and distribution of the collected dataset, to what extent the number of families and samples in the training dataset influence performance, and how well static and dynamic features complement each other. This work sheds light on those open questions. by investigating the key factors influencing ML-based malware detection and classification. For this, we collect the largest balanced malware dataset so far with 67K samples from 670 families (100 samples each), and train state-of-the-art models for malware detection and family classification using our dataset. Our results reveal that static features perform better than dynamic features, and that combining both only provides marginal improvement over static features. We discover no correlation between packing and classification accuracy, and that missing behaviors in dynamically-extracted features highly penalize their performance. We also demonstrate how a larger number of families to classify make the classification harder, while a higher number of samples per family increases accuracy. Finally, we find that models trained on a uniform distribution of samples per family better generalize on unseen data.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 17 of its 64 references that are in the map. First posted on arXiv 27 Jul 2023.
Builds on
17 of 64 references.
References · 17
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2018EMBER: An Open Dataset for Training Static PE Malware Machine Learning Modelscited by 165
- 2017Malware Detection by Eating a Whole EXEcited by 115
- 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
- 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 102
- 2020Transcending Transcend: Revisiting Malware Classification in the Presence of Concept Driftcited by 53
- 2015Deep Neural Network Based Malware Detection Using Two Dimensional Binary Program Featurescited by 48
- 2019Dynamic Malware Analysis with Feature Engineering and Feature Learningcited by 23
- 2015Reviewer Integration and Performance Measurement for Malware Detectioncited by 19
- 2020AVClass2: Massive Malware Tag Extraction from AV Labelscited by 19
- 2021MOTIF: A Large Malware Reference Dataset with Ground Truth Family Labelscited by 17
- 2017Early Stage Malware Prediction Using Recurrent Neural Networkscited by 14
5 more
- 2019Neurlux: Dynamic Malware Analysis Without Feature Engineeringcited by 12
- 2021Towards an Automated Pipeline for Detecting and Classifying Malware through Machine Learningcited by 6
- 2018Portable, Data-Driven Malware Detection using Language Processing and Machine Learning Techniques on Behavioral Analysis Reportscited by 3
- 2021Longitudinal Study of the Prevalence of Malware Evasive Techniquescited by 3
- 2020Challenges in Forecasting Malicious Events from Incomplete Datacited by 1
Built on by
Citing papers per year: 2024: 4; 2025: 7; 2026: 2.
13 papers.
Sort:
By area:
- 2024Assessing the Impact of Packing on Machine Learning-Based Malware Detection and Classification Systemscited by 5
- 2024SLIFER: Investigating Performance and Robustness of Malware Detection Pipelinescited by 4
- 2024How to Train your Antivirus: RL-based Hardening through the Problem-Spacecited by 3
- 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learningcited by 3
- 2025Trust Under Siege: Label Spoofing Attacks against Machine Learning for Android Malware Detectioncited by 1
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detectioncited by 1
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2025Certifiably robust malware detectors by designcited by 0
- 2025LLM-Driven Feature-Level Adversarial Attacks on Android Malware Detectorscited by 0
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifierscited by 0
1 more
- 2026Humans vs. Machines: A Comparison With AI Agents in Software Reverse Engineering10 Oct 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2025LLM-Driven Feature-Level Adversarial Attacks on Android Malware Detectors24 Dec 2025
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025Certifiably robust malware detectors by design10 Aug 2025
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detection11 Jul 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2025Trust Under Siege: Label Spoofing Attacks against Machine Learning for Android Malware Detection14 Mar 2025
- 2024Assessing the Impact of Packing on Machine Learning-Based Malware Detection and Classification Systems31 Oct 2024
- 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learning20 Sep 2024
- 2024SLIFER: Investigating Performance and Robustness of Malware Detection Pipelines23 May 2024
1 more
- 2024Assessing the Impact of Packing on Machine Learning-Based Malware Detection and Classification Systemscited by 5
- 2024SLIFER: Investigating Performance and Robustness of Malware Detection Pipelinescited by 4
- 2024How to Train your Antivirus: RL-based Hardening through the Problem-Spacecited by 3
- 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learningcited by 3
- 2025Trust Under Siege: Label Spoofing Attacks against Machine Learning for Android Malware Detectioncited by 1
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detectioncited by 1
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAGcited by 0
- 2025Certifiably robust malware detectors by designcited by 0
- 2025LLM-Driven Feature-Level Adversarial Attacks on Android Malware Detectorscited by 0
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifierscited by 0
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2025LLM-Driven Feature-Level Adversarial Attacks on Android Malware Detectors24 Dec 2025
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025Certifiably robust malware detectors by design10 Aug 2025
- 2025ADAPT: A Pseudo-labeling Approach to Combat Concept Drift in Malware Detection11 Jul 2025
- 2025Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG5 Jul 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2025Trust Under Siege: Label Spoofing Attacks against Machine Learning for Android Malware Detection14 Mar 2025
- 2024Assessing the Impact of Packing on Machine Learning-Based Malware Detection and Classification Systems31 Oct 2024
- 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learning20 Sep 2024
- 2024SLIFER: Investigating Performance and Robustness of Malware Detection Pipelines23 May 2024
- 2024How to Train your Antivirus: RL-based Hardening through the Problem-Space29 Feb 2024