JIT-ROP下量化(重)随机化安全性和定时的方法
Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP
摘要:
即时返回导向编程(JIT-ROP)允许动态发现指令页并发起代码重用攻击,有效地绕过大多数细粒度地址空间布局随机化(ASLR)保护。然而,关于代码(重新)随机化对代码重用攻击的影响的深入问题尚未研究。例如,如何通过考虑Gadget收敛的速度来有效地计算重新随机化间隔,以击败JIT-ROP攻击?JIT-ROP中的启动指针如何影响小工具可用性和小工具收敛时间?细粒度代码随机化对JIT-ROP有效负载的图灵完备表达能力有什么影响?我们对细粒度代码随机化方案的有效性进行了全面的测量研究,使用5个工具,20个应用程序,包括6个浏览器,1个浏览器引擎和25个动态库。我们提供的方法来衡量JIT-ROP小工具的可用性,质量,和他们的图灵完备的表现力,以及经验性地确定使用图灵完备(TC),优先级,MOV TC和有效载荷小工具集的重新随机化方案中的重新随机化间隔的上限。实验表明,在我们测试的应用程序中,上限范围从1.5到3.5秒。此外,我们的研究结果表明,在JIT-ROP攻击中使用的泄漏指针的位置对小工具的可用性没有影响,但对攻击者找到小工具的速度有影响。我们的研究结果还表明,防御级别的单轮随机化挫败了当前的小工具发现技术下的JIT-ROP威胁模型。
英文摘要:
Just-in-time return-oriented programming (JIT-ROP) allows one to dynamically discover instruction pages and launch code reuse attacks, effectively bypassing most fine-grained address space layout randomization (ASLR) protection. However, in-depth questions regarding the impact of code (re-)randomization on code reuse attacks have not been studied. For example, how would one compute the re-randomization interval effectively by considering the speed of gadget convergence to defeat JIT-ROP attacks?; how do starting pointers in JIT-ROP impact gadget availability and gadget convergence time?; what impact do fine-grained code randomizations have on the Turing-complete expressive power of JIT-ROP payloads? We conduct a comprehensive measurement study on the effectiveness of fine-grained code randomization schemes, with 5 tools, 20 applications including 6 browsers, 1 browser engine, and 25 dynamic libraries. We provide methodologies to measure JIT-ROP gadget availability, quality, and their Turing-complete expressiveness, as well as to empirically determine the upper bound of re-randomization intervals in re-randomization schemes using the Turing-complete (TC), priority, MOV TC, and payload gadget sets. Experiments show that the upper bound ranges from 1.5 to 3.5 seconds in our tested applications. Besides, our results show that locations of leaked pointers used in JIT-ROP attacks have no impacts on gadget availability, but have an impact on how fast attackers find gadgets. Our results also show that instruction-level single-round randomization thwarts current gadget finding techniques under the JIT-ROP threat model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。