LightDE:一种消除悬空指针的轻量级方法
LightDE: A Lightweight Method for Eliminating Dangling Pointers
AI总结:
针对现有消除悬空指针防御UAF漏洞需中断程序执行且不够轻量的问题,提出LightDE方法,通过结构敏感指针分析在编译期存储指向关系,实现轻量且低开销的有效防御。
摘要:
Use-After-Free (UAF) 漏洞的广泛存在对软件安全构成了严重威胁,而悬空指针被认为是导致这些漏洞的主要原因。然而,现有的通过消除悬空指针来防御 UAF 漏洞的方法,在遇到指针赋值操作时需要中断程序的执行,以便将指针的内存地址存储在特定的数据结构中。这使得这些方法不够轻量。为了克服这一缺陷,我们提出了一种名为 LightDE 的新方法。该方法不需要在程序执行期间存储指针的内存地址。LightDE 使用我们提出的结构敏感指针分析方法来确定指针指向哪些对象,并在程序编译期间将指向关系存储在程序的数据段中。由于 LightDE 在消除悬空指针时只需验证由指针分析识别出的指针是否指向已释放的对象,因此它非常轻量。我们的实验结果表明,LightDE 能够有效防御 UAF 漏洞,且其引入的性能开销非常低。
英文摘要:
The widespread presence of Use-After-Free (UAF) vulnerabilities poses a serious threat to software security, with dangling pointers being considered the primary cause of these vulnerabilities. However, existing methods for defending against UAF vulnerabilities by eliminating dangling pointers need to interrupt the program's execution when encountering pointer assignment operations in order to store the memory addresses of the pointers in a specific data structure. This makes these methods not lightweight. To overcome this drawback, we propose a novel approach called LightDE. This method does not require storing the memory addresses of pointers during program execution. LightDE uses our proposed structure-sensitive pointer analysis method to determine which objects pointers point to and stores the pointing relationships in the program's data segment during program compilation. Since LightDE only needs to verify if pointers identified by the pointer analysis point to released objects when eliminating dangling pointers, it is very lightweight. Our experimental results show that LightDE can effectively defend against UAF vulnerabilities and the performance overhead it introduces is very low.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。