Detecting Malware with Information Complexity
Open Access
Abstract
Malware concealment is the predominant strategy for malware propagation. Black hats create variants of malware based on polymorphism and metamorphism. Malware variants, by definition, share some information. Although the concealment strategy alters this information, there are still patterns on the software. Given a zoo of labelled malware and benign-ware, we ask whether a suspect program is more similar to our malware or to our benign-ware. Normalized Compression Distance (NCD) is a generic metric that measures the shared information content of two strings. This measure opens a new front in the malware arms race, one where the countermeasures promise to be more costly for malware writers, who must now obfuscate patterns as strings qua strings, without reference to execution, in their variants. Our approach classifies disk-resident malware with 97.4% accuracy and a false positive rate of 3%. We demonstrate that its accuracy can be improved by combining NCD with the compressibility rates of executables using decision forests, paving the way for future improvements. We demonstrate that malware reported within a narrow time frame of a few days is more homogeneous than malware reported over two years, but that our method still classifies the latter with 95.2% accuracy and a 5% false positive rate. Due to its use of compression, the time and computation cost of our method is nontrivial. We show that simple approximation techniques can improve its running time by up to 63%. We compare our results to the results of applying the 59 anti-malware programs used on the VirusTotal website to our malware. Our approach outperforms each one used alone and matches that of all of them used collectively.Keywords
All Related Versions
Funding Information
- Engineering and Physical Sciences Research Council (EP/K032623/1)
This publication has 39 references indexed in Scilit:
- Structural entropy and metamorphic malwareJournal of Computer Virology and Hacking Techniques, 2013
- Classification of malware based on integrated static and dynamic featuresJournal of Network and Computer Applications, 2013
- Malware characteristics and threats on the internet ecosystemJournal of Systems and Software, 2012
- Decision Forests: A Unified Framework for Classification, Regression, Density Estimation, Manifold Learning and Semi-Supervised LearningFoundations and Trends in Computer Graphics and Vision, 2012
- Comparing files using structural entropyJournal of Computer Virology and Hacking Techniques, 2011
- A simple and fast algorithm for K-medoids clusteringExpert Systems with Applications, 2009
- Clustering by CompressionIEEE Transactions on Information Theory, 2005
- Common Pitfalls Using the Normalized Compression Distance: What to Watch Out for in a CompressorCommunications in Information and Systems, 2005
- The Similarity MetricIEEE Transactions on Information Theory, 2004
- Spectral grouping using the nystrom methodIEEE Transactions on Pattern Analysis and Machine Intelligence, 2004