Explainable Ransomware Detection through Static Analysis and Machine Learning

Cybersecurity has recently become crucial in daily life routines due to several attacks performed by malicious users. Over the years, researchers and experts have proposed several solutions leveraging artificial intelligence to curb these problems. This research proposes a malware detector able to classify malware, ransomware, and trusted Windows executable files leveraging machine learning. As the first step, we created a dataset of approximately $\mathbf{1 5, 0 0 0}$ Portable Executable files from which we extracted opcodes and computed feature vectors like the frequency and the distribution of each opcode for each file taken under analysis. Once we concluded the dataset creation phase, multiple classifiers were trained and evaluated, with the Gradient Boosting achieving the highest accuracy of $\mathbf{0. 8 7 0}$. To ensure robustness, we performed 5-fold cross-validation. Moreover, we identified the best two models and applied explainability using Local Interpretable Model-Agnostic Explanations to understand better which features were most relevant for a specific classification. In conclusion, we also analyzed the most frequently used opcode classes to aid in their classification.

Authors

Institutions

Publication Details

Published
2025-08-04
DOI
https://doi.org/10.1109/csr64739.2025.11130044
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Explainable Ransomware Detection through Static Analysis and Machine Learning

Antonella Santone, Giovanni Ciaramella, Francesco Mercaldo, Fabio Martinelli
Advanced Malware Detection Techniques
article

Explainable Ransomware Detection through Static Analysis and Machine Learning

Antonella Santone, Giovanni Ciaramella, Francesco Mercaldo, Fabio Martinelli
article en

Abstract

Cybersecurity has recently become crucial in daily life routines due to several attacks performed by malicious users. Over the years, researchers and experts have proposed several solutions leveraging artificial intelligence to curb these problems. This research proposes a malware detector able to classify malware, ransomware, and trusted Windows executable files leveraging machine learning. As the first step, we created a dataset of approximately $\mathbf{1 5, 0 0 0}$ Portable Executable files from which we extracted opcodes and computed feature vectors like the frequency and the distribution of each opcode for each file taken under analysis. Once we concluded the dataset creation phase, multiple classifiers were trained and evaluated, with the Gradient Boosting achieving the highest accuracy of $\mathbf{0. 8 7 0}$. To ensure robustness, we performed 5-fold cross-validation. Moreover, we identified the best two models and applied explainability using Local Interpretable Model-Agnostic Explanations to understand better which features were most relevant for a specific classification. In conclusion, we also analyzed the most frequently used opcode classes to aid in their classification.

IMT School for Advanced Studies Lucca (IT), University of Molise (IT), Institute for High Performance Computing and Networking (IT), National Research Council (IT)
Ministry of Health, HORIZON EUROPE Health
Decent work and economic growth
Openalex Percentile: Top 73%
Advanced Malware Detection Techniques
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.

Explainable Ransomware Detection through Static Analysis and Machine Learning — Antonella Santone, Giovanni Ciaramella, et al. · (2025) | TGRS Research Map | TGRS