Visible to the public RHMD: Evasion-resilient Hardware Malware Detectors

TitleRHMD: Evasion-resilient Hardware Malware Detectors
Publication TypeConference Paper
Year of Publication2017
AuthorsKhasawneh, Khaled N., Abu-Ghazaleh, Nael, Ponomarev, Dmitry, Yu, Lei
Conference NameProceedings of the 50th Annual IEEE/ACM International Symposium on Microarchitecture
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4952-9
KeywordsAdversarial Machine Learning, Computing Theory, HMDs, malware detection, pubcrawl, resilience, Resiliency
Abstract

Hardware Malware Detectors (HMDs) have recently been proposed as a defense against the proliferation of malware. These detectors use low-level features, that can be collected by the hardware performance monitoring units on modern CPUs to detect malware as a computational anomaly. Several aspects of the detector construction have been explored, leading to detectors with high accuracy. In this paper, we explore the question of how well evasive malware can avoid detection by HMDs. We show that existing HMDs can be effectively reverse-engineered and subsequently evaded, allowing malware to hide from detection without substantially slowing it down (which is important for certain types of malware). This result demonstrates that the current generation of HMDs can be easily defeated by evasive malware. Next, we explore how well a detector can evolve if it is exposed to this evasive malware during training. We show that simple detectors, such as logistic regression, cannot detect the evasive malware even with retraining. More sophisticated detectors can be retrained to detect evasive malware, but the retrained detectors can be reverse-engineered and evaded again. To address these limitations, we propose a new type of Resilient HMDs (RHMDs) that stochastically switch between different detectors. These detectors can be shown to be provably more difficult to reverse engineer based on resent results in probably approximately correct (PAC) learnability theory. We show that indeed such detectors are resilient to both reverse engineering and evasion, and that the resilience increases with the number and diversity of the individual detectors. Our results demonstrate that these HMDs offer effective defense against evasive malware at low additional complexity.

URLhttp://doi.acm.org/10.1145/3123939.3123972
DOI10.1145/3123939.3123972
Citation Keykhasawneh_rhmd:_2017