Visible to the public Co-processor-based Behavior Monitoring: Application to the Detection of Attacks Against the System Management Mode

TitleCo-processor-based Behavior Monitoring: Application to the Detection of Attacks Against the System Management Mode
Publication TypeConference Paper
Year of Publication2017
AuthorsChevalier, Ronny, Villatel, Maugan, Plaquin, David, Hiet, Guillaume
Conference NameProceedings of the 33rd Annual Computer Security Applications Conference
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-5345-8
KeywordsBIOS Security, CFI, co-processor, firmware, Hardware-based monitoring, human factors, Metrics, pubcrawl, Resiliency, Scalability, SMM
Abstract

Highly privileged software, such as firmware, is an attractive target for attackers. Thus, BIOS vendors use cryptographic signatures to ensure firmware integrity at boot time. Nevertheless, such protection does not prevent an attacker from exploiting vulnerabilities at runtime. To detect such attacks, we propose an event-based behavior monitoring approach that relies on an isolated co-processor. We instrument the code executed on the main CPU to send information about its behavior to the monitor. This information helps to resolve the semantic gap issue. Our approach does not depend on a specific model of the behavior nor on a specific target. We apply this approach to detect attacks targeting the System Management Mode (SMM), a highly privileged x86 execution mode executing firmware code at runtime. We model the behavior of SMM using invariants of its control-flow and relevant CPU registers (CR3 and SMBASE). We instrument two open-source firmware implementations: EDKII and coreboot. We evaluate the ability of our approach to detect state-of-the-art attacks and its runtime execution overhead by simulating an x86 system coupled with an ARM Cortex A5 co-processor. The results show that our solution detects intrusions from the state of the art, without any false positives, while remaining acceptable in terms of performance overhead in the context of the SMM (i.e., less than the 150 us threshold defined by Intel).

URLhttp://doi.acm.org/10.1145/3134600.3134622
DOI10.1145/3134600.3134622
Citation Keychevalier_co-processor-based_2017