arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1105.1846cs.CR
收藏

通过静态二进制重写和程序引导保护内核

Securing The Kernel via Static Binary Rewriting and Program Shepherding

Piotr Bania

摘要:

最近的微软安全公告显示,内核漏洞正在成为越来越重要的安全威胁。尽管有相当广泛的安全缓解措施,许多内核漏洞仍然是可利用的。成功利用内核漏洞通常会授予攻击者最大权限级别,并导致整个计算机受损。为了防止内核利用,我们开发了一个工具,静态重写Microsoft Windows内核以及其他内核级模块。这种重写的二进制文件允许我们在操作系统执行期间监视控制流传输。在这一点上,我们能够检测选择的控制转移流是否有效,或者应该被视为攻击企图。我们的解决方案特别针对防止远程内核利用企图。此外,许多本地权限提升攻击也被阻止(也是由于我们实施了额外的缓解技术)。我们的工具在IA-32兼容处理器上使用Microsoft Windows XP、Windows Vista和Windows 7(在虚拟机和物理机下)进行了测试。我们的设备也是完全独立的,不需要任何第三方软件。

英文摘要:

Recent Microsoft security bulletins show that kernel vulnerabilities are becoming more and more important security threats. Despite the pretty extensive security mitigations many of the kernel vulnerabilities are still exploitable. Successful kernel exploitation typically grants the attacker maximum privilege level and results in total machine compromise. To protect against kernel exploitation, we have developed a tool which statically rewrites the Microsoft Windows kernel as well as other kernel level modules. Such rewritten binary files allow us to monitor control flow transfers during operating system execution. At this point we are able to detect whether selected control transfer flow is valid or should be considered as an attack attempt. Our solution is especially directed towards preventing remote kernel exploitation attempts. Additionally, many of the local privilege escalation attacks are also blocked (also due to additional mitigation techniques we have implemented). Our tool was tested with Microsoft Windows XP, Windows Vista and Windows 7 (under both virtual and physical machines) on IA-32 compatible processors. Our apparatus is also completely standalone and does not require any third party software.

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

↑