基于基本块顶点影响的相似二进制码搜索

Xiaodong Zhu, Liehui Jiang, Zeng Chen, Lin Yan
{"title":"基于基本块顶点影响的相似二进制码搜索","authors":"Xiaodong Zhu, Liehui Jiang, Zeng Chen, Lin Yan","doi":"10.1109/CTISC52352.2021.00011","DOIUrl":null,"url":null,"abstract":"Binary code similarity detection (BCSD) has many security applications and has attracted a lot of focus. But existing solutions for BCSD problems mainly focus on comparing the similarity between two binary functions and what need to be compared is not always a pair of equal-size binary programs. To solve the problem of searching similar binary code for a small size program in a large size program, in this manuscript, we propose a searching method based on the influence of basic block vertex. Firstly, we formalize the similar code searching problem as a subgraph matching problem and extract the attributed control flow graphs (ACFGs) of the binary programs. Then, we propose a novel metrics to measure the influence of each basic block vertex in query ACFGs and choose the vertex with the largest influence value as the central node. Next, we take the matching nodes of the central node in target ACFG as seed nodes and extending each candidate sub-area from the seed nodes. At last, these candidate sub-areas are further filtered and similar subgraphs are verified in these sub-areas. Experimental results indicate that the proposed method can find similar binary code efficiently.","PeriodicalId":268378,"journal":{"name":"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Searching for similar binary code based on the influence of basic block vertex\",\"authors\":\"Xiaodong Zhu, Liehui Jiang, Zeng Chen, Lin Yan\",\"doi\":\"10.1109/CTISC52352.2021.00011\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Binary code similarity detection (BCSD) has many security applications and has attracted a lot of focus. But existing solutions for BCSD problems mainly focus on comparing the similarity between two binary functions and what need to be compared is not always a pair of equal-size binary programs. To solve the problem of searching similar binary code for a small size program in a large size program, in this manuscript, we propose a searching method based on the influence of basic block vertex. Firstly, we formalize the similar code searching problem as a subgraph matching problem and extract the attributed control flow graphs (ACFGs) of the binary programs. Then, we propose a novel metrics to measure the influence of each basic block vertex in query ACFGs and choose the vertex with the largest influence value as the central node. Next, we take the matching nodes of the central node in target ACFG as seed nodes and extending each candidate sub-area from the seed nodes. At last, these candidate sub-areas are further filtered and similar subgraphs are verified in these sub-areas. Experimental results indicate that the proposed method can find similar binary code efficiently.\",\"PeriodicalId\":268378,\"journal\":{\"name\":\"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)\",\"volume\":\"5 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CTISC52352.2021.00011\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 3rd International Conference on Advances in Computer Technology, Information Science and Communication (CTISC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CTISC52352.2021.00011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

二进制代码相似度检测(BCSD)具有广泛的安全应用,引起了人们的广泛关注。但是现有的BCSD问题的解主要集中在比较两个二进制函数之间的相似性,需要比较的并不总是一对大小相等的二进制程序。为了解决小程序在大程序中查找相似二进制码的问题,本文提出了一种基于基本块顶点影响的查找方法。首先,将相似码搜索问题形式化为子图匹配问题,提取出二进制程序的属性控制流图(acfg)。然后,我们提出了一种新的度量标准来衡量查询acfg中每个基本块顶点的影响,并选择影响值最大的顶点作为中心节点。接下来,我们将目标ACFG中中心节点的匹配节点作为种子节点,并从种子节点扩展每个候选子区域。最后,对候选子区域进行进一步过滤,并在这些子区域中验证相似子图。实验结果表明,该方法能有效地找到相似二进制码。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Searching for similar binary code based on the influence of basic block vertex
Binary code similarity detection (BCSD) has many security applications and has attracted a lot of focus. But existing solutions for BCSD problems mainly focus on comparing the similarity between two binary functions and what need to be compared is not always a pair of equal-size binary programs. To solve the problem of searching similar binary code for a small size program in a large size program, in this manuscript, we propose a searching method based on the influence of basic block vertex. Firstly, we formalize the similar code searching problem as a subgraph matching problem and extract the attributed control flow graphs (ACFGs) of the binary programs. Then, we propose a novel metrics to measure the influence of each basic block vertex in query ACFGs and choose the vertex with the largest influence value as the central node. Next, we take the matching nodes of the central node in target ACFG as seed nodes and extending each candidate sub-area from the seed nodes. At last, these candidate sub-areas are further filtered and similar subgraphs are verified in these sub-areas. Experimental results indicate that the proposed method can find similar binary code efficiently.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信