When malware changed its mind: An empirical study of variable program behaviors in the real world

Avllazagaj, Erin; Zhu, Ziyun; Bilge, Leyla; Balzarotti, Davide; Dumitras, Tudor
USENIX 2021, 30th USENIX Security Symposium, 11-13 August 2021, Virtual Conference 


Behavioral program analysis is widely used for understanding malware behavior, for creating rule-based detectors, and for clustering samples into malware families. However, this approach is ineffective when the behavior of individual samples changes across different executions, owing to environment sensitivity, evasive techniques or time variability. While the inability to observe the complete behavior of a program is a well-known limitation of dynamic analysis, the prevalence of this behavior variability in the wild, and the behavior components that are most affected by it, are still unknown. As the behavioral traces are typically collected by executing the samples in a controlled environment, the models created and tested using such traces do not account for the broad range of behaviors observed in the wild, and may result in a false sense of security. In this paper we conduct the first quantitative analysis of behavioral variability in Windows malware, PUP and benign samples, using a novel dataset of 7.6M execution traces, recorded in 5.4M real hosts from 113 countries. We analyze program behaviors at multiple granularities, and we show how they change across hosts and across time. We then analyze the invariant parts of the malware behaviors, and we show how this affects the effectiveness of malware detection using a common class of behavioral rules. Our findings have actionable implications for malware clustering and detection, and they emphasize that program behavior in the wild depends on a subtle interplay of factors that may only be observed at scale, by monitoring malware on real hosts. 


Type:
Conférence
Date:
2021-08-10
Department:
Sécurité numérique
Eurecom Ref:
6594
Copyright:
Copyright Usenix. Personal use of this material is permitted. The definitive version of this paper was published in USENIX 2021, 30th USENIX Security Symposium, 11-13 August 2021, Virtual Conference 
 and is available at :

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