🤖 AI Summary
Existing malware clustering research suffers from three key limitations: (1) neglect of benign samples, (2) reliance on small, proprietary datasets, and (3) absence of systematic evaluation on comprehensive, publicly available benchmarks. Method: This work presents the first large-scale malware clustering study conducted on the full Bodmas and Ember benchmark datasets. It introduces benign samples to formulate a realistic mixed-cluster task and systematically evaluates prominent clustering algorithms—including K-Means, BIRCH, DBSCAN, and Hierarchical Agglomerative Clustering (HAC). Contribution/Results: Experiments show that K-Means and BIRCH significantly outperform alternatives; incorporating benign samples does not degrade clustering quality, confirming practical feasibility and robustness. Substantial performance variation across datasets necessitates redefining current best practices. This study establishes a reproducible, scalable benchmark framework and methodological guidance for unsupervised malware analysis.
📝 Abstract
Recent years have shown that malware attacks still happen with high frequency. Malware experts seek to categorize and classify incoming samples to confirm their trustworthiness or prove their maliciousness. One of the ways in which groups of malware samples can be identified is through malware clustering. Despite the efforts of the community, malware clustering which incorporates benign samples has been under-explored. Moreover, despite the availability of larger public benchmark malware datasets, malware clustering studies have avoided fully utilizing these datasets in their experiments, often resorting to small datasets with only a few families. Additionally, the current state-of-the-art solutions for malware clustering remain unclear. In our study, we evaluate malware clustering quality and establish the state-of-the-art on Bodmas and Ember - two large public benchmark malware datasets. Ours is the first study of malware clustering performed on whole malware benchmark datasets. Additionally, we extend the malware clustering task by incorporating benign samples. Our results indicate that incorporating benign samples does not significantly degrade clustering quality. We find that there are significant differences in the quality of the created clusters between Ember and Bodmas, as well as a private industry dataset. Contrary to popular opinion, our top clustering performers are K-Means and BIRCH, with DBSCAN and HAC falling behind.