Image analysis and fine-tuned ResNet50 model for effective malware detection

With the rapid growth of connected assets to the Internet, malware attacks have increased exponentially, often causing substantial damage to these connected assets. Early detection of evolving malware attacks can avoid such damage to the Internet ecosystem. However, it requires an efficient and robust approach with little reliance on existing signature-based approaches, as these are no longer effective in detecting obfuscated and complex malware attacks. This study presents a new malware detection and classification approach using image analysis and a fine-tuned ResNet50 convolution neural network (CNN) model through transfer learning. The raw binary executable programs are transformed into grayscale images and resized to 224 × 224 × 1 image size to be fed to the deep CNN model for feature extraction. The pre-trained ResNet50 model is customized to extract the textural features by retaining the learned weight and bias from the source ImageNet data and making the last fully connected layer non-trainable. After that, a fully connected dense layer is added for dimension reduction of the feature map into N × 128, with N as the number of malware files. Two public datasets are used in experiments - MalImg and Microsoft BIG. This study uses comprehensive performance metrics to evaluate the model and obtained an accuracy of 98.50% for the MalImg dataset and 94.85% for the Microsoft BIG data set. The experiment results show that the proposed methodology can handle malware obfuscated by standard polymorphic techniques and is better than similar methods in the literature.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.05.019
Citations
1
Primary Topic
Advanced Malware Detection Techniques
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Image analysis and fine-tuned ResNet50 model for effective malware detection

Sanjeev Kumar, Jitendra Kumar, Sunil Sapru, Yudhishthira Sapru
1 citations
Procedia Computer Science
Advanced Malware Detection Techniques
1.49
article

Image analysis and fine-tuned ResNet50 model for effective malware detection

Sanjeev Kumar, Jitendra Kumar, Sunil Sapru, Yudhishthira Sapru
article en
1 citations

Abstract

With the rapid growth of connected assets to the Internet, malware attacks have increased exponentially, often causing substantial damage to these connected assets. Early detection of evolving malware attacks can avoid such damage to the Internet ecosystem. However, it requires an efficient and robust approach with little reliance on existing signature-based approaches, as these are no longer effective in detecting obfuscated and complex malware attacks. This study presents a new malware detection and classification approach using image analysis and a fine-tuned ResNet50 convolution neural network (CNN) model through transfer learning. The raw binary executable programs are transformed into grayscale images and resized to 224 × 224 × 1 image size to be fed to the deep CNN model for feature extraction. The pre-trained ResNet50 model is customized to extract the textural features by retaining the learned weight and bias from the source ImageNet data and making the last fully connected layer non-trainable. After that, a fully connected dense layer is added for dimension reduction of the feature map into N × 128, with N as the number of malware files. Two public datasets are used in experiments - MalImg and Microsoft BIG. This study uses comprehensive performance metrics to evaluate the model and obtained an accuracy of 98.50% for the MalImg dataset and 94.85% for the Microsoft BIG data set. The experiment results show that the proposed methodology can handle malware obfuscated by standard polymorphic techniques and is better than similar methods in the literature.

Procedia Computer ScienceVol. 260
Centre for Development of Advanced Computing (IN), Panjab University (IN), Maulana Azad National Institute of Technology (IN)
Openalex Percentile: Top 19%
Advanced Malware Detection Techniques
1.49
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.