paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Binary Cryptographic Function Identification via Similarity Analysis with Path-Insensitive Emulation

基于路径不敏感仿真的相似性分析的二进制密码函数识别
OOPSLA 9(OOPSLA1)2025匹配度 2/10 · 论文属于程序分析与抽象解释领域,但研究目标是二进制密码函数识别,未涉及用户核心关注的 LLM/Agent 与静态分析交叉、浮点程序分析或贝叶斯程序分析。引用 0 inbox
Yikun Hu, Yituo He, Wenyu He, Haoran Li, Yubo Zhao, Shuai Wang, Dawu Gu
crossref: 2026-09-10

AI 速览

一句话:提出 BinCrypto,用区间域路径不敏感仿真做代码相似性分析,精准高效识别二进制中的密码函数。

二进制中的密码函数识别对恶意软件分析、区块链取证等安全应用至关重要,但现有方法难以兼顾准确率、效率与代码覆盖率。本文提出 BinCrypto,在区间域上进行基于仿真的代码相似性分析:它采集与行为相关的代码特征以保证准确性,同时以路径不敏感方式仿真,将值表示为区间,从而每个基本块仅分析一次,在提升效率的同时实现完整块覆盖。作者在九个真实密码库上评估,平均准确率达 83.2%,约为当前最优方法 WheresCrypto 的两倍,并成功完成静态链接库分析、跨库分析、混淆代码分析和恶意软件分析等任务,展示了实用潜力。

问题
如何在二进制文件中准确、高效且完整覆盖地识别密码函数,以支撑恶意软件分析、区块链取证等安全任务;现有方法难以兼顾准确率、效率与代码覆盖率。
方法
提出 BinCrypto,在区间域执行路径不敏感的仿真,收集行为相关代码特征并据此进行代码相似性分析;每个基本块仅需分析一次。
评估
在九个真实密码库上实验,平均准确率 83.2%,约为 WheresCrypto 的两倍,并完成静态链接库、跨库、混淆代码和恶意软件分析等任务。
原文摘要(Abstract)

It becomes an essential requirement to identify cryptographic functions in binaries due to their widespread application in modern software. The technology fundamentally supports numerous software security analyses, such as malware analysis, blockchain forensics, etc. Unfortunately, the existing methods still struggle to strike a balance between analysis accuracy, efficiency, and code coverage, which hampers their practical application. In this paper, we propose BinCrypto, a method of emulation-based code similarity analysis on the interval domain, to identify cryptographic functions in binary files. It produces accurate results because it relies on the behavior-related code features collected during emulation. On the other hand, the emulation is performed in a path-insensitive manner, where the emulated values are all represented as intervals. As such, it is able to analyze every basic block only once, accomplishing the identification efficiently, and achieve complete block coverage simultaneously. We conduct the experiments with nine real-world cryptographic libraries. The results show that BinCrypto achieves the average accuracy of 83.2%, nearly twice that of WheresCrypto, the state-of-the-art method. BinCrypto is also able to successfully complete the tasks, including statically-linked library analysis, cross-library analysis, obfuscated code analysis, and malware analysis, demonstrating its potential for practical applications.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@article{paperbot3193,
  title = {Binary Cryptographic Function Identification via Similarity Analysis with Path-Insensitive Emulation},
  author = {Yikun Hu and Yituo He and Wenyu He and Haoran Li and Yubo Zhao and Shuai Wang and Dawu Gu},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {9},
  number = {OOPSLA1},
  year = {2025},
  doi = {10.1145/3720415}
}