Articles producció científicaEnginyeria Informàtica i Matemàtiques

Assessing LLMs in malicious code deobfuscation of real-world malware campaigns

  • Identification data

    Identifier:  imarina:9379058
    Authors:  Patsakis, C; Casino, F; Lykousas, N
    Abstract:
    The integration of large language models (LLMs) into various cybersecurity pipelines has become increasingly prevalent, enabling the automation of numerous manual tasks and often surpassing human performance. Recognising this potential, cybersecurity researchers and practitioners are actively investigating the application of LLMs to process vast volumes of heterogeneous data for anomaly detection, potential bypass identification, attack mitigation, and fraud prevention. Moreover, LLMs' advanced capabilities in generating functional code, interpreting code context, and code summarisation present significant opportunities for reverse engineering and malware deobfuscation. In this work, we comprehensively examine the deobfuscation capabilities of state-of-the-art LLMs. Specifically, we conducted a detailed evaluation of four prominent LLMs using real-world malicious scripts from the notorious Emotet malware campaign. Our findings reveal that while current LLMs are not yet perfectly accurate, they demonstrate substantial potential in efficiently deobfuscating payloads. This study highlights the importance of fine-tuning LLMs for specialised tasks, suggesting that such optimisation could pave the way for future AI-powered threat intelligence pipelines to combat obfuscated malware. Our contributions include a thorough analysis of LLM performance in malware deobfuscation, identifying strengths and limitations, and discussing the potential for integrating LLMs into cybersecurity frameworks for enhanced threat detection and mitigation. Our experiments illustrate that LLMs can automatically and accurately extract the necessary indicators of compromise from a real-world campaign with an accuracy of 69.56% and 88.78% for the URLs and the corresponding domains of the droppers, respectively.
  • Others:

    Link to the original source: https://www.sciencedirect.com/science/article/pii/S0957417424017792?via%3Dihub
    APA: Patsakis, C; Casino, F; Lykousas, N (2024). Assessing LLMs in malicious code deobfuscation of real-world malware campaigns. EXPERT SYSTEMS WITH APPLICATIONS, 256(), 124912-. DOI: 10.1016/j.eswa.2024.124912
    Paper original source: EXPERT SYSTEMS WITH APPLICATIONS. 256 124912-
    Article's DOI: 10.1016/j.eswa.2024.124912
    Journal publication year: 2024-12-05
    Entity: Universitat Rovira i Virgili
    Paper version: info:eu-repo/semantics/publishedVersion
    Record's date: 2026-05-09
    URV's Author/s: Casino Cembellín, Francisco José
    Department: Enginyeria Informàtica i Matemàtiques
    Licence document URL: https://repositori.urv.cat/ca/proteccio-de-dades/
    Publication Type: Journal Publications
    Author, as appears in the article.: Patsakis, C; Casino, F; Lykousas, N
    licence for use: https://creativecommons.org/licenses/by/3.0/es/
    Thematic Areas: Operations research & management science, General engineering, Engineering, electrical & electronic, Engineering (miscellaneous), Engineering (all), Computer science, artificial intelligence, Computer science applications, Ciencias sociales, Ciência da computação, Artificial intelligence, Administração, ciências contábeis e turismo, Administração pública e de empresas, ciências contábeis e turismo
    Author's mail: franciscojose.casino@urv.cat
  • Keywords:

    Malware analysis
    Large language models
    Cybersecurity
    Cybersecurit
    Code deobfuscation
    Artificial Intelligence
    Computer Science Applications
    Computer Science
    Engineering (Miscellaneous)
    Engineering
    Electrical & Electronic
    Operations Research & Management Science
    General engineering
    Engineering (all)
    Ciencias sociales
    Ciência da computação
    Administração
    ciências contábeis e turismo
    Administração pública e de empresas
  • Documents:

  • Cerca a google

    Search to google scholar