arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.00682cs.CRcs.SE
收藏

揭秘动态二进制插桩技术

Unveiling Dynamic Binary Instrumentation Techniques

Oscar Llorente-Vazquez, Xabier Ugarte-Pedrero, Igor Santos-Grueiro, Pablo Garcia Bringas

AI总结:

本文梳理整合进程级与全系统动态二进制插桩(DBI)技术,分析其底层技术,对比不同插桩原语与运行时事件的插桩能力及性能,发现无技术可在所有场景下最优。

摘要:

动态二进制插桩(Dynamic Binary Instrumentation,简称DBI)是一类支持在程序运行时进行插桩的技术,能够监控并修改已编译二进制文件乃至整个系统的执行过程。DBI被应用于海量安全应用与分析场景中,在工业界和学术界的诸多领域都有广泛使用。多年来,研究人员基于不同技术提出了多种DBI实现方案,采用的技术路线各不相同。每种方案都试图解决特定的局限性,但有时也会带来其他缺陷:部分方案专门针对某一特定领域或任务,其余方案的适用范围则更广。\n本文梳理了DBI领域的各类技术路线,整合了进程级和全系统两类实现方案。我们阐述了其核心构成模块,分析了底层的插桩技术,对比了它们对不同插桩原语和运行时事件的插桩能力。随后我们评估了各类技术实现每种原语时的性能,并总结了关键观察结论。结果表明,没有任何一种技术能在所有场景下都优于其他技术。

英文摘要:

Dynamic Binary Instrumentation (DBI) is the set of techniques that enable instrumentation of programs at run-time, making it possible to monitor and modify the execution of compiled binaries or entire systems. DBI is used for countless security applications and analyses, and is extensively used across many fields in both industry and academia. Over the years, several DBI approaches have been proposed based on different technologies and implementing diverse techniques. Every solution tries to overcome certain limitations, but they sometimes bring other shortcomings. Some are specialized for one particular domain or task, while others have a wider scope. In this paper, we shed light into the labyrinth of DBI, bringing together process-level and whole-system approaches. We depict their building blocks and analyze the underlying instrumentation techniques, comparing their ability to instrument different primitives and run-time events. Then, we evaluate their performance when implementing each primitive, and highlight relevant observations. Our results show that no single technique is better than the rest in all circumstances.

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

↑