A Decompilation-Driven Framework for Malware Detection with Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Chawla, Aniesh, Prasad, Udbhav
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911374733475840
author Chawla, Aniesh
Prasad, Udbhav
author_facet Chawla, Aniesh
Prasad, Udbhav
contents The parallel evolution of Large Language Models (LLMs) with advanced code-understanding capabilities and the increasing sophistication of malware presents a new frontier for cybersecurity research. This paper evaluates the efficacy of state-of-the-art LLMs in classifying executable code as either benign or malicious. We introduce an automated pipeline that first decompiles Windows executable into a C code using Ghidra disassembler and then leverages LLMs to perform the classification. Our evaluation reveals that while standard LLMs show promise, they are not yet robust enough to replace traditional anti-virus software. We demonstrate that a fine-tuned model, trained on curated malware and benign datasets, significantly outperforms its vanilla counterpart. However, the performance of even this specialized model degrades notably when encountering newer malware. This finding demonstrates the critical need for continuous fine-tuning with emerging threats to maintain model effectiveness against the changing coding patterns and behaviors of malicious software.
format Preprint
id arxiv_https___arxiv_org_abs_2601_09035
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Decompilation-Driven Framework for Malware Detection with Large Language Models
Chawla, Aniesh
Prasad, Udbhav
Cryptography and Security
Artificial Intelligence
The parallel evolution of Large Language Models (LLMs) with advanced code-understanding capabilities and the increasing sophistication of malware presents a new frontier for cybersecurity research. This paper evaluates the efficacy of state-of-the-art LLMs in classifying executable code as either benign or malicious. We introduce an automated pipeline that first decompiles Windows executable into a C code using Ghidra disassembler and then leverages LLMs to perform the classification. Our evaluation reveals that while standard LLMs show promise, they are not yet robust enough to replace traditional anti-virus software. We demonstrate that a fine-tuned model, trained on curated malware and benign datasets, significantly outperforms its vanilla counterpart. However, the performance of even this specialized model degrades notably when encountering newer malware. This finding demonstrates the critical need for continuous fine-tuning with emerging threats to maintain model effectiveness against the changing coding patterns and behaviors of malicious software.
title A Decompilation-Driven Framework for Malware Detection with Large Language Models
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2601.09035