Manuscript Offprint
arXiv:2611.02380Malware Clustering in the Wild: Taxonomy, Challenges, and Evaluation Metrics
ARTICLE INFO
Keywords:
Malware clustering
Malware analysis
Malware classification
Clustering
Cybersecurity
ABSTRACT
As malware continues to grow in volume, diversity, and sophistication, clustering has emerged as a critical technique for analyzing large malware corpora. Clustering enables the discovery of structural relationships, behavioral patterns, and evolutionary trends, and is widely used to group unknown samples, infer malware family boundaries, and identify novel variants. However, existing research remains fragmented, employing a wide range of clustering techniques with no unified perspective that systematically organizes prior work or clearly identifies gaps in the literature. This survey addresses this gap by organizing previous malware clustering research into seven categories: centroid-based, hierarchical-based, density-based, distribution-based, mixed-type, fuzzy, and AI-driven approaches. In addition, this survey summarizes publicly available malware datasets commonly used in clustering research and examines the feature representations derived from these datasets. Our goal is to clarify the current landscape and outline promising avenues for future research on malware clustering, including how AI-driven methods may shape large-scale and reproducible analysis.
Despite its long-standing use in malware analysis research, relatively few studies systematically examine the breadth of clustering methodologies applied in this domain. Much is known about how malware families can be grouped using static features, dynamic features, or hybrid representations, but important questions remain unanswered: Are there areas of malware analysis in which the use of clustering has yet to be explored? Where do we still lack empirical evaluation, methodological rigor, or dataset diversity? As adversaries expand the scale and complexity of malware campaigns, understanding the strengths and limitations of existing clustering strategies becomes essential for both research and practice.
A second motivation for this survey is the lack of a unified view of the datasets used in malware clustering research. Although many studies rely on publicly available corpora, their use is inconsistent: some focus on small or outdated collections, others depend on restricted or private datasets, and very few consider the impact of temporal drift, label noise, or feature imbalance. Because clustering outcomes are deeply impacted by data distribution, diversity of families, and the richness of available features, these inconsistencies make it difficult to compare findings across studies or assess how well different methods generalize. By consolidating publicly documented malware datasets released after 2020, this survey provides an up-to-date overview of available data resources and highlights empirical gaps that limit reproducibility and large-scale evaluation.
This survey addresses these challenges by providing a structured overview of malware clustering research across seven methodological categories, spanning classical and AI-driven approaches. In addition, we summarize publicly
Corresponding author
nv25812@umbc.edu (R. S); ji18978@umbc.edu (B. Li); prajnab1@umbc.edu (P. Bhandary); nicholas@umbc.edu (C. Nicholas) ORCID(s):
Raguvir S et al.: Preprint submitted to Elsevier
Page 1 of 20 available datasets used in prior studies and discuss how current practices shape empirical evaluation. Together, these perspectives aim to clarify the current research landscape and to identify promising directions for advancing malware clustering in the face of evolving threats.
2. Related Work
Previous work has explored the applications of machine learning in malware analysis and the challenges it brings. Although these studies provide important foundations, clustering is often discussed as one component of a broader malware-analysis pipeline rather than as a research area requiring its own systematic synthesis.
This section reviews prior studies on malware detection and identification, focusing specifically on the application of clustering algorithms. First we discuss previous literature surveys that review the applications of machine learning to detect and identify malware, covering features, methodologies and datasets used. Following this, we explore the limitations observed in these studies and the state of this area of study.
We begin with surveys that cover machine learning for malware analysis broadly. Ucci et al. [89] provide a comprehensive collection of research topics in machine learning for malware analysis including detection, similarity analysis, category detection, feature extraction, supervised, unsupervised, and semi-supervised machine learning algorithms used for malware categorization. The study also identifies several challenges associated with applying machine learning to malware data. Ye et al. [98] discusses approaches to detecting and identifying similarities between malware, explaining how malware features, such as API calls, strings, opcodes, and control flow graphs are used in machine learning techniques. Although both surveys established a useful overview of the field, their broad scope limits its treatment of clustering-specific considerations, such as algorithm selection and cluster validation.
We now turn to work centered on clustering, Bayer et al. [13] extract fine-grained dynamic behavior as precise features and apply the combination of Jaccard similarity and locality-sensitive hashing for large-scale clustering. Compared to compression-based approaches, the framework significantly enhances scalability while maintaining high clustering quality. This work provides a comprehensive study of various features of malware, including system call features, network logs, and control flow graphs. The study further explores how these features can be used to create a behavioral profile of malware, which can in turn be used in clustering. Given the in depth discussion of malware features and clustering algorithms, this study provides much-needed groundwork for numerous future malware behavior-related studies. Amira et al. [5] introduced a survey on community detection in malware analysis. By constructing a similarity network of malware specimens based on feature similarity and applying community-detection algorithms, structurally clustered communities can be identified.
Taken together, these works provide a good baseline for understanding malware clustering, to our knowledge, there is no systematic review that comprehensively summarizes and distills the latest advancements in this field. On one hand, there is no comparative analysis of mainstream clustering methods for malware analysis. On the other hand, there is a lack of summaries regarding the applicability of different clustering methods across various malware analysis tasks. Moreover, guidelines for selecting clustering methods according to the characteristics of different malware features are also needed. Furthermore, currently available and representative malware datasets are often described and presented separately. This paper aims to provide a systematic synthesis of the fragmented information above, offering a structured reference for future malware analysis research and practical applications.
3. Characterization of survey papers based on Clustering Approaches
To organize the landscape of malware clustering research, we group existing work according to the underlying clustering paradigm. Although many studies differ in feature representation, evaluation strategy, or application domain, the core algorithms they employ fall into a small number of methodological families. Examining clustering techniques through these categories allows us to compare how each approach behaves under different data conditions, what assumptions it makes about malware structure, and where it has proven effective or limited. The following subsections outline these major clustering families, highlighting their principles, their use in malware analysis, and the unique challenges they introduce.
3.1. Centroid-Based Techniques
Centroid-based clustering has played a central role in malware clustering research due to its scalability and conceptual simplicity. Across the literature, however, we find that the K-means algorithm is used more often than
Raguvir S et al.: Preprint submitted to Elsevier
Page 2 of 20 any other clustering algorithm. Despite the availability of other centroid-based techniques (e.g., k-medoids, Fuzzy C-means, Mini batch K-means, K-Means++), most studies continue to rely on K-means or its close variants, as summarized in Table 1.
Basole and Stamp [12] examine 20,000 malware samples across 20 families from the Malicia corpus and study alignment between cluster structure and family labels, showing that centroid partitions can capture taxonomic structure when supported by sensible preprocessing and feature selection.
At larger scales, centroid-based clustering is increasingly used as a structural or organizational step rather than a standalone analytical tool. Jurečkov'a et al. [44] leverage hundreds of thousands of PE samples from the EMBER dataset, where clustering serves primarily as a preprocessing step within a larger hybrid pipeline that combines unsupervised grouping with supervised refinement. This approach reflects a broader trend toward using fast centroid-based methods to impose coarse structure on malware corpora before downstream learning or classification.
Across these studies, the dominant factor influencing clustering performance is not the specific centroid-based algorithm, but the geometry implied by the features and the corresponding distance metric:
-
High-dimensional sparse static features such as strings or n-grams benefit from cosine similarity or spherical K-means, or from careful normalization such as TF-IDF prior to Euclidean K-means, which mitigates length effects and improves cluster compactness [68].
-
Behavioral counts including registry, API, or event frequencies perform well with Euclidean K-means when counts are appropriately scaled using log transforms or TF-IDF weighting, often yielding larger gains than changing the clustering algorithm itself [76].
-
Dense or correlated numeric vectors use whitening or a Mahalanobis-based centroid criterion, or apply feature weighting/rescaling (as in [25, 28]) to reduce overlap and sharpen separation. (By Mahalanobis-based, we refer to use of a distance function that takes covariance into account, that is, how features vary together.)
-
Large-scale or streaming settings commonly employ mini-batch or online K-means to quantize structure, then feed cluster indices/centroids to maintain efficiency, with periodic monitoring using internal validity metrics such as Silhouette score [77] or Davies-Bouldin index to trigger re-centering or retraining when quality degrades [71, 44, 57].
Taken together, these studies indicate a shift away from naïve, standalone applications of K-means toward pipelines in which preprocessing choices and feature geometry play a central role. Across domains, clustering quality is shaped less by the algorithm itself than by how feature distributions are normalized, scaled, and embedded prior to centroid assignment.
Empirical evidence across the literature suggests several recurring pairings between feature types and centroid-based methods:
(i) normalize or rescale to match the feature distribution; (ii) choose a distance that respects sparsity or correlation; and (iii) integrate clusters with downstream learners at scale. At the same time, the literature still tilts heavily toward a single algorithm family. Broadening the toolkit, e.g., testing spherical K-means for lexical features, k-medoids when outliers are plentiful, Mahalanobis-based centroid clustering for correlated views, and online/incremental K-means under drift, would better align method choice with the statistical properties of malware data observed in practice.
Recent studies show another approach to centroid-based analysis using fuzzy clustering, which demonstrates an alternative approach to K-means.
3.1.1. Fuzzy clustering
Fuzzy clustering methods like Fuzzy C-means offer a way to cluster data into different groups without using hard set clusters. While following the idea of K-means, these algorithms use membership values, fuzzy clustering shows the probabilities of different data points being in different clusters. Fuzzy clustering has given good results for Android malware detection when used with LightGBM. For example, Alaeiyan et al. [3] shows how fuzzy clustering can be used in the context of malware with a multilabel relevance system.
Naik's work [61] demonstrates how fuzzy c-means can be used to track ransomware threat actors. This work shows a comparative study of K-means and Fuzzy C-means clustering, showing Fuzzy C-means performs slightly better.
The malware identification system described in [33] demonstrates how fuzzy clustering can be used to attribute malware payloads to various threat actors. Although fuzzy clustering methods have commonly been used to identify
Raguvir S et al.: Preprint submitted to Elsevier
Page 3 of 20
| Paper | Year | Feature | Dataset | Size | Model | Metrics |
|---|---|---|---|---|---|---|
| [12] | 2021 | Byte bigrams (Top-20, norm.) | Malicia (20 fam., balanced) | 20k | K-Means | ARI |
| [6] | 2021 | Engineered statics (67) | Drive-by-download | ~2k | K-Means++ (imwk-means) | Euclidean |
| [71] | 2021 | Static + dynamic (Cuckoo) | 18 fam. (imbal.) | not reported | BIRCH (online) | CF-tree radius |
| [95] | 2022 | Strings vs IAT | Windows ransomware | not reported | Similarity clustering | Jaccard |
| [59] | 2022 | Android statistics | Android malware (RT) | not reported | K-Means (auto-K) | not reported |
| [28] | 2022 | Android APK statics | Android apps | 10.7k | Mahalanobis clustering | Mahalanobis |
| [66] | 2022 | Android static and dynamic | Android malware | not reported | K-Means DBSCAN, Aggl. | not reported |
| [44] | 2024 | PE statics and stream scores | EMBER and unseen fam. | not reported | SOM (online) | Grid distance |
| [39] | 2024 | AV-label text (LSA/LDA) | VirusTotal | 429k | K-Means (viz) | Euclidean |
| [24] | 2024 | Manifest, API, and opcode | Android malware | not reported | K-Means, DBSCAN, and Spectral | not reported |
| [101] | 2024 | Multi-source artifacts | Analysis pipeline | not reported | Clustering engine | not reported |
| [10] | 2024 | CDR | Mobile network | not reported | K-Means (anomaly) | Euclidean |
| [58] | 2025 | Android temporal batches | KronoDroid | not reported | MiniBatch K-Means | Euclidean |
RT = real-time; fam. = families; imbal. = imbalanced; sel. = selected; Aggl. = agglomerative; viz = visualization
Table 1
Summary of centroid-based clustering approaches in malware analysis.
malware families and in certain cases even attribute the malware to a threat actor, little work seems to use fuzzy clustering to detect malware. Among the few examples we've seen, Taha [88] shows how a combination of fuzzy clustering and gradient boosting can be used to identify Android malware.
Together, these patterns highlight both the flexibility and the limitations of centroid-based clustering, underscoring the need for broader exploration of alternative centroid formulations that better align with the statistical properties of modern malware data. In particular, the reliance on fixed centroids and simple distance metrics motivates approaches that explicitly model data distributions and uncertainty. This shift gives rise to distribution-based clustering methods, which represent malware groups as probabilistic generative processes rather than geometric partitions.
3.2. Distribution-Based Clustering
Unlike centroid clustering methods, distributional clustering methods analyze malware features by modeling their underlying probability distributions. Specifically, these methods, also referred to as model-based clustering, assume
Raguvir S et al.: Preprint submitted to Elsevier
Page 4 of 20 that the observed data are generated from a mixture of latent probability distributions with distinct parameters. When the assumed component distributions fit the empirical characteristics of the data, such methods can produce stable and informative clusters. As shown in Table 2, Gaussian mixture models are the most widely used distributional clustering approach in malware analysis. Their popularity can be attributed to their ability to estimate component membership probabilities and model correlations among features, which is particularly useful for dynamic malware analysis, where behaviors reflected in system calls, network activities, and temporal event features are often interdependent. This suitability can be further explained by the following aspects:
GMM as a standard clustering baseline Model-based clustering methods make the theoretical assumption that data is composed of a mixture of several different distributions. In malware analysis, dataset authors usually provide contextual information such as collection processes, attributes, and labels. With this basic understanding of dataset attributes, researchers can more effectively set distribution assumptions, making model-based clustering a reasonable and commonly used baseline method.
As one of the most established and widely adopted clustering models, GMM is well-known for its ability to model complex distributions and identify anomalies. Consequently, it is frequently used as a baseline method, providing a basis for comparison and reference for novel models. In addition, GMM is widely applied across various research domains, with active developments in its improvements and integration with other algorithms. Therefore, using GMM as a baseline for malware analysis provides a wealth of references for further improvement strategies and method selection.
Smith et al. [84] evaluated the performance of three representative clustering models and seven supervised learning models on malware datasets. The results showed that even in a low-correlation dataset, clustering models such as GMM were still able to produce stable results, and therefore can be used as one of the baseline clustering methods in malware analysis.
While evaluating eight baseline/state-of-the-art clustering methods on seven cross-domain datasets (covering different feature dimensions and sample sizes), Abrar et al. [1] found that GMM, as a classic clustering model, ranked second among the eight models in terms of accuracy in the malware dataset; it also ranked second in overall performance across all seven datasets, demonstrating both accuracy and robustness.
Considering the effectiveness of GMM, Hou et al. [37] adopt a variant of GMM, which they refer to as AE-VBGMM, to cluster reduced-dimensional IoT traffic data for anomaly detection. Their experimental results show that their model outperforms other clustering models in four evaluation metrics.
Sometimes GMM is used as a standard model and soft clustering tool to segment complex data; each cluster is then processed with a matched detector and threshold. In anomaly traffic monitoring, this 'Segmentation based on clustering(GMM) + threshold, then classify' strategy can improve the performance of the resulting classifier [81].
Efficiency of GMM on Dynamic Malware Features In dynamic malware analysis, consecutive activity records are often key indicators for identifying malicious behavior. For example, a series of operations, such as checking system information and then obtaining user permissions, typically indicates an attempt to elevate privileges. For such paired or consecutive features, classic clustering methods like K-means might assign independent and equal weights to each feature; however, GMM directly estimates the probability density of each parameter and explicitly models the covariance between features, thereby achieving better performance [40]. Due to its ability to characterize relationships between features, GMM demonstrates strong clustering performance in malware dynamic analysis, particularly for dynamic features such as network traffic and time-stamped logs, as we are about to describe.
In the detection of DDoS attacks, the open set recognition problem [14, 79] refers to the difficulty that arises when a model fails to classify new instances that are not from the distribution of its training set. Shiel et al. [83] introduced a GMM model for anomaly detection, identified these new instances, and added these anomalies to the training set after being manually labeled. By applying GMM to effectively filter new instances, their method significantly improved the recall rate for the CIC-IDS2017 dataset (unknown attacks) [20] from 41.2% to 99.8%.
Log data or network traffic data that records specific times and activities can be regarded as behavior data, which is also suitable for GMM models. Paul et al. [70] collected user Internet logs and employed three different unsupervised models for anomaly detection, thereby avoiding malicious attacks. Even under different encoding and scaling methods, GMMs tend to have the fewest false positives. Chapaneri et al. [23] conduct experiments on the CIC-IDS2017 network traffic dataset [82] to detect benign and malicious traffic and further detect the type of attacks. They train multiple GMMs for each type of attack and combine them to get a comprehensive detection model, which outperforms other
Raguvir S et al.: Preprint submitted to Elsevier
Page 5 of 20
| Paper | Year | Feature | Dataset | Size | Model | Metrics |
|---|---|---|---|---|---|---|
| [83] | 2021 | Encoded network traffic features | CIC-IDS2017, FCIC-DDoS19 | 1.08M | GMM | Confusion matrix, Ac, Pr, Re, and F1 |
| [23] | 2021 | Log-transformed network traffic features | CIC-IDS2017 | 1.08M | GMM | Pr, Re, and F1 |
| [37] | 2022 | 3D vectors compressed by autoencoders | IoT Network Intrusion Dataset | 2.99M | VBGMM, Kmeans, GMM | Purity, Rand Index, F-score, and ARI |
| [7] | 2022 | Integrated features from multi autoencoders | KDDcup99, CICMalDroid20, AWID2018 | 15K, 80K, 60K | GMM | F1 |
| [1] | 2023 | Permission and API based features | TUNADROMD and others | 4465 | GMM, Kmeans, others | Ac |
| [84] | 2023 | Vectors of malware static memory features | CICMalMem22 Malware-Exploratory | 58K 216K | GMM Kmeans DBSCAN | Consistency across clustering graphs |
ARI = Adjusted Rand Index, AMII = Adjusted Mutual Information Index, FMI = Fowlkes-Mallows Index, Ac = Accuracy, Pr = Precision, Re = Recall, Agglo = agglomerative clustering, BGMM = Bayesian Gaussian Mixture Models, VBGMM(AE-VBGMM) = Bayesian Gaussian Mixture Model for Autoencoder, DBSCAN = Density-based spatial clustering of applications with noise
Table 2
A Brief Summary of Distribution-based Clustering
classification models in terms of F1 score. In malicious attack detection, network traffic usually contains different domains, which have different sizes and do not follow a homogeneous distribution. An et al. [7] integrated multiple deep autoencoders to extract features from multiple dimensions and then applied a GMM model to identify anomalies. With GMM's advantages in modeling complex distributions and identifying anomalies, this method achieved significantly better performance (in terms of F1 scores) in three datasets, including KDD Cup99 [90].
In conclusion, GMM can serve not only as a standard baseline for clustering but also as an effective approach for modeling correlations among features. By modeling feature covariances, GMM is particularly suitable for dynamic analysis tasks, including network traffic analysis, system log analysis, and behavioral sequence modeling.
3.3. Density-Based Techniques
Although many distribution-based clustering methods, such as GMM, are effective for modeling correlated features and dynamic behaviors, they rely on explicit assumptions about the underlying data distribution. In malware datasets where cluster shapes are irregular, densities vary, or noise is prevalent, it turns out that density-based clustering methods provide a useful alternative.
Density-based clustering algorithms (DBCLAs) determine clusters by examining the spatial density of data points; objects in sparse areas are typically treated as noise or border points [48]. This principle grants DBCLAs advantages over other clustering methods, making them well-suited for malware analysis.
DBCLAs Handle Arbitrary Cluster Geometry In malware analysis, distribution patterns and clustering shapes are often influenced by technological evolution, policies, economics, and other factors that don't follow globular shapes. Partitional methods, such as K-means, struggle to recognize non-globular shapes, whereas DBCLAs can detect clusters of arbitrary shapes, varying densities, and scales [17]. Therefore, clustering methods that don't rely on cluster shapes can better capture the non-globular and variable-density structure of malware distribution.
In density-based clustering, whether a point is in the "neighborhood" of other points determines whether that point is considered part of a cluster or considered an outlier, not part of any cluster. This neighborhood is defined in terms of its radius, a parameter usually called ε. Duaa et al. [60] introduce the Grey Wolf Optimizer (GWO) which adjusts the
Raguvir S et al.: Preprint submitted to Elsevier
Page 6 of 20 value of automatically. Compared to the well-known DBSCAN [29] algorithm, with manually set parameters, this approach significantly improves botnet detection accuracy on the N_balot IoT dataset [56], increasing accuracy from 80% to 98%.
Abdullah et al. [41] are among the first researchers to explore the feasibility of HDBSCAN in malware analysis. They performed a dynamic analysis of malware in the Cuckoo sandbox, extracting both spatial and temporal features. Then, they use Jaccard distance to measure similarity between specimens and further utilize HDBSCAN for clustering. Although they didn't provide any experimental results, their study highlighted the potential value of applying HDBSCAN for malware behavior features.
Inspired by the notion of “incorporating samples below a threshold and merging clusters,” Dam et al. [26] proposed a custom, threshold-driven clustering algorithm for system call dependency graphs. They applied LSTM autoencoders [85] to encode system call dependency graphs and compared their clustering method with classic Ward’s Method agglomerative clustering [87], OPTICS [8], and DBSCAN. Their approach achieves better performance in terms of metrics including Silhouette scores(SI), Adjusted Rand Index(ARI) [38], Fowlkes-Mallows Index (FMI) [30], and V-measure [75].
Recent studies have further integrated density-based clustering with hierarchical clustering, demonstrating its effectiveness for large-scale malware analysis. As malware corpora grew, hierarchical clustering was increasingly applied at scale. Bhandary et al. [15] applied the HDBSCAN algorithm with a custom distance metric to over 600,000 ransomware samples, clustering them based on Windows API imports and PE metadata. This was one of the first attempts to generate family-level signatures automatically at such scale. By focusing on API function imports, they produced function-level signatures resilient to polymorphic obfuscation, achieving high precision and specificity. This work demonstrated how hierarchical density-based clustering could form the basis for automated, large-scale ransomware detection pipelines.
Evolution-Aware Clustering DBSCAN uses to define the radius of a specimen’s neighborhood and to specify the minimum number of points threshold for a high-density region. A specimen can be regarded as a core point if it has at least neighbors within its -neighborhood. This algorithm uses core points as seeds, merges neighboring samples into the same cluster, and recursively expands the newly incorporated core points until no further expansion is possible.
This seed-based expansion mechanism can be conceptually analogized to malware evolution. Attackers often reuse code from representative malware specimens and modify their functionality to generate numerous variants and new representative specimens [19]. In a code-reuse feature space, such reuse can induce locally dense clusters and may form new reuse centers(representative malware specimens).
As shown in Fig. 1, DBSCAN [29] starts from and continuously expands to through density-based relationships and gradually incorporates closely related samples into the same cluster. In this way, DBSCAN not only captures the density structure within malware clusters but also helps identify family labels and support lineage-related analysis.
Due to these similar mechanisms between density-based clustering and malware code reuse. Liu et al. [53] find that shared nearest neighbor, a density-based clustering model, is helpful to detect new malware. They extract opcodes, grayscale images, and import functions from 21740 Windows malware samples and perform malware family classification using a weighted-voting ensemble of classifiers. Then, for specimens without a clear family label, 86.7% of new malware was identified by this density-based clustering model, according to an expert review.
DBCLA also proves highly effective in evaluating lineage analysis tasks concerning malware development and evolution [52]. In this paper, the authors remove template functions, then apply DBSCAN and OPTICS to cluster the representative functional code of each family. Based on the selected family core function group, they further infer the lineage of malware families [52].
Limitation: Applicability Challenges Density-based clustering methods have certain limitations in their application scenarios, but with improvements, they can still effectively cluster various malware features. Padmavathi et al. [67] explore the performance of different unsupervised models in Android malware detection. They apply Principal Components Analysis (PCA) [55] to reduce the dimensionality of 470 features in the CICMalDroid2020 dataset, then evaluate different clustering methods, including K-means, KNN, DBSCAN, OPTICS [8], hierarchical, and spectral clustering. In this paper, density-based clustering methods, DBSCAN and OPTICS, were found to fail in forming the defined clusters. To our knowledge, no existing research has systematically discussed the conditions under which
Raguvir S et al.: Preprint submitted to Elsevier
Page 7 of 20

Figure 1: The cluster expansion process of DBSCAN aligns closely with the evolution pattern of malware, as malicious samples often generate numerous variants through code reuse.
DBCLAs become unsuitable for malware clustering analysis. Similarly, Bak et al.'s research [11] indicates that the classic OPTICS algorithm fails to effectively cluster filtered fuzzy hash features, leaving up to 68% of the dataset unclassified. The reason could be the prevalence of singletons in malware datasets. These singleton samples exhibit low similarity among other malware samples. In traditional density-based clustering algorithms, such as DBSCAN or OPTICS, singletons are often misclassified as "noise" because they fail to meet the minimum density requirements (e.g., minPts). However, in malware analysis, these singleton samples may hold significant analytical value. These singletons may, perhaps, represent unidentified variants or even belong to entirely new malware families. Table 3 provides a summary of all the works discussed in this section along with the features and datasets used.
3.4. Hierarchical Clustering
In contrast to density-based methods that emphasize local structure and noise robustness, hierarchical clustering approaches focus on organizing malware samples into multi-level relationships that capture lineage, similarity, and evolution.
Hierarchical clustering methods have become increasingly prominent in malware analysis due to their ability to organize samples at multiple levels of granularity. Unlike flat clustering approaches, hierarchical methods produce nested structures that capture relationships between malware samples, families, and variants, enabling both exploratory analysis and operational use. This makes them particularly well suited for understanding malware evolution, generating interpretable signatures, and supporting detection in dynamic and large-scale environments.
In recent years, hierarchical clustering in this area used dendrograms to visualize family structures and evolutionary relationships. For example, [62] combined stacking classifiers with dendrogram visualization to build a robust malware classification system. Their approach grouped malware samples according to ancestral relationships, helping analysts track variant evolution while enhancing classification accuracy. This line of work highlighted how hierarchical clustering could complement classification by offering both precision and interpretability.
Scalability concerns have also driven research into efficient similarity approximations for hierarchical clustering. S. et al. [78] evaluated hierarchical clustering over opcode n-gram representations derived from the SOREL-20M corpus,
Raguvir S et al.: Preprint submitted to Elsevier
Page 8 of 20
| Paper | Year | Feature | Dataset | Size | Model | Metrics |
|---|---|---|---|---|---|---|
| [11] | 2020 | TLSH hash | an IoT dataset | 12993 | k-medoidOPTICSupdated OPTICS | Purity |
| [26] | 2021 | FastText and LSTM encoded SCDGs | ProposedWin PE dataset | 6615 | Proposed modelDBSCAN, OPTICSWard Agglo [87] | SI, ARIFMIV-measure |
| [67] | 2022 | Static information behavior network traffic | MalDroid2020 [22] | 11598 | KMeans, KNNAGNES, DIANA [46]DBSCAN, OPTICSSpectral [91] | RI, MIBSFMS, SCCH |
| [60] | 2023 | IoT network traffic | N-BaloT [56] | 7M | DBSCAN-GWO | Ac, Pr, Re, DR |
| [52] | 2023 | Enhanced ACFG | BODMAS [96] | 57K | DBSCAN, KNNOPTICS | Ac, CoverageMacro PrMacro Re |
Ac = Accuracy, Pr = Precision, Re = Recall, SCDG = System Call Dependency Graphs, SI = Silhouette score, ARI = Adjusted Rand Index, FMI = Fowlkes-Mallows Index, ACFG = Attribute Control Flow Graph, SNN = Shared Nearest Neighbor, MIBS = Mutual Information Based Score, RI = Rand Index, FMS = Fowlkes-Mallows Score, SC = Silhouette Coefficient, CH = Calinski-Harabasz Index
Table 3 A Brief Summary of Density-based Clustering
comparing Jaccard, MinHash, and SuperMinHash distances. Their results demonstrated that hierarchical methods can remain effective on large malware datasets when paired with appropriate similarity approximations, balancing clustering fidelity and computational cost.
Beyond static analysis, hierarchical concepts have been extended into behavioral and profiling frameworks. Ovayan et al. [65] proposed Hierarchical Threat Signal Profiling (HTSP), which models ransomware behavior across multiple runtime layers, including system activity, encryption behavior, and network anomalies. Rather than clustering binaries directly, HTSP uses hierarchical structure to support adaptive, real-time detection. This reflected a shift toward autonomous profiling, where clustering provides the structural backbone for adaptive detection.
Opcode analysis has similarly benefited from hierarchical organization. Gu et al.[31] developed a hierarchical K-nearest neighbors approach for ransomware detection, combining hierarchical structure with instance-based classification on opcode sequences. Their model improved detection accuracy and robustness, particularly for noisy or high-dimensional opcode data. Ko et al. (2025)[47] further demonstrated that hierarchical clustering can serve as an effective preprocessing step by structuring opcode n-gram features before applying convolutional neural networks. These approaches show how hierarchical clustering is increasingly used not only as an end goal for family grouping but also as a bridge into feature engineering for advanced ML pipelines.
Recent work has also explored behavioral entropy-based frameworks that push the hierarchical idea even further. Aqazi et al.[9] proposed Hierarchical Behavioral Entropy Mapping (HBEM), which aggregated entropy deviations across files, memory, and network behaviors into a hierarchical decision framework. Similarly, Kurov et al.[50] used hierarchical anomaly-based encryption analysis, designed to distinguish malicious from legitimate encryption processes with high precision. Both approaches highlight how hierarchical decomposition of system behaviors enables detection that is resilient to obfuscation, polymorphism, and mimicry, while maintaining scalability for real-time environments.
Taken together, these studies, as summarized in Table 4, illustrate a thread of interest in hierarchical clustering in malware research. Initially used for visualization and family grouping, hierarchical methods have progressed toward large-scale static clustering and are now embedded within dynamic and hybrid profiling frameworks. This progression reflects a broader shift from purely exploratory analysis toward adaptive, interpretable, and operationally scalable malware detection systems.
In practical terms, hierarchical methods enrich malware defense in two ways. First, they improve explainability: dendrograms, entropy maps, and hierarchical profiles give cybersecurity professionals interpretable insights into how
Raguvir S et al.: Preprint submitted to Elsevier
Page 9 of 20
| Paper | Year | Feature | Dataset | Size | Model | Metrics |
|---|---|---|---|---|---|---|
| [62] | 2024 | 56 features Static | CIC-MalMem-2022 | 58,596X 56 | LR+SVM+KNN+NB | Ac, FPR, and DR |
| [15] | 2024 | DLL imports and PE features | A subset of SOREL-20M | 1.1M | HDBSCAN | PPV, TPR, TNR, FPR, FNR, NPV |
| [78] | 2025 | Dissemble Opcodes | A subset of SOREL-20M private | 159 | GMM, Kmeans Agglo | ARI, AMII, and FMI |
| [65] | 2024 | runtime signals, network traffic, encryption behaviors | -(random) | n/r | HTSP | Ac, precision, recall, F1-score |
| [31] | 2024 | Opcodes | KISA | 284 | hierarchical-KNN | Ac, precision, recall |
| [47] | 2025 | Opcodes | -(random) | 159 | CNN | Ac, precision, recall, F1-score |
| [9] | 2024 | entropy | -(random) | n/r | HBEM | acc, precision, recall, FPR |
| [50] | 2024 | encryption | -(random) | 1 M | GMM, Kmeans, Agglo | Ac, FPR, FNR, processing speed |
Ac = Accuracy, Pr = Precision, Re = Recall, FPR = False Positive Rate, FNR = False Negative Rate, HDBSCAN = Hierarchical Density-based spatial clustering of applications with noise n/r = not reported
Table 4 A Brief Summary of Hierarchical-based Clustering
malware samples are related, making detection decisions more transparent. Second, they support adaptability: as malware families fragment, rebrand, or evolve, hierarchical models can incorporate new behaviors while preserving lineage information, aiding both research and operational response. This positions hierarchical clustering as not just a classification tool but a mechanism for tracking evolution, guiding signature generation, and enabling hybrid integration with deep learning or distributed frameworks.
Although hierarchical clustering has proven effective for organizing malware into interpretable family structures and modeling evolutionary relationships, many modern malware datasets do not conform to a single homogeneous feature space. In practice, malware samples are often described by a mixture of static, dynamic, behavioral, textual, and network-derived features, each with different statistical properties and scales. This heterogeneity limits the applicability of clustering methods that assume uniform feature representations. As a result, recent research has increasingly explored mixed-type clustering approaches, which are explicitly designed to handle heterogeneous feature spaces and integrate multiple views of malware behavior within a unified clustering framework
3.5. Mixed clustering methods
Although different clustering algorithms have helped malware analysts answer different questions about a given collection of malware, there has also been a growing interest in the community for implementations of combinations of clustering algorithms, sometimes with other clustering algorithms and in some situations with other machine learning algorithms. Clustering Ensembles, as these approaches are called, usually have two or more algorithms that work in tandem to address certain challenges that no single algorithm can handle. For example, Maazalahi et al. [54] propose the use of Genetic Algorithms (GA) along with K-means clustering to detect malware. To be specific, their method uses GA to find an initial set of cluster centers for the K-means algorithm to start with. This method of using another algorithm before clustering was found to improve the accuracy of malware identification and detection as shown by Taha et al. [88] where they demonstrate the use fuzzy clustering along with LightGBM.
Unsupervised machine learning algorithms commonly used for clustering ensembles include hierarchical clustering, K-means, and K-mediods. There is a growing interest in methods that are combinations of hierarchical, K-means, and K-mediods, either with each other or with other machine learning methods [99], [34], [4] [31]. Dener's work [27] proposes a model that predicts malware by using K-means clusters and classifiers. The authors classify each cluster with different classification models for better prediction, with the results from each classification method compared with other results based on their accuracy and F1 scores. This combination is able to provide better predictions than clustering or classifications separately.
Raguvir S et al.: Preprint submitted to Elsevier
Page 10 of 20
| Paper | Year | Feature | Dataset | Size | Model | Metrics |
|---|---|---|---|---|---|---|
| [34] | 2009 | Not specified | Kingsoft AVLab | 3198 samples (3 datasets) | Hierarchical K-means | F1 score |
| [99] | 2010 | Function based instruction | Kingsoft AVLab | No Infor. | Hierarchical K-mediods | F1 score |
| [4] | 2020 | Not specified | VirusTotal | No Infor. | K-Means Hierarchical | Purity score |
| [94] | 2021 | Static features | CICAndMal2017 | 7067 | New model | AUC, Pr, Re, and F1 |
| [88] | 2021 | App permissions | Drebin | 129,000 | Fuzzy clustering LightGBM | Pr, Re |
| [27] | 2023 | Not specified | Kaggle EMBER2018 BODMAS | 216k 134k 1M | K-Means multi classifiers | Ac F1 score |
| [54] | 2024 | Not specified | CICMaldroid2020, Andro-Autopsy | No Infor. | Genetic algo. K-means | Pr, Re, and F-measure |
| [31] | 2024 | Not specified | No Infor. | No Infor. | Hierarchical, KNN |
Ac = Accuracy, Pr = Precision, Re = Recall,
Table 5
A Brief Summary of Mixed Clustering
Bhattarai et al. [18] shows an implementation with hierarchical and fuzzy clustering with a malware dataset, demonstrating how this combination can be used to improve on document classification and reducing hallucinations in LLM outputs.
We note that many if not most the works discussed in this section used datasets made up of Android malware. This could be due to clustering ensembles performing better with Android malware and questions could be asked about why other malware types don't seem to perform as well with these methods. A brief overview of this has been provided in Table 5.
There are also methods where authors have used clustering algorithms with deep learning techniques. This is discussed in the following section.
3.6. AI and Deep Learning based Clustering
In recent years, AI- and DL-based methods, especially LLMs, have been widely used to optimize and assist clustering. However, malware analysis research that combines LLMs and clustering methods remains limited. Wolsey's survey [93] provides a comprehensive analysis of AI-based malware detection techniques. Those authors also highlight the use of AI to create malware, which reduces the time a malware author spends creating a new malware specimen and, similarly, how AI-based methods can be used to detect and identify malware.
Rezaeu et al. [74] show how clustering can be incorporated with deep learning techniques to get better results for the detection of malware. Ng's work [63] proposes a deep learning ensemble for malware detection that uses clustering on a static dataset. At the time of its publication, this was among the earliest works to show that this approach was both practical and effective.
It has been observed that machine learning methods, such as Deep Neural Networks, show potential for improving malware detection when combined with clustering methods. Rathore et al. [73] present a comparison of the performance of classical machine learning methods and DNNs integrated with clustering for detecting Android malware. While their findings show that DNN and Autoencoder don't perform as well as expected, there is potential to improve these methods with additional resources as they become available. Similar work is presented by Patil et al [69].
3.6.1. The use of LLMs in clustering
Recent advancements in Large Language Models (LLMs) have enabled their use in clustering and, more broadly, in malware generation and analysis. Al Karaki's survey [2] provides an in-depth study of the rising popularity of LLMs
Raguvir S et al.: Preprint submitted to Elsevier
Page 11 of 20 for malware detection over the last few years and describes the growing interest in using LLMs to analyze malware. For example, the MACE framework [101] tests control flow graphs and strings and clusters them using DBSCAN, GMM and Hierarchical clustering. The features are embedded using BERT and two other models. Results show that the framework can achieve over 97% accuracy with most clustering algorithms. BERTDetect [72], an approach that uses topic modeling based on Latent Dirichlet Allocation (LDA) and K-means, as well as ChatGPT embedded with K-means, to detect Android malware based on their text description and API calls. They present evidence that BERTopic performs better than LLM-based GPT embeddings. To our knowledge, the use of LLMs for malware clustering is an emerging field. There are numerous questions that could be answered and addressed with LLMs. One such problem is identifying malware families based on their assembly instructions. This knowledge could also be used to establish better guardrails for LLMs to prevent the generation of malicious code.
Oak's [64] work models the dynamic behavior data of Android applications as low-level natural language and employs BERT and LSTM for malware classification. In an extremely imbalanced dataset, the BERT model achieves outstanding performance. This work introduces a method that uses language models to describe malware features and proves the effectiveness of natural language models for malware analysis.
MalAware applies five large language models to convert Cuckoo Sandbox reports into human-readable summaries of malicious behavior, while evaluating the consistency between these generated summaries and manually authored reference descriptions (ground truth) [80]. Although the authors didn't propose a large model-based clustering method, clustering can still be combined with LLMs, for example, to further classify and categorize behavior summaries generated by large models.
4. Malware Datasets and Features
This section reviews publicly available malware datasets commonly used in clustering-based malware analysis and discusses the types of features derived from these datasets. Our survey of clustering-related literature indicates that a number of datasets are available for public research use. These datasets typically consist of curated and documented collections of benign and malicious binaries, often accompanied by metadata such as PE headers, family labels, system calls, and other static or dynamic attributes.
Table 6 lists representative malware corpora that have been published or actively used in research since 2021. Despite the availability of public datasets, our review shows that many studies continue to rely on custom-collected malware samples tailored to specific experiments, or on datasets maintained by private organizations. Although this practice allows authors to carefully select samples aligned with their research objectives, it also limits reproducibility and cross-study comparison.
An additional trend observed in recent years is the growing availability of Android malware datasets, which now appear more frequently in clustering studies than in earlier work. These datasets often provide richer contextual information, including application metadata, temporal attributes, and family annotations, enabling broader exploration of clustering methods beyond Windows-based malware.
Although specially collected datasets offer flexibility, public datasets provide researchers with diverse and large-scale collections of malware that include standardized features and labels. Such datasets play a critical role in enabling reproducible evaluation and comparative analysis, particularly for clustering methods that are sensitive to data distribution and feature representation.
Table 7 provides a consolidated view of how different feature types have been utilized across clustering methods in malware analysis. Rather than focusing on individual studies, the table aggregates feature usage patterns at the method level, highlighting which feature representations are most commonly paired with specific clustering paradigms. This perspective helps clarify how methodological choices are often intertwined with feature availability, data modality, and analytical goals.
Several trends emerge from this comparison. Static features such as bytes, strings, import tables, and PE metadata are most frequently associated with centroid-based approaches, reflecting their compatibility with fixed-length vector representations. In contrast, opcode-based features appear predominantly in hierarchical methods, where structural relationships and sequential patterns can be better preserved. Dynamic and behavioral features, including network data, runtime encryption signals, and entropy measures, are more often coupled with probabilistic or specialized hierarchical frameworks, which explicitly model feature correlations or layered behaviors.
By presenting feature usage in this aggregated manner, the table emphasizes that clustering performance is not driven by algorithm choice alone, but by the alignment between feature characteristics and clustering assumptions.
Raguvir S et al.: Preprint submitted to Elsevier
Page 12 of 20
| Dataset Name | Year | OS | Features | Dataset Size |
|---|---|---|---|---|
| SOREL-20M[35] | 2021 | Windows | PE | 20M |
| Ransmap[36] | 2025 | Windows | Storage and Memory access patterns | NI |
| AndroOBFS[49] | 2022 | Android | Time tags, family information | 16279 |
| BODMAS[97] | 2021 | Windows | PE | NI |
| EMBER2024[43] | 2025 | Multi-sys | Previously undetected samples | 3.2M |
| MOTIF[42] | 2023 | Windows | Malware tagged with families | 3095 |
| MalTracker[100] | 2024 | Multi-sys | Malicious packages | 229 |
| RMVDroid[92] | 2019 | Android | App metadata and families | 9000 |
| Kronodroid[32] | 2021 | Android | Static, dynamic features and families | 41000 |
| RIAD-ES [16] | 2025 | Windows | Windows Event Logs | 103 |
| MASCOT[51] | 2025 | Winsows | Source files | 6032 |
| CIC-IDS2017 [82] | 2017 | Multi-sys | Network traffic data | NI |
| CIC-DDoS2019 [21] | 2019 | Multi-sys | Network flow characteristics(DDoS) | 12.8M |
| IoT network intrusion [45] | 2019 | IoT | IoT abnormal behavior Traffic characteristics | 2.99M |
Table 6
List of recent malware datasets available at present.
| Feature | Centroid | Hierarchical | Distribution | Density |
|---|---|---|---|---|
| Bytes | 1 | - | - | - |
| Strings | 1 | - | - | - |
| IAT | 1 | - | - | - |
| API Calls | - | 1 | 1 | - |
| AV Labels | - | - | - | - |
| Registry Data | 1 | - | - | - |
| Opcodes | - | 3 | - | - |
| Network Data | - | 1 | 4 | 1 |
| PE Features | - | 1 | - | - |
| CDR | 1 | - | - | - |
| System Calls | - | - | 1 | - |
| Memory | - | - | 1 | - |
| DLL Imports | 1 | 2 | - | - |
| Runtime Encryption | - | 1 | - | - |
| Entropy | - | 1 | - | - |
| TLSH | - | 1 | 1 | 1 |
Table 7
Feature usage across clustering methods in malware analysis
It also reveals underexplored combinations, such as richer behavioral features paired with density-based or mixed-type clustering, suggesting opportunities for future work. Overall, this summary complements the method-centric organization of the survey by making explicit how feature design and clustering strategy co-evolve in malware analysis research.
5. Discussion
This paper surveys six major approaches to clustering applied to malware analysis: centroid-based, density-based, distribution-based, hierarchical, hybrid-based, and AI-driven techniques. While prior work largely reports usage trends, our analysis highlights how these methods differ with respect to concept drift, outlier handling, dataset scale, and feature representation, which are key factors for practitioners selecting an approach. Centroid-based algorithms such as K-means remain the most widely used due to their scalability and compatibility with vectorized malware features. These methods perform well on large-scale datasets with relatively clean structure and well-separated clusters. However, they are sensitive to outliers, require the number of clusters to be specified in advance, and do not naturally adapt to concept drift without extensions such as incremental updates or ensemble integration. Density-based and hierarchical methods have seen increased adoption since around 2020, reflecting a shift toward evolution-aware clustering. Density-based methods are particularly effective in datasets with high noise, irregular cluster shapes, and varying densities, making them suitable for identifying outliers and novel malware variants. However, they can struggle when data is sparse or when density parameters are not well aligned with the dataset, sometimes resulting in a large number of unclustered
Raguvir S et al.: Preprint submitted to Elsevier
Page 13 of 20 samples. Hierarchical clustering provides a complementary perspective by exposing structure at multiple levels of granularity. This makes it well suited for analyzing concept drift and lineage relationships, where clusters evolve over time. It also offers strong interpretability, allowing analysts to trace how malware families split and merge. The primary limitation is scalability, as computational cost increases significantly with dataset size, making it less practical for very large corpora without approximation or hybridization. Distribution-based methods, though fewer in number, occupy an important niche in scenarios where feature correlations and uncertainty must be modeled explicitly. Approaches such as Gaussian Mixture Models are particularly effective for dynamic and temporally structured data, including network traffic and event logs. These methods can capture richer feature relationships than centroid-based approaches, but they are typically more computationally intensive and may require careful tuning in high-dimensional settings. Hybrid-based approaches combine multiple clustering paradigms to balance trade-offs across scale, robustness, and adaptability. These methods are especially useful when datasets exhibit mixed characteristics, such as large scale combined with noise or evolving behavior. Our survey shows that hierarchical components are frequently included in ensembles to improve structural understanding, while centroid-based methods are used to improve efficiency. More recently, AI-driven and LLM-based clustering approaches have emerged, leveraging learned representations to handle high-dimensional and semantically rich features. These methods show promise in improving clustering quality and interpretability, particularly in complex malware datasets. However, their behavior under concept drift and adversarial conditions remains under-explored, and current evidence suggests they are best used in combination with traditional clustering techniques. Overall, the surveyed literature suggests that no single clustering method is optimal across all scenarios. Instead, the choice of method should be guided by dataset characteristics: centroid-based methods for large and well-structured data, density-based methods for noisy and evolving datasets, hierarchical methods for interpretability and drift analysis, and hybrid or AI-driven approaches when combining multiple strengths is required.
Although malware clustering has matured significantly over the past two decades, several fundamental research challenges remain unresolved.
Outlier Analysis and Novel Malware Discovery Outlier handling remains one of the least studied aspects of malware clustering. While most clustering studies focus on cluster quality and malware family separation, comparatively few investigate the samples classified as noise. Recent work has demonstrated that clustering outliers may correspond to mislabeled samples, structurally unique binaries, or potentially novel malware variants, suggesting that outlier analysis can provide valuable insights beyond traditional clustering evaluation metrics. However, the broader role of outlier in malware triage, variant discovery, and threat intelligence remains largely unexplored[86]. [86]
Concept Drift and Malware Evolution Malware continuously evolve through code reuse, obfuscation, and behavioral adaptation. While hierarchical and density-based approaches have demonstrated potential for tracking evolutionary relationships, there remains no consensus on how clustering systems should adapt to long-term behavioral drift. Open questions include determining when a variant should be considered a new cluster, how cluster structures evolve over time, and how clustering models can remain effective without frequent retraining.
Scalability to Operational Datasets Most malware clustering studies evaluate methods on datasets containing thousands or tens of thousands of samples. In contrast, operational environments may encounter millions of files and telemetry records daily. This raises important questions regarding the scalability of distance computations, memory requirements, and cluster maintenance. Future work should explore distributed, streaming, and approximate clustering techniques capable of operating at operational scale while maintaining clustering quality.
Interpretability and Representative Specimens Clustering algorithms typically group malware samples without providing explanations for why those samples belong together. As a result, analysts often face challenges interpreting cluster meaning and identifying representative samples. Future research should investigate methods for automatically characterizing cluster behavior, identifying representative specimens, and generating analyst-friendly descriptions that support threat intelligence workflows.
AI-Driven Malware and AI-Driven Clustering Recent advances in large language models and generative AI have introduced new opportunities for malware analysis but also new challenges. While AI-driven clustering approaches have shown promise in handling complex feature spaces, their computational requirements remain substantial. At the same time, the emergence of AI-generated malware raises important questions regarding attribution, clustering
Raguvir S et al.: Preprint submitted to Elsevier
Page 14 of 20 robustness, and behavioral similarity. Can clustering methods identify patterns unique to AI-generated malware? Can lightweight AI models provide practical alternatives to large-scale architectures? These questions remain largely unexplored.
Adversarial and Anti-Clustering Malware Traditional malware evasion techniques target signatures, sandboxes, and machine learning classifiers. An emerging concern is whether malware can be intentionally designed to evade clustering itself. Obfuscation, polymorphism, feature manipulation, and cluster-poisoning strategies may reduce clustering effectiveness or fragment malware families into misleading groups. Understanding how clustering algorithms perform under adversarial conditions represents an important direction for future research.
Dataset Diversity and Benchmarking The majority of publicly available malware clustering datasets focus on Windows malware, while comparatively fewer resources exist for Android, IoT, embedded systems, Linux, and cross-platform malware. This limits our understanding of how clustering techniques generalize across different environments. Future work should explore whether platform-specific representations are necessary and establish standardized benchmark datasets that facilitate reproducible evaluation across malware ecosystems.
Emerging Clustering Paradigms Finally, most malware clustering research continues to rely on established clustering frameworks such as centroid-based, density-based, and hierarchical approaches. Emerging paradigms, including graph-based, self-supervised, foundation-model-based, and quantum-inspired clustering techniques, remain largely unexplored within malware analysis. Determining whether these approaches provide meaningful advantages over existing methods presents an important opportunity for future investigation.
6. Conclusion and Future Work
This survey reviewed recent research on malware clustering and organized the literature into seven methodological categories: centroid-based, distribution-based, density-based, hierarchical, mixed-type, fuzzy, and AI-driven approaches. Across these categories, we summarized how clustering has been used to group unknown samples, infer family structure, and support downstream tasks such as signature generation, anomaly discovery, and behavioral profiling. By consolidating prior work into method-specific summaries and comparative tables, this survey clarifies what has been explored, what assumptions are commonly made, and where empirical gaps remain. A recurring theme across the literature is that clustering outcomes are often driven as much by feature design and data availability as by the clustering algorithm itself. Static representations such as bytes, strings, PE metadata, and imports remain common due to ease of extraction and scalability, while behavioral features such as system calls, network telemetry, and runtime signals are increasingly used when interpretability and evolution-aware grouping are important. The feature summary complements the method-centric organization by making explicit which feature types are most frequently paired with particular clustering paradigms, and it also exposes underexplored pairings that may be valuable in future evaluations. This survey also highlights persistent challenges in reproducibility and cross-paper comparison. Although several public datasets and corpora are available and growing, many studies still rely on custom or private collections, and experimental details such as preprocessing, labeling assumptions, temporal scope, and evaluation metrics are not consistently reported. Since clustering is sensitive to feature scaling, class imbalance, label noise, and temporal drift, these inconsistencies limit the community's ability to compare methods fairly and to assess generalization across malware ecosystems.
Future work can build on these findings in several directions. First, the community would benefit from more standardized evaluation practices, including clearer reporting of preprocessing pipelines, distance metrics, hyperparameters, and both internal and external clustering validation measures. Second, broader benchmarking across feature modalities is needed, especially for mixed-type and behavioral representations that more closely reflect operational telemetry. Third, temporal evaluation should become more common, since malware evolution and drift can change the geometry and density structure that clustering methods rely on. Finally, AI-driven approaches, including representation learning and LLM-based embeddings, are likely to shape future malware clustering research by enabling richer feature extraction and more scalable analysis. However, these methods also introduce new questions about interpretability, stability across model updates, and reproducibility, which motivates careful evaluation and open baselines. Overall, this survey provides a consolidated view of malware clustering methods, datasets, and feature usage patterns in recent work. By identifying methodological and empirical gaps, it aims to support more rigorous, reproducible, and operationally relevant clustering research as malware continues to evolve in scale and complexity.
Raguvir S et al.: Preprint submitted to Elsevier
Page 15 of 20
7. Author Contributions
R.S, P.B and B.L were responsible for the collection, investigation of the research works, as well as drafting the manuscript. C.N was responsible for reviewing and editing the manuscript. All authors have read and share full responsibility for the decision to submit this work for publication, and agree to be accountable to all aspects of this work, ensuring any questions related to any part of this work are appropriately investigated and resolved.
8. Declaration of Competing Interests
The authors declare no competing interests.
9. Funding Declaration
Funding: Not Applicable
Correspondence and requests for materials should be addressed to Raguvir S.
References
[1] Abrar, S., Sekmen, A., Samad, M.D., 2023. Effectiveness of deep image embedding clustering methods on tabular data, in: 2023 15th International Conference on Advanced Computational Intelligence (ICACI), IEEE. pp. 1–7.
[2] Al-Karaki, J., Khan, M.A.Z., Omar, M., 2024. Exploring LLMs for Malware Detection: Review, Framework Design, and Countermeasure Approaches. URL: http://arxiv.org/abs/2409.07587, doi:10.48550/arXiv.2409.07587. arXiv:2409.07587.
[3] Alaeiyan, M., Dehghantanha, A., Dargahi, T., Conti, M., Parsa, S., 2020. A Multilabel Fuzzy Relevance Clustering System for Malware Attack Attribution in the Edge Layer of Cyber-Physical Networks. ACM Transactions on Cyber-Physical Systems 4, 1–22. URL: https://dl.acm.org/doi/10.1145/3351881, doi:10.1145/3351881.
[4] Ali, M., Hagen, J., Oliver, J., 2020. Scalable Malware Clustering using Multi-Stage Tree Parallelization, in: 2020 IEEE International Conference on Intelligence and Security Informatics (ISI), IEEE, Arlington, VA, USA. pp. 1–6. URL: https://ieeexplore.ieee.org/document/9280546/, doi:10.1109/ISI49825.2020.9280546.
[5] Amira, A., Derhab, A., Karbab, E.B., Nouali, O., 2023. A survey of malware analysis using community detection algorithms. ACM Computing Surveys 56, 1–29.
[6] Amorim, R.C.d., Ruiz, C.D.L., 2021. Identifying meaningful clusters in malware data. Expert Systems with Applications 177, 114971. URL: http://arxiv.org/abs/2008.01175, doi:10.1016/j.eswa.2021.114971. arXiv:2008.01175 [cs].
[7] An, P., Wang, Z., Zhang, C., 2022. Ensemble unsupervised autoencoders and gaussian mixture model for cyberattack detection. Information Processing & Management 59, 102844.
[8] Ankerst, M., Breunig, M.M., Kriegel, H.P., Sander, J., 1999. Optics: Ordering points to identify the clustering structure. ACM Sigmod record 28, 49–60.
[9] Aqazi, J., Kravetsky, E., Featherington, C., Rutherford, V., 2024. Hierarchical Behavioral Entropy Mapping for Autonomous Ransomware Detection. URL: https://osf.io/gcktn, doi:10.31219/osf.io/gcktn.
[10] Aziz, Z., Bestak, R., 2024. Insight into Anomaly Detection and Prediction and Mobile Network Security Enhancement Leveraging K-Means Clustering on Call Detail Records. Sensors 24, 1716. URL: https://www.mdpi.com/1424-8220/24/6/1716, doi:10.3390/s24061716.
[11] Bak, M., Papp, D., Tamás, C., Buttyán, L., 2020. Clustering iot malware based on binary similarity, in: NOMS 2020-2020 IEEE/IFIP Network Operations and Management Symposium, IEEE. pp. 1–6.
[12] Basole, S., Stamp, M., 2021. Cluster Analysis of Malware Family Relationships. URL: http://arxiv.org/abs/2103.05761, doi:10.48550/arXiv.2103.05761. arXiv:2103.05761 [cs].
[13] Bayer, U., Comparetti, P.M., Hlauschek, C., Kruegel, C., Kirda, E., 2009. Scalable, behavior-based malware clustering., in: NDSS, pp. 8–11.
[14] Bendale, A., Boult, T.E., 2016. Towards open set deep networks, in: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1563–1572.
[15] Bhandary, P., Joyce, R.J., Nicholas, C., 2024. Ransomware evolution: Unveiling patterns using hdbscan, in: Proceedings of the Conference on Applied Machine Learning in Information Security (CAMLIS 2024), p. 15. URL: https://ceur-ws.org/Vol-3920/paper10.pdf.
[16] Bhandary, P., Nicholas, C., Joyce, R., Li, B., 2025. Ransomware in active directory: A dataset and analysis of early-stage behavior, in: Proceedings of the ACSAC 2025 Workshops (ACSACW 2025), IEEE. pp. 491–500.
[17] Bhattacharjee, P., Mitra, P., 2021. A survey of density based clustering algorithms. Frontiers of Computer Science 15, 151308.
[18] Bhattarai, M., Barron, R., Eren, M., Vu, M., Grantcharov, V., Boureima, I., Stanev, V., Matuszek, C., Valtchinov, V., Rasmussen, K., Alexandrov, B., 2024. HEAL: Hierarchical Embedding Alignment Loss for Improved Retrieval and Representation Learning. URL: http://arxiv.org/abs/2412.04661, doi:10.48550/arXiv.2412.04661. arXiv:2412.04661 [cs].
[19] Calleja, A., Tapiador, J., Caballero, J., 2018. The malsource dataset: Quantifying complexity and code reuse in malware development. IEEE Transactions on Information Forensics and Security 14, 3175–3190.
[20] Canadian Institute for Cybersecurity, 2017. Intrusion detection evaluation dataset (cic-ids2017). https://www.unb.ca/cic/datasets/ids-2017.html. Accessed: 2025-08-10.
Raguvir S et al.: Preprint submitted to Elsevier
Page 16 of 20
[21] Canadian Institute for Cybersecurity, 2019. Ddos evaluation dataset (cic-ddos2019). https://www.unb.ca/cic/datasets/ddos-2019.html. Accessed: 2025-12-01.
[22] Canadian Institute for Cybersecurity (CIC), 2020. Android malware dataset (cicmaldroid 2020). https://www.unb.ca/cic/datasets/maldroid-2020.html. Accessed: 2025-11-17.
[23] Chapaneri, R., Shah, S., 2021. Multi-level gaussian mixture modeling for detection of malicious network traffic. Journal of Supercomputing 77.
[24] Chen, X., Yu, D., Cai, X., Jiang, H., Yu, H., 2024. Android Malware Family Clustering Based on Multiple Features. IEEE Transactions on Reliability 73, 1202–1215. URL: https://ieeexplore.ieee.org/document/10334519/, doi:10.1109/TR.2023.3332090.
[25] Cordeiro De Amorim, R., Lopez Ruiz, C.D., 2021. Identifying meaningful clusters in malware data. Expert Systems with Applications 177, 114971. URL: https://linkinghub.elsevier.com/retrieve/pii/S0957417421004127, doi:10.1016/j.eswa.2021.114971.
[26] Dam, K.H.T., Given-Wilson, T., Legay, A., 2021. Unsupervised behavioural mining and clustering for malware family identification, in: Proceedings of the 36th Annual ACM Symposium on Applied Computing, pp. 374–383.
[27] Dener, M., Gulburun, S., 2023. Clustering-Aided Supervised Malware Detection with Specialized Classifiers and Early Consensus. Computers, Materials & Continua 75, 1235–1251. URL: https://www.techscience.com/cmc/v75n1/51534, doi:10.32604/cmc.2023.036357.
[28] Duraisamy Soundrapandian, P., Subbiah, G., 2022. MULBER: Effective Android Malware Clustering Using Evolutionary Feature Selection and Mahalanobis Distance Metric. Symmetry 14, 2221. URL: https://www.mdpi.com/2073-8994/14/10/2221, doi:10.3390/sym14102221.
[29] Ester, M., Kriegel, H.P., Sander, J., Xu, X., et al., 1996. A density-based algorithm for discovering clusters in large spatial databases with noise, in: kdd, pp. 226–231.
[30] Fowlkes, E.B., Mallows, C.L., 1983. A method for comparing two hierarchical clusterings. Journal of the American statistical association 78, 553–569.
[31] Gu, X., Yan, J., 2024. Hierarchical K-Nearest Neighbors for Ransomware Detection Using Opcode Sequences. URL: https://www.techrxiv.org/users/794206/articles/1107978-hierarchical-k-nearest-neighbors-for-ransomware-detection-using-opcodecommit=5a6248ad3819a5c66d5021cce97458d20ff1762, doi:10.36227/techrxiv.171838524.46252988/v1.
[32] Guerra-Manzanares, A., Bahsi, H., Nömm, S., 2021. KronoDroid: Time-based Hybrid-featured Dataset for Effective Android Malware Detection and Characterization. Computers & Security 110, 102399. URL: https://linkinghub.elsevier.com/retrieve/pii/S0167404821002236, doi:10.1016/j.cose.2021.102399.
[33] Haddadpajouh, H., Azmoodeh, A., Dehghantanha, A., Parizi, R.M., 2020. MVFCC: A Multi-View Fuzzy Consensus Clustering Model for Malware Threat Attribution. IEEE Access 8, 139188–139198. URL: https://ieeexplore.ieee.org/document/9152031/, doi:10.1109/ACCESS.2020.3012907.
[34] Han, Z., Feng, S., Ye, Y., Jiang, Q., 2009. A parameter-free hybrid clustering algorithm used for malware categorization, in: 2009 3rd International Conference on Anti-counterfeiting, Security, and Identification in Communication, IEEE, Hong Kong, China. pp. 480–483. URL: http://ieeexplore.ieee.org/document/5276982/, doi:10.1109/ICASID.2009.5276982.
[35] Harang, R., Rudd, E.M., 2020. Sorel-20m: A large scale benchmark dataset for malicious pe detection. arXiv:2012.07634.
[36] Hirano, M., Kobayashi, R., 2025. RanSMAP: Open dataset of Ransomware Storage and Memory Access Patterns for creating deep learning based ransomware detectors. Computers & Security 150, 104202. URL: https://linkinghub.elsevier.com/retrieve/pii/S0167404824005078, doi:10.1016/j.cose.2024.104202.
[37] Hou, Y., He, R., Dong, J., Yang, Y., Ma, W., 2022. Iot anomaly detection based on autoencoder and bayesian gaussian mixture model. Electronics 11, 3287.
[38] Hubert, L., Arabie, P., 1985. Comparing partitions. Journal of classification 2, 193–218.
[39] Ilić, S., Kuk, K., Stojanović, V., Petrović, I., 2024. A clustering approach to malware dataset analysis. Journal of Computer and Forensic Sciences 3, 43–56. URL: https://scindeks.ceon.rs/Article.aspx?artid=2956-087X2402043I, doi:10.5937/jcfs3-55513.
[40] Interrante-Grant, A.M., Kaeli, D., 2018. Gaussian mixture models for dynamic malware clustering.
[41] Johari, A., Navein, C., 2017. Hierarchical density-based clustering of malware behaviour. Journal of telecommunication electronic and computer engineering, 151–158.
[42] Joyce, R.J., Amlani, D., Nicholas, C., Raff, E., 2023. MOTIF: A Malware Reference Dataset with Ground Truth Family Labels. Computers & Security 124, 102921. URL: https://linkinghub.elsevier.com/retrieve/pii/S0167404822003133, doi:10.1016/j.cose.2022.102921.
[43] Joyce, R.J., Miller, G., Roth, P., Zak, R., Zaresky-Williams, E., Anderson, H., Raff, E., Holt, J., 2025. EMBER2024 - A Benchmark Dataset for Holistic Evaluation of Malware Classifiers, in: Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2, ACM, Toronto ON Canada. pp. 5516–5526. URL: https://dl.acm.org/doi/10.1145/3711896.3737431, doi:10.1145/3711896.3737431.
[44] Jurečková, O., Jureček, M., Stamp, M., Di Troia, F., Lórencz, R., 2024. Classification and online clustering of zero-day malware. Journal of Computer Virology and Hacking Techniques 20, 579–592. URL: https://link.springer.com/10.1007/s11416-024-00513-5, doi:10.1007/s11416-024-00513-5.
[45] Kang, H., Ahn, D.H., Lee, G.M., Yoo, J.D., Park, K.H., Kim, H.K., 2019. Iot network intrusion dataset. IEEE Dataport 10, q70p-q449.
[46] Kaufman, L., Roussesew, P.J., 2009. Finding groups in data: an introduction to cluster analysis. John Wiley & Sons.
[47] Ko, S.M., Yang, J., Kim, T., You, I., 2025. N-gram opcode frequency based malware detection using CNN algorithm. Soft Computing 29, 4045–4053. URL: https://link.springer.com/10.1007/s00500-025-10659-z, doi:10.1007/s00500-025-10659-z.
[48] Kriegel, H.P., Kröger, P., Sander, J., Zimek, A., 2011. Density-based clustering. Wiley interdisciplinary reviews: data mining and knowledge discovery 1, 231–240.
Raguvir S et al.: Preprint submitted to Elsevier
Page 17 of 20
[49] Kumar, S., Mishra, D., Panda, B., Shukla, S.K., 2022. AndroOBFS: time-tagged obfuscated Android malware dataset with family information, in: Proceedings of the 19th International Conference on Mining Software Repositories, ACM, Pittsburgh Pennsylvania. pp. 454–458. URL: https://dl.acm.org/do/10.1145/3524842.3528493, doi:10.1145/3524842.3528493.
[50] Kurov, K., Ponomarenko, S., Valkenburg, O., Huntingdon, M., Ashdown, A., 2024. Deciphering Ransomware Patterns Using Anomaly-based Hierarchical Encryption Analysis. URL: https://osf.io/tcyzq, doi:10.31219/osf.io/tcyzq.
[51] Li, B., Zhong, D., Nadendla, D., Terceros, G., Bhandar, P. S. R., Nicholas, C., 2025. Mascot: Analyzing malware evolution through a well-curated source code dataset. URL: https://arxiv.org/abs/2512.00741, arXiv:2512.00741.
[52] Li, S., Liang, R., Yan, H., Bao, X., 2023. Automated lineage inference among malware families, in: 2023 International Conference on Communications, Computing and Artificial Intelligence (CCAI), IEEE. pp. 119–126.
[53] Liu, L., Wang, B.s., Yu, B., Zhong, Q.x., 2017. Automatic malware classification and new malware detection using machine learning. Frontiers of Information Technology & Electronic Engineering 18, 1336–1347.
[54] Maazalahi, M., Hosseini, S., 2024. A Hybrid Machine Learning Approach and Genetic Algorithm for Malware Detection. Journal of AI and Data Mining 12. URL: https://doi.org/10.22044/jadm.2024.13895.2503, doi:10.22044/jadm.2024.13895.2503.
[55] Maćkiewicz, A., Ratajczak, W., 1993. Principal components analysis (pca). Computers & Geosciences 19, 303–342.
[56] Meidan, Y., Bohadana, M., Mathov, Y., Mirsky, Y., Shabtai, A., Breitenbacher, D., Elovici, Y., 2018. N-baiot—network-based detection of iot botnet attacks using deep autoencoders. IEEE Pervasive Computing 17, 12–22.
[57] Mishra, A., Stamp, M., 2025. Cluster Analysis and Concept Drift Detection in Malware. URL: http://arxiv.org/abs/2502.14135, doi:10.48550/arxiv.2502.14135. arXiv:2502.14135 [cs].
[58] Mishra, P., Black, P., Bagirov, A., Pang, S., 2024. Discriminating Malware Families using Partitional Clustering, in: 2024 IEEE 23rd International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom), IEEE, Sanya, China. pp. 2256–2261. URL: https://ieeexplore.ieee.org/document/10945186/, doi:10.1109/TrustCom63139.2024.00311.
[59] Mosharrat, N., Sarker, I.H., Anwar, M.M., Islam, M.N., Watters, P., Hammoudeh, M., 2022. Automatic Malware Categorization Based on K-Means Clustering Technique, in: Lecture Notes on Data Engineering and Communications Technologies. Springer Singapore, Singapore, pp. 653–664. URL: https://link.springer.com/10.1007/978-981-16-6636-0_49, doi:10.1007/978-981-16-6636-0_49.
[60] Mustafa, D.H., Husien, I.M., 2023. Adaptive dbscan with grey wolf optimizer for botnet detection. International Journal of Intelligent Engineering & Systems 16.
[61] Naik, N., Jenkins, P., Savage, N., Yang, L., 2019. Cyberthreat Hunting - Part 2: Tracking Ransomware Threat Actors using Fuzzy Hashing and Fuzzy C-Means Clustering, in: 2019 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), IEEE, New Orleans, LA, USA. pp. 1–6. URL: https://ieeexplore.ieee.org/document/8858825/, doi:10.1109/FUZZ-IEEE.2019.8858825.
[62] Naveen Kumar, N., Balamurugan, S., Maruthamuthu, R., Devi, P., Seshu Kumar, P., 2024. A robust method for malware analysis using stacking classifiers and dendrogram visualization. International Journal of Information Technology URL: https://link.springer.com/10.1007/s41870-024-01982-z, doi:10.1007/s41870-024-01982-z.
[63] Ng, C.K., Jiang, F., Zhang, L.Y., Zhou, W., 2019. Static malware clustering using enhanced deep embedding method. Concurrency and Computation: Practice and Experience 31, e5234. URL: https://onlinelibrary.wiley.com/doi/10.1002/cpe.5234, doi:10.1002/cpe.5234.
[64] Oak, R., Du, M., Yan, D., Takawale, H., Amit, I., 2019. Malware detection on highly imbalanced data through sequence modeling, in: Proceedings of the 12th ACM Workshop on artificial intelligence and security, pp. 37–48.
[65] Ovayan, M.V., Caruthers, J., Engelhardt, A., Redgrave, A., Gillingham, C., 2024. Novel Framework for Autonomous Ransomware Detection Using Hierarchical Threat Signal Profiling. URL: https://www.techrxiv.org/users/861463/articles/1243946-novel-framework-for-autonomous-ransomware-detection-using-hierarchical-threat-signal-profiling?commit=c5c739f3d8c7bc455fe7d728bc1989a063a6874f, doi:10.36227/techrxiv.173273662.29033096/v1.
[66] Padmavathi, G., Shanmugapriya, D., Roshni, A., 2022a. Performance Analysis of Unsupervised Machine Learning Methods for Mobile Malware Detection, in: 2022 9th International Conference on Computing for Sustainable Global Development (INDIACom), IEEE, New Delhi, India, pp. 201–206. URL: https://ieeexplore.ieee.org/document/9763180/, doi:10.23919/INDIACom54597.2022.9763180.
[67] Padmavathi, G., Shanmugapriya, D., Roshni, A., 2022b. Performance analysis of unsupervised machine learning methods for mobile malware detection, in: 2022 9th International Conference on Computing for Sustainable Global Development (INDIACom), IEEE. pp. 201–206.
[68] Pai, S., Troia, F.D., Visaggio, C.A., Austin, T.H., Stamp, M., 2017. Clustering for malware classification. Journal of Computer Virology and Hacking Techniques 13, 95–107. URL: http://link.springer.com/10.1007/s11416-016-0265-3, doi:10.1007/s11416-016-0265-3.
[69] Patil, R., Deng, W., 2020. Malware Analysis using Machine Learning and Deep Learning techniques, in: 2020 SoutheastCon, IEEE, Raleigh, NC, USA. pp. 1–7. URL: https://ieeexplore.ieee.org/document/9368268/, doi:10.1109/SoutheastCon44009.2020.9368268.
[70] Paul, M., Medhe, K., 2019. Using machine learning to detect anomalies in internet browsing pattern of users, in: Proceedings of the 5th International Conference on Cyber Security & Privacy in Communication Networks (ICCS), pp. 86–91.
[71] Pitolli, G., Laurenza, G., Aniello, L., Querzoni, L., Baldoni, R., 2021. MalFamAware: automatic family identification and malware classification through online clustering. International Journal of Information Security 20, 371–386. URL: https://link.springer.com/10.1007/s10207-020-00509-4, doi:10.1007/s10207-020-00509-4.
[72] Ranaweer, N., Xu, J., Seneviratne, S., Seneviratne, A., 2025. BERTDetect: A Neural Topic Modelling Approach for Android Malware Detection, in: Companion Proceedings of the ACM on Web Conference 2025, ACM, Sydney NSW Australia. pp. 1802–1810. URL: https://dl.acm.org/doi/10.1145/3701716.3717501, doi:10.1145/3701716.3717501.
[73] Rathore, H., Sahay, S.K., Thukral, S., Sewak, M., 2021. Detection of Malicious Android Applications: Classical Machine Learning vs. Deep Neural Network Integrated with Clustering. URL: http://arxiv.org/abs/2103.00637, doi:10.48550/arXiv.2103.00637.
Raguvir S et al.: Preprint submitted to Elsevier
Page 18 of 20 arXiv:2103.00637 [cs].
[74] Rezaei, T., Manavi, F., Hamzeh, A., 2021. A PE header-based method for malware detection using clustering and deep embedding techniques. Journal of Information Security and Applications 60, 102876. URL: https://linkinghub.elsevier.com/retrieve/pii/S2214212621001046, doi:10.1016/j.jisa.2021.102876.
[75] Rosenberg, A., Hirschberg, J., 2007. V-measure: A conditional entropy-based external cluster evaluation measure, in: Proceedings of the 2007 joint conference on empirical methods in natural language processing and computational natural language learning (EMNLP-CoNLL), pp. 410–420.
[76] Rosli, N.A., Yassin, W., M.A, F., Rahayu, S., 2019. Clustering Analysis for Malware Behavior Detection using Registry Data. International Journal of Advanced Computer Science and Applications 10. URL: http://thesai.org/Publications/ViewPaper?Volume=10&Issue=12&Code=IJACS&SerialNo=13, doi:10.14569/IJACS4.2019.0101213.
[77] Rousseew, P.J., 1987. Silhouettes: a graphical aid to the interpretation and validation of cluster analysis. Journal of computational and applied mathematics 20, 53–65.
[78] S, R., Nicholas, C., 2025. Hierarchical Clustering of the SOREL Malware Corpus, in: Proceedings of the 2025 ACM Symposium on Document Engineering, ACM, Nottingham United Kingdom. pp. 1–4. URL: https://dl.acm.org/doi/10.1145/3704268.3748684, doi:10.1145/3704268.3748684.
[79] Sabeel, U., Heydari, S.S., Mohanka, H., Bendhaou, Y., Elgazzar, K., El-Khatib, K., 2019. Evaluation of deep learning in detecting unknown network attacks, in: 2019 International Conference on Smart Applications, Communications and Networking (SmartNets), IEEE. pp. 1–6.
[80] Saha, B., Rani, N., Shukla, S.K., 2025. Malware: Automating the comprehension of malicious software behaviours using large language models (llms), in: 2025 IEEE/ACM 22nd International Conference on Mining Software Repositories (MSR), IEEE. pp. 169–173.
[81] Samunnisa, K., Kumar, G.S.V., Madhavi, K., 2023. Intrusion detection system in distributed cloud computing: Hybrid clustering and classification methods. Measurement: Sensors 25, 100612.
[82] Sharafaldin, I., Lashkari, A.H., Ghorbani, A.A., et al., 2018. Toward generating a new intrusion detection dataset and intrusion traffic characterization. ICISSp 1, 108–116.
[83] Shieh, C.S., Lin, W.W., Nguyen, T.T., Chen, C.H., Horng, M.F., Miu, D., 2021. Detection of unknown ddos attacks with deep learning and gaussian mixture model. Applied Sciences 11, 5213.
[84] Smith, D., Khorsandroo, S., Roy, K., 2023. Supervised and unsupervised learning techniques utilizing malware datasets, in: 2023 IEEE 2nd International Conference on AI in Cybersecurity (ICAIC), IEEE. pp. 1–7.
[85] Srivastava, N., Mansimov, E., Salakhudinov, R., 2015. Unsupervised learning of video representations using lstms, in: International conference on machine learning, PMLR. pp. 843–852.
[86] Swargam, B.K., Bhandary, P., Nicholas, C., 2025. Analyzing the Impact of Outliers in Malware Clustering, in: 2025 IEEE International Conference on Big Data (BigData), IEEE, Macau, China. pp. 7845–7853. URL: https://ieeexplore.ieee.org/document/11401635/, doi:10.1109/BigData66926.2025.11401635.
[87] Szekely, G.J., Rizzo, M.L., et al., 2005. Hierarchical clustering via joint between-within distances: Extending ward's minimum variance method. Journal of classification 22, 151–184.
[88] Taha, A.A., Malebary, S.J., 2021. Hybrid classification of Android malware based on fuzzy clustering and the gradient boosting machine. Neural Computing and Applications 33, 6721–6732. URL: https://link.springer.com/10.1007/s00521-020-05450-0, doi:10.1007/s00521-020-05450-0.
[89] Ucci, D., Aniello, L., Baldoni, R., 2019. Survey of machine learning techniques for malware analysis. Computers & Security 81, 123–147.
[90] UCI KDD Archive, 1999. Kdd cup 1999 data: Task description. URL: https://kdd.ics.uci.edu/databases/kddcup99/task.html.
[91] Von Luxburg, U., 2007. A tutorial on spectral clustering. Statistics and computing 17, 395–416.
[92] Wang, H., Si, J., Li, H., Guo, Y., 2019. RmvDroid: Towards A Reliable Android Malware Dataset with App Metadata, in: 2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR), IEEE, Montreal, QC, Canada. pp. 404–408. URL: https://ieeexplore.ieee.org/document/8816783/, doi:10.1109/MSR.2019.00067.
[93] Wolsey, A., 2022. The State-of-the-Art in AI-Based Malware Detection Techniques: A Review. URL: http://arxiv.org/abs/2210.11239, doi:10.48550/arXiv.2210.11239. arXiv:2210.11239 [cs].
[94] Xiao, J., Han, Q., Gao, Y., 2021. Hybrid Classification and Clustering Algorithm on Recent Android Malware Detection, in: 2021 5th International Conference on Computer Science and Artificial Intelligence, ACM, Beijing China. pp. 249–255. URL: https://dl.acm.org/doi/10.1145/3507548.3507586, doi:10.1145/3507548.3507586.
[95] Yamamy, B., Elsayed, M.S., Jurcut, A.D., Abdelbaki, N., Azer, M.A., 2022. A New Scheme for Ransomware Classification and Clustering Using Static Features. Electronics 11, 3307. URL: https://www.mdpi.com/2079-9292/11/20/3307, doi:10.3390/electronics11203307.
[96] Yang, L., Ciptadi, A., Laziuk, I., Ahmadzadeh, A., Wang, G., 2021a. Bodmas: An open dataset for learning based temporal analysis of pe malware, in: 2021 IEEE Security and Privacy Workshops (SPW), IEEE. pp. 78–84.
[97] Yang, L., Ciptadi, A., Laziuk, I., Ahmadzadeh, A., Wang, G., 2021b. BODMAS: An Open Dataset for Learning based Temporal Analysis of PE Malware, in: 2021 IEEE Security and Privacy Workshops (SPW), IEEE, San Francisco, CA, USA. pp. 78–84. URL: https://ieeexplore.ieee.org/document/9474321/, doi:10.1109/SPW53761.2021.00020.
[98] Ye, Y., Li, T., Adjeroh, D., Iyengar, S.S., 2017. A survey on malware detection using data mining techniques. ACM Computing Surveys (CSUR) 50, 1–40.
[99] Ye, Y., Li, T., Chen, Y., Jiang, Q., 2010. Automatic malware categorization using cluster ensemble, in: Proceedings of the 16th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 95–104.
[100] Yu, Z., Wen, M., Guo, X., Jin, H., 2024. Maltracker: A Fine-Grained NPM Malware Tracker Copiloted by LLM-Enhanced Dataset, in: Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis, ACM, Vienna Austria. pp. 1759–1771. URL: https://dl.acm.org/doi/10.1145/3650212.3680397, doi:10.1145/3650212.3680397.
Raguvir S et al.: Preprint submitted to Elsevier
Page 19 of 20
[101] Zaborilă, A., Breaban, M.E., Lucanu, D., 2024. MACE: Malware Analysis and Clustering Engine, in: 2024 26th International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), IEEE, Timisoara, Romania. pp. 155–163. URL: https://ieeexplore.ieee.org/document/10896394/, doi:10.1109/SYNASC65383.2024.00037.
Raguvir S et al.: Preprint submitted to Elsevier
Page 20 of 20