OMD: Orthogonal Malware Detection Using Audio, Image, and Static Features

Lakshmanan Nataraj, Tajuddin Manhar Mohammed, Tejaswi Nanjundaswamy, Satish Chikkagoudar, Shivkumar Chandrasekaran, B. S. ManjunatharXiv 2021

TL;DR

Researchers have developed a framework called Orthogonal Malware Detection (OMD) that treats malware binaries as audio signals to catch threats that traditional methods miss. By combining audio-based features with image and static analysis, the system creates "orthogonal" (independent) layers of defense, significantly increasing the difficulty for attackers to evade detection.

What Problem Does This Paper Address?

The cybersecurity landscape is an ongoing arms race. Traditional antivirus tools rely on signatures or specific behavioral patterns, but malware authors have become experts at evading these "battle fronts." Even modern machine learning (ML) approaches often rely on similar feature sets (like byte n-grams or code disassembly), meaning they might all share the same blind spots.

The authors address the need for orthogonality in defense. In this context, orthogonality means independence: if one detection method fails to identify a specific piece of malware, an orthogonal method should be able to catch it because it looks at the data through a completely different lens. The challenge is finding features that are both effective at classification and truly independent of existing methods.

Methods

The core innovation of this paper is the application of audio signal processing to raw binary data.

  1. Binary as Audio: The researchers treat a malware binary as a one-dimensional signal of 8-bit integers (byte values 0-255).
  2. Audio Descriptors: They extract features commonly used in speech recognition and music analysis, most notably Mel Frequency Cepstral Coefficients (MFCC). These features capture the "timbre" or spectral envelope of the binary signal. They also tested Chroma features (which relate to musical octaves) and Melspectrograms.
  3. Orthogonality Metric (JFS): The authors introduce the Joint Feature Score (JFS). This metric quantifies how independent two feature sets are by analyzing their error patterns. If Feature Set A correctly identifies the samples that Feature Set B misses (and vice versa), they are considered highly orthogonal (JFS close to 1).
  4. Comparison Features: To test orthogonality, they compared their audio features against:
  5. GIST Descriptors: Visual features derived from treating the binary as a grayscale image.
  6. N-grams: Frequency counts of byte sequences.
  7. Instruction Counts: Statistical counts of disassembled assembly instructions.
  8. pehash: A hash based on the structural properties of Portable Executable (PE) files.

Datasets

The study utilized three primary datasets:

  • Malimg: A standard research dataset containing 9,339 samples across 25 malware families.
  • Small Custom Dataset: A combination of Malimg samples and 7,228 benign system files from various Windows versions to test malware vs. benign classification.
  • MaleX: A large-scale dataset containing over 1 million samples (approx. 180k benign and 865k malicious) to test the framework's scalability.

Key Insights and Ideas

  • Audio is Compact and Robust: MFCC features are incredibly concise (often just 20 to 320 dimensions) compared to byte n-grams, which can reach over 65,000 dimensions. Despite this compactness, they maintain high accuracy.
  • Bypassing Anti-Disassembly: Many malware samples use "anti-disassembly" tricks to break static analysis tools. Because audio features work directly on the raw bytes, they are immune to these evasion tactics.
  • The Power of Diversity: The researchers found that while image-based (GIST) and audio-based (MFCC) features both perform well, they often fail on different samples. By combining them, they achieved a "fusion accuracy" of 99.98%, catching almost everything that individual methods missed.
  • Visualizing the "Sound" of Malware: The paper shows that malware families have distinct "spectrograms." Just as a human can distinguish a violin from a trumpet by its spectral signature, the ML model distinguishes an Alueron variant from a Mydoom variant.

Key Results

  • High Accuracy: On the Malimg dataset, MFCC features alone achieved a classification accuracy of 97-99% across various classifiers (k-NN, Random Forest, MLP).
  • Proven Orthogonality: The JFS scores between MFCC and other features like instrcount or pehash were high (often 0.85 to 1.0), confirming that audio provides a truly unique detection vector.
  • Scalability: The framework maintained strong performance on the 1-million-sample MaleX dataset, proving it can handle real-world, large-scale traffic.
  • Error Reduction: In one experiment, MFCCs correctly identified 43 malware samples that the image-based GIST method missed, and 1,374 samples that pehash missed.

Limitations and Future Work

  • Class Imbalance: The authors noted that the JFS metric is sensitive to class imbalance (when there are significantly more malicious samples than benign ones). They suggest using balanced subsets for the most accurate orthogonality testing.
  • Static vs. Dynamic: This paper focuses on static features (analyzing the file without running it). The authors acknowledge that the next step is integrating dynamic analysis (features gathered while the malware is actually executing) into the OMD framework.
  • Malware Informatics Engine: The long-term goal is to build a comprehensive engine that provides security analysts with insights from signal processing, computer vision, and traditional security metrics simultaneously.

Summary updated

BibTeX
@misc{nataraj2021omd,
  author = {Lakshmanan Nataraj and Tajuddin Manhar Mohammed and Tejaswi Nanjundaswamy and Satish Chikkagoudar and Shivkumar Chandrasekaran and B. S. Manjunath},
  title = {{OMD: Orthogonal Malware Detection Using Audio, Image, and Static Features}},
  year = {2021},
  eprint = {2111.04710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.04710},
}
Figure