[Paper Review] The Performance of Machine and Deep Learning Classifiers in Detecting Zero-Day Vulnerabilities
This paper evaluates 34 machine and deep learning classifiers for detecting zero-day malware, using 10-fold cross-validation on a dataset of malicious and benign software. The random forest classifier achieved the highest accuracy at 99.51%, outperforming even deep learning models, suggesting conventional machine learning can be more effective and efficient than deep learning for zero-day vulnerability detection.
The detection of zero-day attacks and vulnerabilities is a challenging problem. It is of utmost importance for network administrators to identify them with high accuracy. The higher the accuracy is, the more robust the defense mechanism will be. In an ideal scenario (i.e., 100% accuracy) the system can detect zero-day malware without being concerned about mistakenly tagging benign files as malware or enabling disruptive malicious code running as none-malicious ones. This paper investigates different machine learning algorithms to find out how well they can detect zero-day malware. Through the examination of 34 machine/deep learning classifiers, we found that the random forest classifier offered the best accuracy. The paper poses several research questions regarding the performance of machine and deep learning algorithms when detecting zero-day malware with zero rates for false positive and false negative.
Motivation & Objective
- To evaluate the performance of diverse machine learning and deep learning classifiers in detecting zero-day malware with minimal false positives and negatives.
- To determine whether deep learning models outperform conventional machine learning algorithms in identifying previously unknown malware.
- To assess the trade-offs between model complexity, training cost, and detection accuracy in zero-day vulnerability detection.
- To identify the most effective classifier for real-world deployment in securing systems against zero-day threats.
- To provide empirical evidence on the feasibility of learning-based models for high-accuracy zero-day detection without relying on signatures.
Proposed method
- The study employs a comprehensive experimental evaluation of 34 classifiers, including conventional machine learning (e.g., SVM, random forest), shallow neural networks, and deep neural networks with multiple hidden layers.
- Models are trained and evaluated using 10-fold cross-validation to ensure robustness and generalization across the dataset.
- The dataset consists of labeled software samples—benign and zero-day malware—used to train and test the classifiers.
- Performance is measured using standard metrics: accuracy, precision, recall, F1-score, and ROC-AUC, with emphasis on minimizing false positives and false negatives.
- Hyperparameter tuning is applied to deep learning models, including varying the number of layers, neurons per layer, and batch size.
- The analysis compares model performance across different architectures, including simple multilayer perceptrons (MLP) and deeper networks with up to seven layers.
Experimental results
Research questions
- RQ1Can conventional machine learning models outperform deep learning models in detecting zero-day malware?
- RQ2What is the optimal balance between model depth, complexity, and detection accuracy in zero-day vulnerability detection?
- RQ3To what extent can deep learning models achieve near-perfect accuracy (e.g., 99.5% or higher) in zero-day detection without false positives or negatives?
- RQ4How do false positive and false negative rates vary across different classifier types, and can any model achieve near-zero error rates?
- RQ5Is the higher training cost of deep learning justified by significant improvements in detection performance over simpler models like random forest?
Key findings
- The random forest classifier achieved the highest detection accuracy of 99.51%, outperforming all other models tested, including deep learning architectures.
- Despite expectations, deep learning models did not significantly outperform conventional machine learning models; some deep networks achieved only 99.33% accuracy after 200 epochs.
- Simpler deep learning models (e.g., MLP with 30,1 neurons) performed comparably to deeper, larger models (e.g., MLP with 100,80,60,40,20,10,1 neurons), with only a 0.26% accuracy gain.
- No model achieved 100% accuracy, indicating that even the best classifiers misclassify some zero-day malware samples.
- Conventional machine learning models, particularly random forest, demonstrated superior performance with lower training cost and faster inference compared to deep learning models.
- The results suggest that random forest is a more practical and effective choice for zero-day malware detection due to its high accuracy, low false positive/negative rates, and computational efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.