Transfer Learning in Pre-Trained Large Language Models for Malware Detection Based on System Calls
Not on the map. Why?
Abstract (arXiv)
In the current cybersecurity landscape, protecting military devices such as communication and battlefield management systems against sophisticated cyber attacks is crucial. Malware exploits vulnerabilities through stealth methods, often evading traditional detection mechanisms such as software signatures. The application of ML/DL in vulnerability detection has been extensively explored in the literature. However, current ML/DL vulnerability detection methods struggle with understanding the context and intent behind complex attacks. Integrating large language models (LLMs) with system call analysis offers a promising approach to enhance malware detection. This work presents a novel framework leveraging LLMs to classify malware based on system call data. The framework uses transfer learning to adapt pre-trained LLMs for malware detection. By retraining LLMs on a dataset of benign and malicious system calls, the models are refined to detect signs of malware activity. Experiments with a dataset of over 1TB of system calls demonstrate that models with larger context sizes, such as BigBird and Longformer, achieve superior accuracy and F1-Score of approximately 0.86. The results highlight the importance of context size in improving detection rates and underscore the trade-offs between computational complexity and performance. This approach shows significant potential for real-time detection in high-stakes environments, offering a robust solution to evolving cyber threats.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 7 of its 24 references that are in the map. First posted on arXiv 15 May 2024.
Builds on
7 of 24 references.
References · 7
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
- 2023Fundamentals of Generative Large Language Models and Perspectives in Cyber-Defensecited by 13
- 2017Electrosense: Open and Big Spectrum Datacited by 10
- 2016LSTM-Based System-Call Language Modeling and Robust Ensemble Method for Designing Host-Based Intrusion Detection Systemscited by 9
- 2019When Autonomous Intelligent Goodware will Fight Autonomous Intelligent Malware: A Possible Future of Cyber Defensecited by 3
- 2023Language Models for Novelty Detection in System Call Tracescited by 1
Built on by
Citing papers per year: 2025: 6; 2026: 2.
8 papers.
- 2025LAMD: Context-driven Android Malware Detection and Classification with LLMscited by 18
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 11
- 2025Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluationcited by 4
- 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineeringcited by 1
- 2026LoRA-based Parameter-Efficient LLMs for Continuous Learning in Edge-based Malware Detectioncited by 1
- 2025LLM-Based Identification of Infostealer Infection Vectors from Screenshots: The Case of Auroracited by 0
- 2025BEACON: Behavioral Malware Classification with Large Language Model Embeddings and Deep Learningcited by 0
- 2026SYNAPSE: Framework for Neuron Analysis and Perturbation in Sequence Encodingcited by 0
- 2026SYNAPSE: Framework for Neuron Analysis and Perturbation in Sequence Encoding9 Mar 2026
- 2026LoRA-based Parameter-Efficient LLMs for Continuous Learning in Edge-based Malware Detection12 Feb 2026
- 2025REx86: A Local Large Language Model for Assisting in x86 Assembly Reverse Engineering23 Oct 2025
- 2025BEACON: Behavioral Malware Classification with Large Language Model Embeddings and Deep Learning18 Sep 2025
- 2025LLM-Based Identification of Infostealer Infection Vectors from Screenshots: The Case of Aurora31 Jul 2025
- 2025Malware Detection at the Edge with Lightweight LLMs: A Performance Evaluation6 Mar 2025
- 2025LAMD: Context-driven Android Malware Detection and Classification with LLMs18 Feb 2025
- 2025A Contemporary Survey of Large Language Model Assisted Program Analysis5 Feb 2025