Skip to main content
QUICK REVIEW

[Paper Review] Towards Building an Intelligent Anti-Malware System: A Deep Learning Approach using Support Vector Machine (SVM) for Malware Classification

Abien Fred Agarap|arXiv (Cornell University)|Dec 31, 2017
Advanced Malware Detection TechniquesComputer Science14 references73 citations
TL;DR

The paper evaluates DL-SVM models (CNN-SVM, GRU-SVM, MLP-SVM) on Malimg for multiclass malware family classification, with GRU-SVM achieving the highest test accuracy (~84.92%).

ABSTRACT

Effective and efficient mitigation of malware is a long-time endeavor in the information security community. The development of an anti-malware system that can counteract an unknown malware is a prolific activity that may benefit several sectors. We envision an intelligent anti-malware system that utilizes the power of deep learning (DL) models. Using such models would enable the detection of newly-released malware through mathematical generalization. That is, finding the relationship between a given malware $x$ and its corresponding malware family $y$, $f: x \mapsto y$. To accomplish this feat, we used the Malimg dataset (Nataraj et al., 2011) which consists of malware images that were processed from malware binaries, and then we trained the following DL models 1 to classify each malware family: CNN-SVM (Tang, 2013), GRU-SVM (Agarap, 2017), and MLP-SVM. Empirical evidence has shown that the GRU-SVM stands out among the DL models with a predictive accuracy of ~84.92%. This stands to reason for the mentioned model had the relatively most sophisticated architecture design among the presented models. The exploration of an even more optimal DL-SVM model is the next stage towards the engineering of an intelligent anti-malware system.

Motivation & Objective

  • Motivate the need for intelligent anti-malware systems that generalize to unseen malware variants.
  • Propose and compare DL-based models where SVM serves as the final classifier.
  • Evaluate models on the Malimg malware image dataset to assess scalability and generalization.
  • Provide guidance on architecture design to improve malware classification performance.

Proposed method

  • Represent malware binaries as grayscale images (32x32) and flatten to 1024 features after preprocessing.
  • Use linear L2-SVM as the final classifier for CNN, GRU, and MLP backbones via one-versus-all for multinomial classification.
  • Train models with Adam optimizer and standardization of features.
  • Evaluate models on 70/30 train/test split of the Malimg dataset.
  • Report metrics including accuracy, F1, precision, and recall per class.

Experimental results

Research questions

  • RQ1Can DL architectures with an SVM final layer effectively classify malware families from Malimg images?
  • RQ2Which DL backbone (CNN, GRU, MLP) paired with L2-SVM yields the best multiclass malware classification performance?
  • RQ3How do these models perform across malware families with varying variant counts?

Key findings

  • GRU-SVM achieved the highest test accuracy of approximately 84.92%.
  • CNN-SVM and MLP-SVM achieved 77.23% and 80.47% test accuracies respectively.
  • GRU-SVM showed precision 0.85, recall 0.85, F1 0.85 on test data.
  • CNN-SVM showed precision 0.84, recall 0.77, F1 0.79.
  • MLP-SVM showed precision 0.83, recall 0.80, F1 0.81.

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.