基于多级标记模型的解释支持的软件重用检测
Interpretation-enabled Software Reuse Detection Based on a Multi-Level Birthmark Model
摘要:
软件复用,特别是部分复用,给软件开发带来了法律和安全威胁。由于软件复用的源代码通常不可用,因此很难通过解释来检测软件复用。另一方面,现有的方法检测精度和效率都很低,远远不能满足实际需要。为了解决这些问题,在本文中,我们提出了\textit{ISRD},解释使能的软件重用检测方法的基础上,包括功能级,基本块级,指令级的多级胎记模型。为了克服交叉编译造成的混淆,我们用最小分支路径(MBP)来表示函数语义,并进行规范化以提取指令的核心语义。为了有效地检测复用函数,设计了一种“基于锚点识别的意图搜索”过程来加速复用检测。它使用严格的指令匹配和相同的库调用调用检查来找到锚函数(简称锚),然后遍历锚的邻居来探索潜在的匹配函数对。基于两个真实二进制数据集的大量实验表明,\textit{ISRD}是可解释的,有效的,高效的,达到了$97.2\%$的准确率和$94.8\%$的召回率.此外,它对交叉编译具有弹性,性能优于最先进的方法。
英文摘要:
Software reuse, especially partial reuse, poses legal and security threats to software development. Since its source codes are usually unavailable, software reuse is hard to be detected with interpretation. On the other hand, current approaches suffer from poor detection accuracy and efficiency, far from satisfying practical demands. To tackle these problems, in this paper, we propose \textit{ISRD}, an interpretation-enabled software reuse detection approach based on a multi-level birthmark model that contains function level, basic block level, and instruction level. To overcome obfuscation caused by cross-compilation, we represent function semantics with Minimum Branch Path (MBP) and perform normalization to extract core semantics of instructions. For efficiently detecting reused functions, a process for "intent search based on anchor recognition" is designed to speed up reuse detection. It uses strict instruction match and identical library call invocation check to find anchor functions (in short anchors) and then traverses neighbors of the anchors to explore potentially matched function pairs. Extensive experiments based on two real-world binary datasets reveal that \textit{ISRD} is interpretable, effective, and efficient, which achieves $97.2\%$ precision and $94.8\%$ recall. Moreover, it is resilient to cross-compilation, outperforming state-of-the-art approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。