Learning to detect malicious executables in the wild

Marcus A. Maloof

2004 · 472 citations · 34 references

Concepts

TL;DR

To the best of our knowledge, ours is the only fielded application for detecting malicious executables in the wild that uses machine‑learning and data‑mining techniques. In this paper, we describe the development of a fielded application for detecting malicious executables in the wild. The authors collected 1,971 benign and 1,651 malicious executables, encoded them with byte‑code n‑gram features, selected the most relevant n‑grams, and evaluated inductive methods such as naive Bayes, decision trees, SVMs, and boosting. Processing produced over 255 million distinct n‑grams, and boosted decision trees achieved an AUC of 0.996, indicating strong performance and suggesting the approach scales to larger datasets.

Abstract

In this paper, we describe the development of a fielded application for detecting malicious executables in the wild. We gathered 1971 benign and 1651 malicious executables and encoded each as a training example using n-grams of byte codes as features. Such processing resulted in more than 255 million distinct n-grams. After selecting the most relevant n-grams for prediction, we evaluated a variety of inductive methods, including naive Bayes, decision trees, support vector machines, and boosting. Ultimately, boosted decision trees outperformed other methods with an area under the roc curve of 0.996. Results also suggest that our methodology will scale to larger collections of executables. To the best of our knowledge, ours is the only fielded application for this task developed using techniques from machine learning and data mining.

References

34