From Binaries to Grayscale Pixels: A Deep Learning Approach to Unmask Ransomware Threats

Recently, we live in an interconnected, increasingly sophisticated, and ever more prevalent digital landscape, making the challenge of malicious code increasingly sophisticated and growing in prevalence. One type of malware called ransomware (which encrypts the victim’s data and demands a ransom payment for its decryption) requires advanced detection methods such as machine learning to combat it. Nevertheless, machine learning algorithms frequently encounter difficulty extracting meaningful patterns from high-dimensional data spaces, where each added feature exponentially increases the complexity of the search. This leads to sparse data distributions and increasing computational demands, making reliable feature selection and representation challenging. Consequently, models become prone to overfitting on noise and redundant variables, degrading their ability to generalize to new data. Therefore, this project adopts deep learning (Convolutional Neural Networks (CNNs)) to detect ransomware by transforming ransomware binaries into image data. CNN excels at handling high-dimensional data and capturing intricate patterns, making it suitable for tasks such as image and speech recognition. Our proposed CNN-based system achieves high accuracy, precision, recall, and F1 score, confirming its success in ransomware identification. We train our CNN over 20 epochs, which shows consistent improvements in loss and accuracy metrics, implying successful learning and generalization. The results of validation essentially match those of training; therefore, overfitting is small. For the classification of ransomware executable in binary image form, the suggested CNN achieves an accuracy of 99%, precision of 98.96%, recall of 98.96%, and F score of 98.9.

Authors

Publication Details

Journal
International Journal on Advanced Science Engineering and Information Technology
Published
2025-08-27
DOI
https://doi.org/10.18517/ijaseit.15.4.13056
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

From Binaries to Grayscale Pixels: A Deep Learning Approach to Unmask Ransomware Threats

Nur Ziadah Harun, Mohd Faizal Ab Razak, Ahmad Firdaus, Idham Syakir
International Journal on Advanced Science Engineering and Information Technology
Advanced Malware Detection Techniques
article

From Binaries to Grayscale Pixels: A Deep Learning Approach to Unmask Ransomware Threats

Nur Ziadah Harun, Mohd Faizal Ab Razak, Ahmad Firdaus, Idham Syakir
article en

Abstract

Recently, we live in an interconnected, increasingly sophisticated, and ever more prevalent digital landscape, making the challenge of malicious code increasingly sophisticated and growing in prevalence. One type of malware called ransomware (which encrypts the victim’s data and demands a ransom payment for its decryption) requires advanced detection methods such as machine learning to combat it. Nevertheless, machine learning algorithms frequently encounter difficulty extracting meaningful patterns from high-dimensional data spaces, where each added feature exponentially increases the complexity of the search. This leads to sparse data distributions and increasing computational demands, making reliable feature selection and representation challenging. Consequently, models become prone to overfitting on noise and redundant variables, degrading their ability to generalize to new data. Therefore, this project adopts deep learning (Convolutional Neural Networks (CNNs)) to detect ransomware by transforming ransomware binaries into image data. CNN excels at handling high-dimensional data and capturing intricate patterns, making it suitable for tasks such as image and speech recognition. Our proposed CNN-based system achieves high accuracy, precision, recall, and F1 score, confirming its success in ransomware identification. We train our CNN over 20 epochs, which shows consistent improvements in loss and accuracy metrics, implying successful learning and generalization. The results of validation essentially match those of training; therefore, overfitting is small. For the classification of ransomware executable in binary image form, the suggested CNN achieves an accuracy of 99%, precision of 98.96%, recall of 98.96%, and F score of 98.9.

International Journal on Advanced Science Engineering and Information TechnologyVol. 15(4)
Openalex Percentile: Top 71%
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.

From Binaries to Grayscale Pixels: A Deep Learning Approach to Unmask Ransomware Threats — Nur Ziadah Harun, Mohd Faizal Ab Razak, et al. · International Journal on Advanced Science Engineering and Information Technology (2025) | TGRS Research Map | TGRS