Comparative Analysis of Hash-based Malware Clustering via K-Means

Aink Acrie Soe Thein, Nikolaos Pitropakis, Pavlos Papadopoulos, Sam Grierson, Sana Ullah Jan
12/10/2025
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

With the adoption of multiple digital devices in everyday life, the cyber-attack surface has increased. Adversaries are continuously exploring new avenues to exploit them and deploy malware. On the other hand, detection approaches typically employ hashing-based algorithms such as SSDeep, TLSH, and IMPHash to capture structural and behavioural similarities among binaries. This work focuses on the analysis and evaluation of these techniques for clustering malware samples using the K-means algorithm. More specifically, we experimented with established malware families and traits and found that TLSH and IMPHash produce more distinct, semantically meaningful clusters, whereas SSDeep is more efficient for broader classification tasks. The findings of this work can guide the development of more robust threat-detection mechanisms and adaptive security mechanisms.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{thein2025comparative,
  title  = {Comparative Analysis of Hash-based Malware Clustering via K-Means},
  author = {Aink Acrie Soe Thein and Nikolaos Pitropakis and Pavlos Papadopoulos and Sam Grierson and Sana Ullah Jan},
  year   = {2025},
  eprint = {2512.09539},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.09539v1}
}

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/2512.09539.svg)](https://codeofpaper.com/paper/2512.09539)

Discussion