Skip to main content
QUICK REVIEW

[Paper Review] ITect: Scalable Information Theoretic Similarity for Malware Detection

Sukriti Bhattacharya, Héctor D. Menéndez|arXiv (Cornell University)|Sep 8, 2016
Advanced Malware Detection TechniquesComputer Science26 references8 citations
TL;DR

ITect is a scalable, information-theoretic malware detection system that uses entropy-based patterns (EnTS) and statistical language models (SLaMM) over byte n-grams to achieve 100% precision and 90.3% accuracy on mixed malware datasets, outperforming all 56 VirusTotal AV engines in both precision and accuracy while operating in linear time without dynamic analysis or reverse engineering.

ABSTRACT

Malware creators have been getting their way for too long now. String-based similarity measures can leverage ground truth in a scalable way and can operate at a level of abstraction that is difficult to combat from the code level. We introduce ITect, a scalable approach to malware similarity detection based on information theory. ITect targets file entropy patterns in different ways to achieve 100% precision with 90% accuracy but it could target 100% recall instead. It outperforms VirusTotal for precision and accuracy on combined Kaggle and VirusShare malware.

Motivation & Objective

  • Address the scalability and evasion challenges posed by the rising volume and sophistication of polymorphic and metamorphic malware.
  • Develop a detection method that operates without dynamic analysis, reverse engineering, or human intervention to reduce cost and increase automation.
  • Leverage information-theoretic similarity on raw byte strings to detect malware at a high level of abstraction that is difficult for adversaries to circumvent.
  • Achieve high precision and accuracy in malware detection, particularly suitable for desktop malware analysis where false positives are unacceptable.
  • Demonstrate robust performance across diverse malware types, including packed, metamorphic, and polymorphic variants, using real-world datasets.

Proposed method

  • Use EnTS to extract simplified signatures from the amplitude and longitudinal variation of file entropy, treating these as machine learning features.
  • Build n-gram language models over malware (M) and benign-ware (B) zoos to capture statistical regularities in byte-level patterns.
  • Apply three information-theoretic metrics—cross-entropy, Kullback-Leibler divergence, and mean square error—to compare a suspect file’s n-gram distribution against the M and B models.
  • Classify a file as malware only if all three subclassifiers (based on M and B models) unanimously agree, ensuring high precision.
  • Use linear time complexity for classification by operating directly on raw byte strings without pre-processing, dynamic execution, or static analysis.
  • Integrate EnTS and SLaMM as complementary detectors: EnTS targets polymorphic malware via entropy patterns, while SLaMM detects metamorphic and packed malware via statistical language modeling.

Experimental results

Research questions

  • RQ1Can information-theoretic similarity measures operating on raw byte strings detect malware with high precision and accuracy without dynamic analysis or reverse engineering?
  • RQ2To what extent can entropy patterns and n-gram language models detect diverse malware families, including polymorphic, metamorphic, and packed variants?
  • RQ3How does the performance of ITect compare to existing antivirus engines, particularly in terms of precision and accuracy on real-world malware datasets?
  • RQ4Can a linear-time, execution-agnostic method achieve robust detection performance across varying malware proportions in test sets?
  • RQ5Does the use of statistical language models trained on benign and malware zoos enable effective discrimination between malware and benign software based on information-theoretic divergence?

Key findings

  • ITect achieved 100% precision and 90.3% accuracy on a mixed dataset of 30,000 malware and 2,000 benign files, outperforming all 56 VirusTotal AV engines.
  • The best-performing VirusTotal engine achieved 99.4% precision but only 71.4% accuracy, demonstrating that ITect provides significantly better overall accuracy.
  • ITect's precision remained constant at 100% even as the proportion of malware in the test set dropped from 50% to 0%, while accuracy improved.
  • Both EnTS and SLaMM components detected malware types they were not specifically designed for—EnTS detected metamorphic malware due to compressed/encrypted regions, and SLaMM detected polymorphic malware due to low entropy in benign models.
  • The time complexity of ITect is linear in the number of files, enabling scalable deployment in large-scale malware analysis pipelines.
  • The method is execution-agnostic and operates directly on raw strings, bypassing the need for virtual machines, sandboxes, or reverse engineering, reducing human and computational overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.