[Paper Review] MalDetConv: Automated Behaviour-based Malware Detection Framework Based on Natural Language Processing and Deep Learning Techniques
MalDetConv is a novel deep learning framework that uses natural language processing techniques to analyze sequences of Windows API calls for automated, behavior-based malware detection. By combining a CNN-BiGRU architecture with word embeddings and LIME for explainability, it achieves 99.93% accuracy on unseen zero-day malware, outperforming state-of-the-art methods on multiple benchmark datasets.
The popularity of Windows attracts the attention of hackers/cyber-attackers, making Windows devices the primary target of malware attacks in recent years. Several sophisticated malware variants and anti-detection methods have been significantly enhanced and as a result, traditional malware detection techniques have become less effective. This work presents MalBehavD-V1, a new behavioural dataset of Windows Application Programming Interface (API) calls extracted from benign and malware executable files using the dynamic analysis approach. In addition, we present MalDetConV, a new automated behaviour-based framework for detecting both existing and zero-day malware attacks. MalDetConv uses a text processing-based encoder to transform features of API calls into a suitable format supported by deep learning models. It then uses a hybrid of convolutional neural network (CNN) and bidirectional gated recurrent unit (CNN-BiGRU) automatic feature extractor to select high-level features of the API Calls which are then fed to a fully connected neural network module for malware classification. MalDetConv also uses an explainable component that reveals features that contributed to the final classification outcome, helping the decision-making process for security analysts. The performance of the proposed framework is evaluated using our MalBehavD-V1 dataset and other benchmark datasets. The detection results demonstrate the effectiveness of MalDetConv over the state-of-the-art techniques with detection accuracy of 96.10%, 95.73%, 98.18%, and 99.93% achieved while detecting unseen malware from MalBehavD-V1, Allan and John, Brazilian, and Ki-D datasets, respectively. The experimental results show that MalDetConv is highly accurate in detecting both known and zero-day malware attacks on Windows devices.
Motivation & Objective
- To address the limitations of signature-based malware detection in detecting evolving and obfuscated malware variants.
- To develop a behavior-based malware detection framework that effectively identifies both known and zero-day malware using dynamic analysis of API call sequences.
- To improve model interpretability in deep learning-based malware detection by integrating LIME for feature-level explanation of predictions.
- To create a new, publicly available dataset (MalBehavD-V1) of Windows API call sequences from benign and malicious executables for research use.
- To demonstrate the effectiveness of hybrid deep learning models (CNN-BiGRU) combined with word embedding for malware classification using system call behavior.
Proposed method
- The framework uses a Keras Tokenizer and embedding layer to convert sequences of API calls into dense vector representations, capturing semantic relationships between API calls.
- A hybrid CNN-BiGRU architecture automatically extracts high-level, discriminative features from the embedded API call sequences.
- The extracted features are passed through a fully connected neural network for final malware classification into benign or malicious categories.
- The model integrates the LIME (Local Interpretable Model-agnostic Explanations) framework to generate local, instance-level explanations of predictions by highlighting influential API calls.
- Dynamic analysis is performed using the Cuckoo sandbox to extract real-time API call sequences from Windows EXE files in an isolated virtual environment.
- The framework leverages word embedding techniques to treat API call sequences as natural language text, enabling NLP-inspired processing for malware behavior modeling.
Experimental results
Research questions
- RQ1Can a deep learning model based on NLP techniques effectively detect both known and zero-day malware by analyzing sequences of system API calls?
- RQ2How does the performance of the proposed CNN-BiGRU model compare to existing machine learning and deep learning models in terms of detection accuracy and generalization on unseen malware?
- RQ3To what extent can LIME provide meaningful, human-interpretable explanations for the model’s classification decisions in the context of malware detection?
- RQ4How effective is the MalBehavD-V1 dataset in supporting robust training and evaluation of behavior-based malware detection systems?
- RQ5Can the framework generalize across diverse malware families and operating system environments, including newer Windows versions and other file types like PowerShell scripts or APKs?
Key findings
- MalDetConv achieved a detection accuracy of 96.10% on unseen malware from the MalBehavD-V1 dataset, demonstrating strong generalization capability.
- On the Allan and John dataset, the framework achieved 95.73% detection accuracy, indicating consistent performance across diverse malware samples.
- The model reached 98.18% accuracy on the Brazilian malware dataset, confirming its robustness on region-specific malware variants.
- On the Ki-D dataset, MalDetConv achieved an exceptional detection accuracy of 99.93%, highlighting its effectiveness in identifying zero-day and previously unseen malware.
- The integration of LIME enabled model interpretability, allowing security analysts to identify specific API calls—such as IsDebuggerPresent and FindResourceW—that contributed most to classification decisions.
- The framework outperformed existing state-of-the-art techniques in both detection accuracy and precision, particularly on unseen and zero-day malware samples.
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.