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

从小工具分析小工具质量的度量

Analyzing the Gadgets Towards a Metric to Measure Gadget Quality

Andreas Follner, Alexandre Bartel, Eric Bodden

摘要:

当前的低级漏洞利用通常依赖于代码重用,其中短的代码段(小工具)被链接在一起成为一个连贯的漏洞利用,可以在不需要注入任何代码的情况下执行。有几种保护机制试图通过应用代码转换来减少可用小工具的数量,从而消除此攻击向量。然而,已经出现的是,剩余的小工具仍然足以进行成功的攻击。至关重要的是,缺乏“小工具质量”的共同衡量标准阻碍了对当前缓解措施的有效比较。这项工作提出了四个指标,为一组小工具分配分数,衡量质量,有用性和实用性。我们将这些指标应用于编译实现英特尔最新MPX CPU扩展的架构程序时生成的二进制文件。我们的研究结果表明,MPX二进制文件中有用的小工具增加了17%,副作用和先决条件减少了,使它们更适合ROP攻击。

英文摘要:

Current low-level exploits often rely on code-reuse, whereby short sections of code (gadgets) are chained together into a coherent exploit that can be executed without the need to inject any code. Several protection mechanisms attempt to eliminate this attack vector by applying code transformations to reduce the number of available gadgets. Nevertheless, it has emerged that the residual gadgets can still be sufficient to conduct a successful attack. Crucially, the lack of a common metric for "gadget quality" hinders the effective comparison of current mitigations. This work proposes four metrics that assign scores to a set of gadgets, measuring quality, usefulness, and practicality. We apply these metrics to binaries produced when compiling programs for architectures implementing Intel's recent MPX CPU extensions. Our results demonstrate a 17% increase in useful gadgets in MPX binaries, and a decrease in side-effects and preconditions, making them better suited for ROP attacks.

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

↑