Skip to content
Open access

API Call-Based Windows Malware Detection Using CNN-LSTM-Attention and Explainable SHAP

Oct 2026 · SinkrOn · 0 citations · 26 references

TL;DR

A hybrid Convolutional Neural Network, Long Short-Term Memory, and Multi-Head Attention model is developed to classify Windows malicious software from sequences of the first 100 dynamic Application Programming Interface calls, and provides superior interpretability by integrating SHapley Additive Explanations.

Abstract

The Windows operating system remains a primary target for cyberattacks, with modern malicious software increasingly relying on obfuscation, packing, and polymorphism to evade signature-based detection. This research addresses this challenge by developing a hybrid Convolutional Neural Network, Long Short-Term Memory, and Multi-Head Attention model to classify Windows malicious software from sequences of the first 100 dynamic Application Programming Interface calls. Drawing on the Kaggle "Malware Analysis Datasets: API Call Sequences" refined to 13,206 unique samples with a severe class imbalance of 95.36% malware versus 4.64% benign, the model employs a class-weighting strategy to ensure robust learning. Rigorous evaluation through five-fold cross-validation demonstrates that the proposed architecture achieves a mean Area Under the Receiver Operating Characteristic Curve of 0.9562 (± 0.0186) and an accuracy of 95.78% (± 1.05%). Ablation studies confirm that the Multi-Head Attention mechanism is statistically indispensable (p < 0.05), as its removal degrades performance to an Area Under the Receiver Operating Characteristic Curve of 0.9073. While competitive with ensemble baselines such as Random Forest and XGBoost, the proposed approach provides superior interpretability by integrating SHapley Additive Explanations. This enables local and global forensic accountability by pinpointing critical temporal execution windows specifically at steps t1, t50, and t­75 that drive malicious predictions. These results indicate that combining hybrid deep learning with post-hoc explainability produces malware detection that is both robust and forensically transparent.

Read PDF

Similar papers

Open access Oct 2026

An Explainable Attention-Enhanced Deep Learning Model for Memory-Forensic Malware Detection

Memory-forensic malware detection can identify malicious activity from volatile memory and complement disk-based analysis. However, results are difficult to compare when datasets, preprocessing, model settings, and evaluation protocols differ. We propose a hybrid convolutional neural network and bidirectional gated rec...

John Adejoh, N. Owoh, Moses Ashawa et al. · 0 citations
Conference Open access Sep 2026

Attention-Enhanced Contextual System Call Embeddings for Adaptive Malware Detection Using LSTM Networks

Malware has evolved rapidly with polymorphic and zero-day malware that is a major challenge to the conventional detection systems. The Signature-based approaches are ineffective against emerging attacks, and the traditional behavioral-based methods tend to miss the minor malicious patterns. The malware detection framew...

M. S. Priya, S. Hariharan, J. Kumar et al. · 0 citations
Conference Open access Sep 2026

Deep Learning-Based Malware Detection and Family Classification Using Byteplot Image Encoding

The rapid growth of malware targeting modern computing systems necessitates accurate and scalable detection and classification mechanisms capable of operating in real-world environments. In this work, we present a two-stage AI-based malware analysis framework that combines binary malware detection with fine-grained mal...

Omar Elalfy, Abdulkareem Salem, Abdelrahman Donia et al. · 0 citations
Oct 2026

An Integrated Multi-Source Framework for Explainable Android Malware Detection with SOC Integration

Neurosec Malware Scanner is an integrated malware-analysis framework that combines multi-source threat intelligence, static machine-learning classification, SHAP-based explainability, and Security Operations Centre (SOC)-oriented result presentation within a unified workflow. The system queries multiple file-hash threa...

Pallavi M. Shimpi, N. Pise · 0 citations
Open access Oct 2026

Malware Detection by Machine Learning based on the LightGBM Model

The study idea is based on the implementation of contemporary standard machine learning models (such LightGBM) to guaranty the highest-level using malware identification accuracy and the usage of reputable software programs to extract standardized features from PE data files.

Amjad Jumaah Frhan · 0 citations
Open access Sep 2026

Visualization based malware classification under extreme class imbalance: a transfer learning approach with systematic ablation

Malware detection and classification continues to be a major concern of cybersecurity since threat attackers are refining to come up with more advanced and elusive malicious code. Visualization-based solutions that transform raw binary executables into grayscale images and the use of convolutional neural networks t...

G. P. Raghudathesh, M. Pavan Kumar, Thimmaraja Yadava G et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.