Skip to main content
QUICK REVIEW

[Paper Review] Grouping the executables to detect malware with high accuracy

Sanjay K. Sahay, Ashu Sharma|arXiv (Cornell University)|Jun 22, 2016
Advanced Malware Detection TechniquesComputer Science23 references5 citations
TL;DR

This paper proposes a high-accuracy malware detection approach using file size-based clustering to group executables into families, enabling effective detection of unknown or metamorphic malware variants. By applying optimal k-Means clustering on file sizes from three metamorphic malware kits, the method identifies stable size distributions, then trains classifiers (Random Forest, J48, LMT, FT, NBT) on selected features, achieving up to 99.11% detection accuracy.

ABSTRACT

The metamorphic malware variants with the same malicious behavior (family), can obfuscate themselves to look different from each other. This variation in structure leads to a huge signature database for traditional signature matching techniques to detect them. In order to effective and efficient detection of malware in large amounts of executables, we need to partition these files into groups which can identify their respective families. In addition, the grouping criteria should be chosen such a way that, it can also be applied to unknown files encounter on computers for classification. This paper discusses the study of malware and benign executables in groups to detect unknown malware with high accuracy. We studied sizes of malware generated by three popular second generation malware (metamorphic malware) creator kits viz. G2, PS-MPC and NGVCK, and observed that the size variation in any two generated malware from same kit is not much. Hence, we grouped the executables on the basis of malware sizes by using Optimal k-Means Clustering algorithm and used these obtained groups to select promising features for training (Random forest, J48, LMT, FT and NBT) classifiers to detect variants of malware or unknown malware. We find that detection of malware on the basis of their respected file sizes gives accuracy up to 99.11% from the classifiers.

Motivation & Objective

  • To address the challenge of detecting metamorphic malware variants that evade traditional signature-based methods due to structural obfuscation.
  • To reduce the need for large, ever-growing signature databases by grouping malware into families based on intrinsic characteristics.
  • To develop a scalable, efficient method applicable to unknown files by leveraging file size as a stable clustering criterion.
  • To improve detection accuracy for unknown malware by combining clustering with supervised learning on selected features.

Proposed method

  • Analyzing file size distributions of malware generated by three second-generation malware kits: G2, PS-MPC, and NGVCK.
  • Applying the optimal k-Means clustering algorithm to group executables based on file size, exploiting observed low size variation within the same malware family.
  • Selecting promising features from the clustered groups for training multiple classifiers: Random Forest, J48, LMT, FT, and NBT.
  • Evaluating the performance of each classifier on the grouped and feature-selected dataset to assess detection accuracy.
  • Using the clustering results as a foundation for identifying consistent patterns across metamorphic variants, even when code structure changes.

Experimental results

Research questions

  • RQ1Can file size serve as a reliable and stable feature for grouping metamorphic malware into families despite code obfuscation?
  • RQ2Does clustering executables by file size improve the accuracy of detecting unknown malware variants?
  • RQ3How effective are standard machine learning classifiers when trained on features selected from size-based clusters?
  • RQ4To what extent does the size-based grouping reduce the need for large signature databases in malware detection?

Key findings

  • The file size distribution of malware generated by the same kit (G2, PS-MPC, NGVCK) shows minimal variation, indicating size as a stable clustering feature.
  • The optimal k-Means clustering algorithm successfully grouped executables into coherent families based on size, enabling consistent feature selection.
  • Training classifiers on features derived from size-based clusters significantly improved detection performance.
  • The Random Forest classifier achieved the highest detection accuracy of 99.11% on unknown malware variants.
  • The method demonstrates high scalability and effectiveness for unknown malware detection without relying on signature databases.

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.