Malware Detection Using Frequency Domain-Based Image Visualization and Deep Learning

Tajuddin Manhar Mohammed, Lakshmanan Nataraj, Satish Chikkagoudar, Shivkumar Chandrasekaran, B. S. Manjunath
1/26/2021
cs.CRcs.CVcs.LG

Official code: Mayachitra-Inc/MaleX (57 stars, HTML, GPL-3.0, last commit 2026-02-17).

Abstract

We propose a novel method to detect and visualize malware through image classification. The executable binaries are represented as grayscale images obtained from the count of N-grams (N=2) of bytes in the Discrete Cosine Transform (DCT) domain and a neural network is trained for malware detection.

Show full abstract

A shallow neural network is trained for classification, and its accuracy is compared with deep-network architectures such as ResNet that are trained using transfer learning. Neither dis-assembly nor behavioral analysis of malware is required for these methods. Motivated by the visual similarity of these images for different malware families, we compare our deep neural network models with standard image features like GIST descriptors to evaluate the performance. A joint feature measure is proposed to combine different features using error analysis to get an accurate ensemble model for improved classification performance. A new dataset called MaleX which contains around 1 million malware and benign Windows executable samples is created for large-scale malware detection and classification experiments. Experimental results are quite promising with 96% binary classification accuracy on MaleX. The proposed model is also able to generalize well on larger unseen malware samples and the results compare favorably with state-of-the-art static analysis-based malware detection algorithms.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A curated dataset of malware and benign Windows executable samples for malware researchers

578HTML, Jupyter NotebookSep 22, 20209 months agoGPL-3.0
deep-learningimage-classificationmachine-learningmalware-detectionmalware-research

Similar Papers

Cite this paper

@article{mohammed2021malware,
  title  = {Malware Detection Using Frequency Domain-Based Image Visualization and Deep Learning},
  author = {Tajuddin Manhar Mohammed and Lakshmanan Nataraj and Satish Chikkagoudar and Shivkumar Chandrasekaran and B. S. Manjunath},
  year   = {2021},
  eprint = {2101.10578},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.10578}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.10578.svg)](https://codeofpaper.com/paper/2101.10578)

Discussion