中文版 | English
题名

BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching

作者
DOI
发表日期
2024-04-20
ISSN
0270-5257
ISBN
979-8-3503-8214-3
会议录名称
会议日期
14-20 April 2024
会议地点
Lisbon, Portugal
摘要
While third-party libraries (TPLs) are extensively reused to enhance productivity during software development, they can also introduce potential security risks such as vulnerability propagation. Software composition analysis (SCA), proposed to identify reused TPLs for reducing such risks, has become an essential procedure within modern DevSecOps. As one of the mainstream SCA techniques, binary-to-source SCA identifies the third-party source projects contained in binary files via binary source code matching, which is a major challenge in reverse engineering since binary and source code exhibit substantial disparities after compilation. The existing binary-to-source SCA techniques leverage basic syntactic features that suffer from redundancy and lack robustness in the large-scale TPL dataset, leading to inevitable false positives and compromised recall. To mitigate these limitations, we introduce BinaryAI, a novel binary-to-source SCA technique with two-phase binary source code matching to capture both syntactic and semantic code features. First, BinaryAI trains a transformer-based model to produce function-level embeddings and obtain similar source functions for each binary function accordingly. Then by applying the link-time locality to facilitate function matching, BinaryAI detects the reused TPLs based on the ratio of matched source functions. Our experimental results demonstrate the superior performance of BinaryAI in terms of binary source code matching and the downstream SCA task. Specifically, our embedding model outperforms the state-of-the-art model CodeCMR, i.e., achieving 22.54% recall@l and 0.34 MRR compared with 10.75% and 0.17 respectively. Additionally, BinaryAI outperforms all existing binary-to-source SCA tools in TPL detection, increasing the precision from 73.36% to 85.84% and recall from 59.81% to 64.98% compared with the well-recognized commercial SCA product Black Duck. E-https://www.binaryai.net
学校署名
第一
相关链接[IEEE记录]
收录类别
引用统计
成果类型会议论文
条目标识符http://sustech.caswiz.com/handle/2SGJ60CL/789241
专题工学院_斯发基斯可信自主研究院
南方科技大学
作者单位
1.Research Institute of Trustworthy Autonomous Systems, Southern University of Science and Technology, Shenzhen, China
2.Southern University of Science and Technology, Shenzhen, China
3.Tencent Security Keen Lab, Shanghai, China
4.Department of Computer Science and Engineering, Southern University of Science and Technol-ogy, Shenzhen, China
5.Guangdong Provincial Key Laboratory of Brain-inspired Intelligent Computation, China
第一作者单位斯发基斯可信自主系统研究院
第一作者的第一单位斯发基斯可信自主系统研究院
推荐引用方式
GB/T 7714
Ling Jiang,Junwen An,Huihui Huang,et al. BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching[C],2024.
条目包含的文件
条目无相关文件。
个性服务
原文链接
推荐该条目
保存到收藏夹
查看访问统计
导出为Endnote文件
导出为Excel格式
导出为Csv格式
Altmetrics Score
谷歌学术
谷歌学术中相似的文章
[Ling Jiang]的文章
[Junwen An]的文章
[Huihui Huang]的文章
百度学术
百度学术中相似的文章
[Ling Jiang]的文章
[Junwen An]的文章
[Huihui Huang]的文章
必应学术
必应学术中相似的文章
[Ling Jiang]的文章
[Junwen An]的文章
[Huihui Huang]的文章
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
[发表评论/异议/意见]
暂无评论

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。