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

OCEAN:开放世界对比式作者身份识别

OCEAN: Open-World Contrastive Authorship Identification

Institute for IT Security(信息技术安全研究所)

Felix Mächtle, Jan-Niclas Serr, Nils Loose, Jonas Sander, Thomas Eisenbarth

AI总结:

针对软件供应链安全中的二进制代码作者归属问题,提出基于对比学习的 OCEAN 框架,并构建 CONAN 与 SNOOPY 数据集,在开放世界高优化场景下取得 0.86 AUROC,且可检测未知作者的代码注入。

摘要:

在网络攻击日益以软件供应链为目标的时代,准确归属二进制文件中代码作者身份的能力,对于改进网络安全措施至关重要。我们提出 OCEAN,这是一个基于对比学习的函数级作者归属系统。OCEAN 是首个在开放世界且极端场景下探索编译后二进制代码作者归属的框架;在该场景中,系统比较来自未知作者的两个代码样本,以判断它们是否由同一作者开发。为评估 OCEAN,我们引入了新的真实数据集:CONAN 用于提升作者归属系统在真实用例中的性能,SNOOPY 用于增强此类系统评估的鲁棒性。我们使用 CONAN 训练模型,并在完全未见过的数据集 SNOOPY 上进行评估;即使在采用高编译器优化级别时,仍取得 0.86 的 AUROC 分数。我们进一步表明,与此前使用的 Google Code Jam 数据集相比,CONAN 将性能提升了 7%。此外,OCEAN 在既有方法的设置下优于以往方法,在分析源代码的场景中较最先进的 SCS-Gan 实现 10% 的提升。此外,OCEAN 能够检测软件更新中来自未知作者的代码注入,凸显了其在保障软件供应链安全方面的价值。

英文摘要:

In an era where cyberattacks increasingly target the software supply chain, the ability to accurately attribute code authorship in binary files is critical to improving cybersecurity measures. We propose OCEAN, a contrastive learning-based system for function-level authorship attribution. OCEAN is the first framework to explore code authorship attribution on compiled binaries in an open-world and extreme scenario, where two code samples from unknown authors are compared to determine if they are developed by the same author. To evaluate OCEAN, we introduce new realistic datasets: CONAN, to improve the performance of authorship attribution systems in real-world use cases, and SNOOPY, to increase the robustness of the evaluation of such systems. We use CONAN to train our model and evaluate on SNOOPY, a fully unseen dataset, resulting in an AUROC score of 0.86 even when using high compiler optimizations. We further show that CONAN improves performance by 7% compared to the previously used Google Code Jam dataset. Additionally, OCEAN outperforms previous methods in their settings, achieving a 10% improvement over state-of-the-art SCS-Gan in scenarios analyzing source code. Furthermore, OCEAN can detect code injections from an unknown author in a software update, underscoring its value for securing software supply chains.

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

↑