The Indonesian Journal of Computer Science
Vol. 14 No. 2 (2025): The Indonesian Journal of Computer Science

Leveraging Large Language Models for Multi-Domain Malware and Vulnerability Detection

Magyar, Attila (Unknown)



Article Info

Publish Date
15 Apr 2025

Abstract

This study presents the application of deep learning methodologies, particularly leveraging GPT-2, to enhance various aspects of cybersecurity, including source code vulnerability detection, malware detection, and mobile malware security. The first part introduces a method for identifying security vulnerabilities in C/C++ source code by fine-tuning a GPT-2 model on diverse open-source code datasets. The results show that the GPT-2 model, using default tokenizers and encoders, performs comparably to other deep learning methods in vulnerability detection. The second part explores the use of GPT-2 for improving malware detection, proposing a novel approach that classifies malware through opcode snippets and textual features. Fine-tuning GPT-2 on a diverse dataset of malware and benign software demonstrates enhanced detection accuracy and reduced false positives. Lastly, the study investigates mobile malware detection, proposing a framework that combines static and dynamic analysis using deep learning to detect unseen malware variants. The framework is evaluated on a comprehensive dataset, showing improved accuracy and fewer false positives than traditional methods. This integrated approach highlights the potential of deep learning, particularly GPT-2, to address the challenges of modern cybersecurity, offering robust solutions across multiple domains.

Copyrights © 2025






Journal Info

Abbrev

ijcs

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Engineering

Description

The Indonesian Journal of Computer Science (IJCS) is a bimonthly peer-reviewed journal published by AI Society and STMIK Indonesia. IJCS editions will be published at the end of February, April, June, August, October and December. The scope of IJCS includes general computer science, information ...