Attention-Enhanced Contextual System Call Embeddings for Adaptive Malware Detection Using LSTM Networks
Abstract
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 framework proposed in this paper is innovative and adaptive and uses graph-conscious system call embeddings in conjunction with an attention-enhanced Long Short-Term Memory (LSTM) net. Our model is capable of capturing local and global dependencies in system call sequences, dynamically marking important sequences of calls that signal maliciousness. The proposed framework effectively identifies malware that is stealthy and never before witnessed based on contextual relationships between the systems calls in real-time. The superior performance on a large set of benign and malicious executable is shown by extensive experiments with an F1-score of 97.8% and an enhanced precision-recall curve as opposed to the state-of-the-art machine-learning and deep-learning techniques. The attention mechanism also offers interpretable information about the different system calls that are part of malicious behavior and therefore This improves the interpretability and reliability of the detection framework for security analysts and explainability. This method provides a scalability, flexible and explainable malware detection mechanism that integrates sequence modeling, embedding learning and attention to effectively respond to new malware attacks in the contemporary computer systems.