Transformer-based malware detection using process resource utilization metrics

Malware detection has long relied on signature-based methods limited in detecting zero-day malware attacks. Although efficient, these approaches are vulnerable to obfuscation and evasion techniques. To this end, dynamic approaches utilizing process resource-utilization metrics have emerged as promising alternatives. They solve the aforementioned issues, but require large datasets for training and struggle with false-positives and false-negatives. This study is the first to explore the application of Transformers for malware detection using process resource-utilization metrics, encoding input data as sequences of processes, with each process represented by its resource-utilization metrics (e.g., CPU, memory, and disk usage). We compare the proposed Transformer-based architecture with the leading LSTM model in terms of accuracy, precision, recall, F1-score and training time, focusing on performance across varying sample sizes and validate our results with rigorous statistical methodologies. Our findings demonstrate Transformers' ability to maintain high performance even with smaller datasets, thus excel in real-world scenarios of limited data availability, and scale effectively with larger datasets, offering lower false-positive and false-negative rates. We shed light on the models' decision-making processes, introducing the concept of dynamic malware signatures derived from resource-utilization metrics and identifying key features that prominently reflect malware activity. Additionally, we showcase that other tenant processes within the operating system act as indirect indicators of malware presence, providing valuable signals for detection even when the malware process itself is not directly observed. This work establishes Transformers as the state-of-the-art solution for malware detection using process resource-utilization metrics, offering improved accuracy, scalability, and robustness over existing methods. • Transformers outperform existing detection solutions using performance metrics • Transformers outperform SOTA on limited data and scale efficiently on larger datasets • Process status, memory, ionice, nice and network metrics are pivotal for detection • Malware manifestation on other OS tenant processes, the primary detection indicator

Authors

Institutions

Publication Details

Journal
Results in Engineering
Published
2025-02-06
DOI
https://doi.org/10.1016/j.rineng.2025.104250
Citations
8
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
11.88

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transformer-based malware detection using process resource utilization metrics

Andreas L. Symeonidis, Dimosthenis Natsos
8 citations
Results in Engineering
Advanced Malware Detection Techniques
11.88
article

Transformer-based malware detection using process resource utilization metrics

Andreas L. Symeonidis, Dimosthenis Natsos
article en
8 citations

Abstract

Malware detection has long relied on signature-based methods limited in detecting zero-day malware attacks. Although efficient, these approaches are vulnerable to obfuscation and evasion techniques. To this end, dynamic approaches utilizing process resource-utilization metrics have emerged as promising alternatives. They solve the aforementioned issues, but require large datasets for training and struggle with false-positives and false-negatives. This study is the first to explore the application of Transformers for malware detection using process resource-utilization metrics, encoding input data as sequences of processes, with each process represented by its resource-utilization metrics (e.g., CPU, memory, and disk usage). We compare the proposed Transformer-based architecture with the leading LSTM model in terms of accuracy, precision, recall, F1-score and training time, focusing on performance across varying sample sizes and validate our results with rigorous statistical methodologies. Our findings demonstrate Transformers' ability to maintain high performance even with smaller datasets, thus excel in real-world scenarios of limited data availability, and scale effectively with larger datasets, offering lower false-positive and false-negative rates. We shed light on the models' decision-making processes, introducing the concept of dynamic malware signatures derived from resource-utilization metrics and identifying key features that prominently reflect malware activity. Additionally, we showcase that other tenant processes within the operating system act as indirect indicators of malware presence, providing valuable signals for detection even when the malware process itself is not directly observed. This work establishes Transformers as the state-of-the-art solution for malware detection using process resource-utilization metrics, offering improved accuracy, scalability, and robustness over existing methods. • Transformers outperform existing detection solutions using performance metrics • Transformers outperform SOTA on limited data and scale efficiently on larger datasets • Process status, memory, ionice, nice and network metrics are pivotal for detection • Malware manifestation on other OS tenant processes, the primary detection indicator

Results in EngineeringVol. 25
Aristotle University of Thessaloniki (GR), Hellenic Agency for Local Development and Local Government (GR)
Aristotle University of Thessaloniki
Decent work and economic growth
Openalex Percentile: Top 1%
Advanced Malware Detection Techniques
11.88
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.