Lightweight Malware Classification with FORTUNATE: Precision Meets Computational Efficiency
Authors:
- César Augusto Borges De AndradeCésar Augusto Borges De Andrade
- Geraldo Pereira Rocha FilhoGFGeraldo Pereira Rocha Filho
- Rodolfo I. MeneguetteRodolfo I. Meneguette
- João Paulo Abreu MaranhãoJoão Paulo Abreu Maranhão
- Ricardo Sant'ANaRSRicardo Sant'ANa
- Julio Cesar DuarteJDJulio Cesar Duarte
- André Luiz Marques SerranoASAndré Luiz Marques Serrano
- Vinícius P. GonçalvesVGVinícius P. Gonçalves
Open Access
- 27 January 2025
- journal article
- Published by Sociedade Brasileira de Computação in Journal of Internet Services and Applications
- Vol. 16 (1) , 87-104
Abstract
After detecting a malicious artifact, classifying malware into specific families becomes an essential step to understand the threat's behavior, implement mitigation strategies, and develop proactive defenses. This task is particularly challenging due to the diversity of malware formats, the rapid evolution of obfuscation and packing techniques, as well as the scarcity of labeled data for training robust models. Additionally, the high volume of samples generated daily demands solutions that combine high accuracy and computational efficiency. Although transformer-based models are widely recognized as the state-of-the-art for sequence processing tasks, their high computational demands limit their practical application in resource-constrained environments. In this work, we present FORTUNATE, a lightweight framework that leverages LSTM networks with one-hot encoding to classify malware based on variable-length opcode sequences. The framework adopts an optimized opcode extraction process focused on reducing redundancies and representing data in compact vectors, minimizing computational costs. Experimental results indicate that FORTUNATE achieves accuracies of 99.82% for active malware and 99.81% for inactive malware, with an average classification time of only 56 ms per sample, significantly outperforming related works. The obtained results demonstrate that lightweight artificial intelligence approaches can deliver competitive performance in malware classification, especially in scenarios with computational constraints. FORTUNATE not only fills an important gap in malware classification but also establishes a foundation for future research aimed at optimizing the balance between accuracy, efficiency, and scalability.Keywords
This publication has 36 references indexed in Scilit:
- Hardening behavioral classifiers against polymorphic malware: An ensemble approach based on minority reportInformation Sciences, 2024
- An Automatic Artificial Intelligence System for Malware Detection2023
- A natural language processing approach to Malware classificationJournal of Computer Virology and Hacking Techniques, 2023
- F-NIDS — A Network Intrusion Detection System based on federated learningComputer Networks, 2023
- New Approach to Malware Detection Using Optimized Convolutional Neural Network2022
- Malware classification with Word2Vec, HMM2Vec, BERT, and ELMoJournal of Computer Virology and Hacking Techniques, 2022
- Malware classification and composition analysis: A survey of recent developmentsJournal of Information Security and Applications, 2021
- Malware classification algorithm using advanced Word2vec-based Bi-LSTM for ground control stationsComputer Communications, 2020
- A feature-hybrid malware variants detection using CNN based opcode embedding and BPNN based API embeddingComputers & Security, 2019
- Learning representations by back-propagating errorsNature, 1986