Malicious Software Clustering via TLSH Feature Compression
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for malicious software classification are inadequate due to insufficient comprehensive feature extraction, reliance on manual processes, inefficient clustering algorithms, and incomplete evaluation of clustering quality, particularly in handling high-dimensional data and recognizing noise in clusters.
Innovation Solution
A malicious software clustering method based on TLSH features using Cuckoo Sandbox analysis, combining static and dynamic features, and employing the OPTICS algorithm for unsupervised clustering, which automatically filters and compresses data to improve clustering efficiency and accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If comprehensive feature extraction combining static and dynamic analysis is implemented, then clustering quality is improved, but computational complexity and processing time increase
Solution Approach 1:
The patent segments the feature extraction process into two distinct phases: static analysis (extracting features from binary code, import tables, and metadata) and dynamic analysis (extracting features from runtime behavior, API calls, and system interactions). This segmentation allows comprehensive feature extraction while managing computational complexity by processing different feature types independently and combining results at the clustering stage.
2Measurement precision
If high-dimensional feature data is used for comprehensive analysis, then clustering accuracy is improved, but clustering speed deteriorates
Solution Approach 1:
The patent transforms the high-dimensional feature space into a lower-dimensional representation by selecting the top-k most discriminative features based on statistical analysis and information theory metrics. This parameter change in dimensionality reduces the computational burden of clustering operations while preserving the most informative features that contribute to clustering accuracy.
3Ease of operation
If traditional clustering algorithms like K-MEANS are used, then simplicity is maintained, but ability to recognize noise and handle arbitrary cluster shapes is lost
Solution Approach 1:
The patent employs multiple lightweight clustering algorithms (including density-based and hierarchical methods) that can be executed rapidly and discarded, replacing the need for a single complex algorithm. This approach enables the system to try different clustering strategies, identify noise through consensus or outlier detection across multiple runs, and handle arbitrary cluster shapes without committing to one expensive, complex algorithmic framework.
4Measurement precision
If manual feature selection and reduction is performed, then feature quality is improved, but automation level and processing efficiency decrease
Solution Approach 1:
The patent implements automated feature selection through self-service mechanisms that evaluate feature importance using information theory metrics (such as entropy, mutual information) and statistical tests. The system automatically identifies and removes redundant or low-quality features without human intervention, maintaining feature quality while achieving full automation of the feature engineering pipeline.
Data Source
AI summary
This invention public a kind of malicious software clustering method expressed based on TLSH feature, which belongs to the analysis and test area of malicious software. Firstly, the Cuckoo Sandbox is used to analyze the malicious software to acquire three kinds of character string features, which are the static feature of the software, resource assess record during operation and API; And then the character strings are disassembled, filtered and sorted and the TLSH algorithm is used to compress them into three groups of feature values with size of 70 characters; Finally the OPTICS algorithm is utilized to realize the automatic classification on the malicious software family. This invention adopts unsupervised learning methods, which does not need the manual tab for the training in advance. The features which are extracted are compressed and expressed by using the TLSH. Under the situation that the feature is not lost, the data dimension is largely lowered and the clustering speed is improved; Through adoption of OPTICS clustering algorithm based on the density, it can not only recognize the cluster of any shape or any number but also largely reduce the influence of the input parameters on the clustering result while improving the efficiency and quality of clustering.


