arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.05975cs.CRcs.OS
收藏

Neverland:用于增强操作系统完整性的轻量级硬件扩展

Neverland: Lightweight Hardware Extensions for Enforcing Operating System Integrity

Salessawi Ferede Yitbarek, Todd Austin

摘要:

应用程序的安全性取决于操作系统的可信度,因为应用程序依赖于操作系统来保护代码和数据。因此,用于保护内核代码和数据完整性的多种保护措施不断被提出和部署。然而,这些现有的保护远非理想,因为它们要么提供部分保护,要么需要复杂且高开销的硬件和软件栈。在这项工作中,我们提出了梦幻岛:一个低开销,硬件辅助,内存保护计划,保障操作系统从rootkit和内核模式的恶意软件。一旦系统完成引导,Neverland的硬件将剥夺操作系统重写某些配置寄存器的能力,以及其自身包含内核代码和安全关键数据的部分物理地址空间。此外,它禁止CPU从分配给操作系统内核和驱动程序的物理地址之外的任何内存区域获取特权代码(无论虚拟页面权限如何)。这种保护组合使得攻击者很难篡改内核或将新的特权代码引入系统-即使存在内核漏洞。我们的评估表明,支持这些保护所需的额外硬件只会产生最小的硅和能源管理费用。Neverland使操作系统能够减少其攻击面,而无需依赖复杂的完整性监控软件或硬件。

英文摘要:

The security of applications hinges on the trustworthiness of the operating system, as applications rely on the OS to protect code and data. As a result, multiple protections for safeguarding the integrity of kernel code and data are being continuously proposed and deployed. These existing protections, however, are far from ideal as they either provide partial protection, or require complex and high overhead hardware and software stacks. In this work, we present Neverland: a low-overhead, hardware-assisted, memory protection scheme that safeguards the operating system from rootkits and kernel-mode malware. Once the system is done booting, Neverland's hardware takes away the operating system's ability to overwrite certain configuration registers, as well as portions of its own physical address space that contain kernel code and security-critical data. Furthermore, it prohibits the CPU from fetching privileged code from any memory region lying outside the physical addresses assigned to the OS kernel and drivers (regardless of virtual page permissions). This combination of protections makes it extremely hard for an attacker to tamper with the kernel or introduce new privileged code into the system -- even in the presence of kernel vulnerabilities. Our evaluations show that the extra hardware required to support these protections incurs minimal silicon and energy overheads. Neverland enables operating systems to reduce their attack surface without having to rely on complex integrity monitoring software or hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑