When malware is packin' heat; limits of machine learning classifiers based on static analysis features

Aghakhani, Hojjat; Gritti, Fabio; Mecca, Francesco; Lindorfer, Martina; Ortolani, Stefano; Balzarotti, Davide; Vigna, Giovanni; Kruegel, Christopher
NDSS 2020, Network and Distributed System Security Symposium, 23-26 February 2020, San Diego, CA, USA

Machine learning techniques are widely used in addition to signatures and heuristics to increase the detection rate of anti-malware software, as they automate the creation of detection models, making it possible to handle an ever-increasing number of new malware samples. In order to foil the analysis of anti-malware systems and evade detection, malware uses packing and other forms of obfuscation. However, few realize that benign applications use packing and obfuscation as well, to protect intellectual property and prevent license abuse. In this paper, we study how machine learning based on static analysis features operates on packed samples. Malware researchers have often assumed that packing would prevent machine learning techniques from building effective classifiers. However, both industry and academia have published results that show that machine-learning-based classifiers can achieve good detection rates, leading many experts to think that classifiers are simply detecting the fact that a sample is packed, as packing is more prevalent in malicious samples. We show that, different from what is commonly assumed, packers do preserve some information when packing programs that is “useful” for malware classification. However, this information does not necessarily capture the sample’s behavior. We demonstrate that the signals extracted from packed executables are not rich enough for machine-learning-based models to (1) generalize their knowledge to operate on unseen packers, and (2) be robust against adversarial examples. We also show that a na¨ıve application of machine learning techniques results in a substantial number of false positives, which, in turn, might have resulted in incorrect labeling of ground-truth data used in past work


DOI
HAL
Type:
Conférence
City:
San Diego
Date:
2020-02-23
Department:
Sécurité numérique
Eurecom Ref:
6355
Copyright:
© ISOC. Personal use of this material is permitted. The definitive version of this paper was published in NDSS 2020, Network and Distributed System Security Symposium, 23-26 February 2020, San Diego, CA, USA and is available at : https://dx.doi.org/10.14722/ndss.2020.24310
See also:

PERMALINK : https://www.eurecom.fr/publication/6355