arrow
Return

Automatic linux malware detection using binary inspection and runtime opcode tracing☆

delete2025-12-01
delete0
PRE
AI
M
Martí Alonso
A
Andreu Gironés
J
Juan José Costa *
E
Enric Morancho
S
Stefano Di Carlo
R
Ramón Canal
DOI:10.1016/j.micpro.2025.105237delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
The fast-paced evolution of cyberattacks to digital infrastructures requires new protection mechanisms to counterattack them. Malware attacks, a type of cyberattacks ranging from viruses and worms to ransomware and spyware, have been traditionally detected using signature-based methods. But with new versions of malware, this approach is not good enough, and new machine learning tools look promising. In this paper we present two methods to detect Linux malware using machine learning models: (1) a dynamic approach, that tracks the application executed instructions (opcodes) while they are being executed; and (2) a static approach, that inspects the binary application files before execution. We evaluate (1) five machine learning models (Support Vector Machine, k-Nearest Neighbor, Naive Bayes, Decision Tree and Random Forest) and (2) a deep neural network using a Long Short-Term Memory architecture with word embedding. We show the methodology, the initial dataset preparation, the infrastructure used to obtain the traces of executed instructions, and the evaluation of the results for the different models used. The obtained results show that the dynamic approach with a Random Forest classifier gets a 90% accuracy or higher, while the static approach obtains a 98% accuracy.
Keywords:
Linux malware detection
Static analysis
Dynamic analysis
Opcodes
Machine learning

Journal

M
Microprocessors and Microsystems
IF:
2.6
Papers:
104
Citations:
3.2K

Organization

P
polytechnic university of turin
Scholars:
370
Papers: 132
Citations: 0
U
universitat politecnica de catalunya
Scholars:
404
Papers: 179
Citations: 0
Cited Papers

Cited Papers

errShare
errSave
A New Malware Classification Framework Based on Deep Learning Algorithms
err2021-01-01
err92
PREAI
errAslan, Omer; Yilmaz, Abdullah Asim
errShare
errSave
Long short-term memory-based Malware classification method for information security
err2019-07-01
err48
PREAI
errKang, Jungho; Jang, Sejun; Li, Shuyu; Jeong, Young-Sik; Sung, Yunsick
errShare
errSave
Opcode sequences as representation of executables for data-mining-based unknown malware detection
err2013-05-01
err0
PREAI
errIgor Santos; Felix Brezo; Xabier Ugarte-Pedrero; Pablo G. Bringas
errShare
errSave
errShare
errSave
no more