arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.02197cs.SEcs.AI
收藏

Bin2Vec:可解释和可审计的多视图二进制分析用于代码抄袭检测

Bin2Vec: Interpretable and Auditable Multi-View Binary Analysis for Code Plagiarism Detection

Computer Science Research Laboratory(LaRI), Faculty of Science, Ibn Tofail University(计算机科学研究实验室(LaRI)、科学学院、伊本·图法易大学);Faculty of Science, Mohammed V University In Rabat(科学学院、穆罕默德五世大学)

Moussa Moussaoui, Tarik Houichime, Abdelalim Sadiq

AI总结:

Bin2Vec通过多视图二进制分析提供可解释的代码抄袭检测方法,结合程序结构和运行行为生成可靠且可视化友好的相似性评分。

摘要:

我们介绍了一个新的框架Bin2Vec,它帮助以清晰且可解释的方式比较软件程序。与只关注一种信息类型不同,Bin2Vec结合了程序的外观(其内置函数、导入和导出)与程序运行时的行为(其指令和内存使用)。这在决定两个程序是否相似时提供了更全面的视图。Bin2Vec将这些不同类型的信息表示为可以分别用易于阅读的图表检查的视图,然后将它们结合起来形成一个总体的相似性分数。Bin2Vec通过生成可以被机器学习模型高效处理的特征表示,充当二进制表示与机器学习技术之间的桥梁。我们对PuTTY和7-Zip两个知名Windows程序的多个版本进行了测试。主要结果强烈证实了我们的方法计算出的分析软件的最优且可视化友好的表示。例如,PuTTY版本显示了更复杂的运行行为和内存活动,而7-Zip版本则更关注与性能相关的模式。总体而言,Bin2Vec提供了既可靠又可解释给人类的决策。由于其模块化和易于扩展,它可以应用于审计、验证软件来源或在网络安全和逆向工程工作中快速筛查大量程序。

英文摘要:

We introduce Bin2Vec, a new framework that helps compare software programs in a clear and explainable way. Instead of focusing only on one type of information, Bin2Vec combines what a program looks like (its built-in functions, imports, and exports) with how it behaves when it runs (its instructions and memory usage). This gives a more complete picture when deciding whether two programs are similar or not. Bin2Vec represents these different types of information as views that can be inspected separately using easy-to-read charts, and then brings them together into an overall similarity score. Bin2Vec acts as a bridge between binary representations and machine learning techniques by generating feature representations that can be efficiently processed by machine-learning models. We tested Bin2Vec on multiple versions of two well-known Windows programs, PuTTY and 7-Zip. The primary results strongly confirmed that our method compute an optimal and visualization-friendly representation of the analyzed software. For example, PuTTY versions showed more complex behavior and memory activity, while 7-Zip versions focused more on performance-related patterns. Overall, Bin2Vec provides decisions that are both reliable and explainable to humans. Because it is modular and easy to extend, it can be applied to tasks like auditing, verifying software origins, or quickly screening large numbers of programs in cybersecurity and reverse-engineering work.

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

↑