基于协处理器的行为监控:在系统管理模式攻击检测中的应用
Co-processor-based Behavior Monitoring: Application to the Detection of Attacks Against the System Management Mode
摘要:
高特权软件(如固件)是攻击者的一个有吸引力的目标。因此,BIOS供应商使用加密签名来确保引导时的固件完整性。然而,这种保护并不能阻止攻击者在运行时利用漏洞。为了检测这种攻击,我们提出了一种基于事件的行为监控方法,依赖于一个孤立的协处理器。我们检测在主CPU上执行的代码,将有关其行为的信息发送到监视器。这些信息有助于解决语义差距问题。我们的方法不依赖于特定的行为模型,也不依赖于特定的目标。我们应用这种方法来检测针对系统管理模式(SMM),一个高度特权的x86执行模式,在运行时执行固件代码的攻击。我们使用SMM的控制流和相关CPU寄存器(CR3和SMBASE)的不变量来建模SMM的行为。我们仪器两个开源固件实现:EDK II和coreboot。我们评估我们的方法来检测国家的最先进的攻击和它的运行时执行开销的能力,通过模拟一个x86系统加上ARM Cortex A5协处理器。结果表明,我们的解决方案可以检测到最先进的入侵,没有任何误报,同时在SMM的上下文中(即,小于英特尔定义的150 $μ$ s阈值)。
英文摘要:
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: EDK II 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 $μ$s threshold defined by Intel).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。