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

抵御控制和非控制数据攻击的粗粒度动态污点分析

Coarse-grained Dynamic Taint Analysis for Defeating Control and Non-control Data Attacks

Pankaj Kohli

摘要:

内存损坏攻击仍然是计算机安全的主要威胁。信息流跟踪或污点分析已被证明是有效的,对大多数内存损坏攻击。然而,当前基于污点分析的技术存在两个缺点。首先,这些技术会导致应用程序速度降低约76%,从而限制了它们的实用性。其次,这些技术不能处理非控制数据攻击,即,不覆盖控制数据(如返回地址),而是覆盖关键应用程序配置数据或用户身份数据的攻击。在这项工作中,为了解决这些问题,我们描述了一个粗粒度的污点分析技术,使用信息流跟踪的应用程序数据对象的水平。我们在每个被不可信数据修改的应用程序对象上传播一位污点,从而大大减少了污点管理开销。我们进行了广泛的实验评估,我们的方法,并表明它可以检测所有的关键攻击,如缓冲区溢出,格式字符串攻击,包括非控制数据攻击。与目前已知的可以检测到如此广泛的攻击的方法不同,我们的方法不需要源代码或任何硬件扩展。运行时的性能开销评估表明,平均而言,我们的方法导致应用程序的速度减慢只有37%,这是一个数量级的改善现有的方法。最后,由于我们的方法执行运行时二进制插装,因此更容易将其与现有应用程序和系统集成。

英文摘要:

Memory corruption attacks remain the primary threat for computer security. Information flow tracking or taint analysis has been proven to be effective against most memory corruption attacks. However, there are two shortcomings with current taint analysis based techniques. First, these techniques cause application slowdown by about 76% thereby limiting their practicality. Second, these techniques cannot handle non-control data attacks i.e., attacks that do not overwrite control data such as return address, but instead overwrite critical application configuration data or user identity data. In this work, to address these problems, we describe a coarse-grained taint analysis technique that uses information flow tracking at the level of application data objects. We propagate a one-bit taint over each application object that is modified by untrusted data thereby reducing the taint management overhead considerably. We performed extensive experimental evaluation of our approach and show that it can detect all critical attacks such as buffer overflows, and format string attacks, including non-control data attacks. Unlike the currently known approaches that can detect such a wide range of attacks, our approach does not require the source code or any hardware extensions. Run-time performance overhead evaluation shows that, on an average, our approach causes application slowdown by only 37% which is an order of magnitude improvement over existing approaches. Finally, since our approach performs run-time binary instrumentation, it is easier to integrate it with existing applications and systems.

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

↑