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

ROPocop-动态缓解代码重用攻击

ROPocop - Dynamic Mitigation of Code-Reuse Attacks

Andreas Follner, Eric Bodden

摘要:

控制流攻击通常是利用缓冲区溢出漏洞来实现的,十五年来一直是对系统安全的严重威胁。研究人员已经通过各种缓解技术来应对这种威胁,但尽管如此,成功绕过这些技术的新漏洞仍然经常出现。在本文中,我们提出了ROPocop,一种新的方法,用于检测和防止执行注入的代码,并减轻代码重用攻击,如面向返回的编程(RoP)。ROPocop使用动态二进制插装,既不需要访问源代码,也不需要调试符号或更改操作系统。它通过在潜在危险点监视程序计数器和检测可疑程序流来减轻攻击。我们已经实现了ROPocop的Windows x86使用PIN,一个动态的程序插装框架从英特尔。使用SPEC CPU2006套件的基准测试显示,平均开销为2.4倍,这与提供较弱保证的类似方法相当。真实世界的应用程序显示只有一个最初明显的输入滞后,没有口吃。在我们的评估中,我们的工具成功地检测到了所有11个最新的真实世界代码重用漏洞,没有错误警报。因此,尽管开销很大,但如果供应商的补丁还不可用,这是一个可行的临时解决方案,可以保护关键系统免受攻击。

英文摘要:

Control-flow attacks, usually achieved by exploiting a buffer-overflow vulnerability, have been a serious threat to system security for over fifteen years. Researchers have answered the threat with various mitigation techniques, but nevertheless, new exploits that successfully bypass these technologies still appear on a regular basis. In this paper, we propose ROPocop, a novel approach for detecting and preventing the execution of injected code and for mitigating code-reuse attacks such as return-oriented programming (RoP). ROPocop uses dynamic binary instrumentation, requiring neither access to source code nor debug symbols or changes to the operating system. It mitigates attacks by both monitoring the program counter at potentially dangerous points and by detecting suspicious program flows. We have implemented ROPocop for Windows x86 using PIN, a dynamic program instrumentation framework from Intel. Benchmarks using the SPEC CPU2006 suite show an average overhead of 2.4x, which is comparable to similar approaches, which give weaker guarantees. Real-world applications show only an initially noticeable input lag and no stutter. In our evaluation our tool successfully detected all 11 of the latest real-world code-reuse exploits, with no false alarms. Therefore, despite the overhead, it is a viable, temporary solution to secure critical systems against exploits if a vendor patch is not yet available.

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

↑