Building a machine learning classifier for malware detection
Zane Markel, Michael Bilzor · 2014
Current signature-based antivirus software is ineffective against many modern malicious software threats. Machine learning methods can be used to create more effective antimalware software, capable of detecting even zero-day attacks. Some studies have investigated the plausibility of applying machine learning to malware detection, primarily using features from n-grams of an executables file's byte code. We propose an approach that primarily learns from metadata, mostly contained in the headers of executable files, specifically the Windows Portable Executable 32-bit (PE32) file format. Our experiments indicate that executable file metadata is highly discriminative between malware and benign software. We also employ various machine learning methods, finding that Decision Tree classifiers outperform Logistic Regression and Naive Bayes in this setting. We analyze various features of the PE32 header and identify those most suitable for machine learning classifiers. Finally, we evaluate changes in classifier performance when the malware prevalence (fraction of malware versus benign software) is varied.
Cited by 59 works. doi:10.1109/water.2014.7015757
Authors
References
- Scikit-learn: Machine Learning in Python
- On Discriminative vs. Generative Classifiers: A comparison of logistic regression and naive Bayes
- Learning to Detect and Classify Malicious Executables in the Wild
- On the Class Imbalance Problem
- N-GRAMS-BASED FILE SIGNATURES FOR MALWARE DETECTION
- Exploring Discriminatory Features for Automated Malware Classification
- A Study of Detecting Computer Viruses in Real-Infected Files in the n-Gram Representation with Machine Learning Methods
- A study of detecting computer viruses in real-infected files in the n-gram representation with machine learning methods