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

基于调试组件的ARM SoC轻量级硬件辅助静态插装方法

A novel lightweight hardware-assisted static instrumentation approach for ARM SoC using debug components

Muhammad Abdul Wahab, Pascal Cotret, Mounir Nasr Allah, Guillaume Hiet, Arnab Kumar Biswas, Vianney Lapôtre, Guy Gogniat

摘要:

大多数用于软件安全、程序监控和事件检查方法的硬件辅助解决方案都需要对目标软件进行插装,这是一种可以使用SBI(静态二进制插装)或DBI(动态二进制插装)框架执行的操作。硬件辅助插装可以使用这两种解决方案之一来将数据插装到内存映射寄存器。这两种方法都需要深入了解框架和大量的软件修改,以便为整个应用程序提供工具。这项工作提出了一种新的方法来仪器的应用程序与微小的修改,在源代码级别,利用底层硬件调试组件,如CS(CoreSight)组件上提供的Xilinx Zynq SoC。作为一个例子,在这项工作中提出的仪器方法被用来检测双重自由的安全攻击。此外,它的运行时间和面积开销方面进行评估。结果表明,该方案平均需要30 $μ$ s来检测一条指令,而优化后的方案仅需0.014 us,比现有的内存映射寄存器方案提高了10倍。

英文摘要:

Most of hardware-assisted solutions for software security, program monitoring, and event-checking approaches require instrumentation of the target software, an operation which can be performed using an SBI (Static Binary Instrumentation) or a DBI (Dynamic Binary Instrumentation) framework. Hardware-assisted instrumentation can use one of these two solutions to instrument data to a memory-mapped register. Both these approaches require an in-depth knowledge of frameworks and an important amount of software modifications in order to instrument a whole application. This work proposes a novel way to instrument an application with minor modifications, at the source code level, taking advantage of underlying hardware debug components such as CS (CoreSight) components available on Xilinx Zynq SoCs. As an example, the instrumentation approach proposed in this work is used to detect a double free security attack. Furthermore, it is evaluated in terms of runtime and area overhead. Results show that the proposed solution takes 30 $μ$s on average to instrument an instruction while the optimized version only takes 0.014 us which is ten times better than usual memory-mapped register solutions used in existing works.

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

↑