Skip to main content
QUICK REVIEW

[Paper Review] Malware Classification using Deep Learning based Feature Extraction and Wrapper based Feature Selection Technique

Muhammad Furqan Rafique, Muhammad Ali|arXiv (Cornell University)|Oct 24, 2019
Advanced Malware Detection TechniquesComputer Science29 references23 citations
TL;DR

This paper proposes a deep learning-based malware classification framework that combines byte-level features from two Deep Convolutional Neural Networks (CNNs) and opcode features selected via a wrapper-based method using SVM. The hybrid feature space is fed into a Multilayer Perceptron, achieving a log-loss of 0.09 across ten runs, demonstrating superior performance in classifying nine malware families compared to baseline classifiers.

ABSTRACT

In the case of malware analysis, categorization of malicious files is an essential part after malware detection. Numerous static and dynamic techniques have been reported so far for categorizing malware. This research presents a deep learning-based malware detection (DLMD) technique based on static methods for classifying different malware families. The proposed DLMD technique uses both the byte and ASM files for feature engineering, thus classifying malware families. First, features are extracted from byte files using two different Deep Convolutional Neural Networks (CNN). After that, essential and discriminative opcode features are selected using a wrapper-based mechanism, where Support Vector Machine (SVM) is used as a classifier. The idea is to construct a hybrid feature space by combining the different feature spaces to overcome the shortcoming of particular feature space and thus, reduce the chances of missing a malware. Finally, the hybrid feature space is used to train a Multilayer Perceptron, which classifies all nine different malware families. Experimental results show that proposed DLMD technique achieves log-loss of 0.09 for ten independent runs. Moreover, the proposed DLMD technique's performance is compared against different classifiers and shows its effectiveness in categorizing malware. The relevant code and database can be found at https://github.com/cyberhunters/Malware-Detection-Using-Machine-Learning.

Motivation & Objective

  • To address the challenge of accurate malware family classification in static analysis by combining multiple feature representations.
  • To improve classification performance by integrating deep learning-based feature extraction with a wrapper-based feature selection technique.
  • To reduce false negatives by constructing a hybrid feature space from byte and assembly-level features.
  • To evaluate the effectiveness of the proposed method against traditional classifiers in malware family categorization.
  • To provide a reproducible framework with publicly available code and dataset for malware classification research.

Proposed method

  • Two separate Deep Convolutional Neural Networks (CNNs) are trained on raw byte files to extract discriminative low-level and high-level features.
  • Opcode sequences are extracted from ASM (assembly) files and processed to generate feature vectors for malware analysis.
  • A wrapper-based feature selection method is applied using SVM as the evaluation metric to select the most informative and discriminative opcode features.
  • The selected opcode features are combined with CNN-extracted byte-level features to form a hybrid feature space.
  • A Multilayer Perceptron (MLP) is trained on the hybrid feature space to classify nine distinct malware families.
  • The entire pipeline is evaluated over ten independent runs to ensure robustness and generalization.

Experimental results

Research questions

  • RQ1Can combining deep learning-based byte-level features with wrapper-optimized opcode features improve malware family classification accuracy?
  • RQ2How does the proposed hybrid feature space compare to using individual feature spaces (byte or opcode only) in terms of classification performance?
  • RQ3What is the impact of wrapper-based feature selection using SVM on the final classification performance of the malware classifier?
  • RQ4Does the proposed method achieve lower log-loss compared to traditional classifiers in malware family categorization?
  • RQ5Can the framework generalize across multiple runs and maintain consistent performance in classifying diverse malware families?

Key findings

  • The proposed Deep Learning-based Malware Detection (DLMD) technique achieves a log-loss of 0.09 across ten independent runs, indicating high model stability and performance.
  • The hybrid feature space, combining CNN-extracted byte features and wrapper-selected opcode features, significantly enhances classification accuracy over single-feature-space approaches.
  • The wrapper-based feature selection method effectively identifies the most discriminative opcode features, reducing noise and improving model generalization.
  • The Multilayer Perceptron trained on the hybrid feature space outperforms baseline classifiers in classifying nine distinct malware families.
  • The method demonstrates robustness and consistency, with low variance in performance across multiple training runs.
  • The source code and dataset are publicly available, enabling reproducibility and further research in malware classification.

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.