Skip to main content
QUICK REVIEW

[Paper Review] Classifying Malware Images with Convolutional Neural Network Models

Ahmed Bensaoud, Nawaf Abudawaood|arXiv (Cornell University)|Oct 30, 2020
Advanced Malware Detection TechniquesComputer Science37 references50 citations
TL;DR

The paper compares six CNN-based models, including CNN-SVM variants, on malware images converted from PE binaries, showing Inception V3 achieving the highest test accuracy of 99.24%.

ABSTRACT

Due to increasing threats from malicious software (malware) in both number and complexity, researchers have developed approaches to automatic detection and classification of malware, instead of analyzing methods for malware files manually in a time-consuming effort. At the same time, malware authors have developed techniques to evade signature-based detection techniques used by antivirus companies. Most recently, deep learning is being used in malware classification to solve this issue. In this paper, we use several convolutional neural network (CNN) models for static malware classification. In particular, we use six deep learning models, three of which are past winners of the ImageNet Large-Scale Visual Recognition Challenge. The other three models are CNN-SVM, GRU-SVM and MLP-SVM, which enhance neural models with support vector machines (SVM). We perform experiments using the Malimg dataset, which has malware images that were converted from Portable Executable malware binaries. The dataset is divided into 25 malware families. Comparisons show that the Inception V3 model achieves a test accuracy of 99.24%, which is better than the accuracy of 98.52% achieved by the current state-of-the-art system called the M-CNN model.

Motivation & Objective

  • Motivate and evaluate deep learning approaches for static malware classification by converting binaries to grayscale images.
  • Assess performance of six CNN-based models, including CNN-SVM hybrids, on the Malimg dataset.
  • Identify architectures that yield the best accuracy for malware image classification.

Proposed method

  • Convert Portable Executable binaries to grayscale images via 8-bit vector mapping.
  • Train and evaluate six CNN-based models: VGG16, Inception V3, ResNet50, CNN-SVM, GRU-SVM, MLP-SVM.
  • Compare against prior state-of-the-art M-CNN and other baselines.

Experimental results

Research questions

  • RQ1Which CNN-based models best classify grayscale malware images into 25 families on the Malimg dataset?
  • RQ2Do CNN-SVM hybrids outperform standard CNNs on malware image classification?
  • RQ3How do RGB-friendly architectures (VGG16, ResNet50) perform on grayscale malware images?
  • RQ4How does Inception V3 compare to other top-performing ImageNet architectures in this domain?

Key findings

  • Inception V3 achieves the highest test accuracy of 99.24% on Malimg across six models.
  • CNN-SVM, GRU-SVM, and MLP-SVM show strong performance relative to pure CNNs, while VGG16 and ResNet50 underperform on grayscale malware images.
  • VGG16 and ResNet50 perform poorly due to input channel mismatch with grayscale images (RGB expectations).
  • The proposed six-model comparison places Inception V3 as state-of-the-art among grayscale malware image classifiers in this study.
  • Table 2 reports per-family accuracies, with most families above 90% for Inception V3 and several other models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.