A Hybrid Signature and Machine Learning-Based Malware Detection Model for Enhanced Zero-Day Threat Detection
Year: 2026
Type: article
Abstract: Digital transformation has increased the use of connected systems in public services, business, education and daily communication. This growth has also expanded exposure to malware. Zeroday threats are especially difficult because they exploit unknown weaknesses before signatures or patches are available. Signature-based tools detect known threats well. However, they often miss new, polymorphic or obfuscated malware. Machine-learning methods can detect unfamiliar patterns, but they may produce false alerts and require careful feature design. This study developed and evaluated a hybrid malware detection model for real-time zero-day threat detection. The model used a layered approach. It combined SHA-256 hash matching, YARA rule matching, feature engineering, a stacking ensemble classifier and Isolation Forest anomaly detection. Static and behavioural features were extracted from malware and benign samples. The datasets covered eleven classes and included a held-out polymorphic zero-day test partition. The model was assessed using accuracy, precision, recall, F1-score, false positive rate, zero-day detection rate and response time. The model achieved 97.95% accuracy, 98.09% precision and 98.97% recall. It also achieved an F1-score of 0.9793. The false positive rate was reduced to 4.40%, representing a 45.0% improvement over the baseline. The combined ensemble and anomaly detection layers identified all samples in the held-out zero-day partition. The average end-to-end response time was 691 milliseconds. These results show that integrating signature detection with machine learning and anomaly detection can improve malware detection and reduce alert fatigue. The model can support safer digital transformation by strengthening real-time cybersecurity protection. Further work should add lightweight dynamic analysis for script-based, fileless and network-embedded malware.
Authors: Evans Kithua, Nelson Masese, Ruth Oginga
Institution: Kabarak University
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: bronze
OpenAlex ID: W7214708246
