Similarity Regression Of Functions In Different Compiled Forms With Neural Attentions On Dual Control-Flow Graphs

Author:

Zhang Yun1,Liu Yuling1,Cheng Ge2,Wang Jie3

Affiliation:

1. College of Computer Science and Electronic Engineering , Hunan University, Changsha , China

2. School of Computer Science & School of Cyberspace Science , Xiangtan University, Xiangtan , China

3. Richard Miner School of Computer & Information Sciences , University of Massachusetts, Lowell, MA , USA

Abstract

Abstract Detecting if two functions in different compiled forms are similar has a wide range of applications in software security. We present a method that leverages both semantic and structural features of functions, learned by a neural-net model on the underlying control-flow graphs (CFGs). In particular, we devise a neural function-similarity regressor (NFSR) with attentions on dual CFGs. We train and evaluate NFSR on a dataset consisting of nearly 4 million functions from over 14 900 binary files. Experiments show that NFSR is superior to the SOTA models of SAFE, Gemini and GMN, especially for binary functions with large CFGs. An ablation study shows that attention on dual CFGs plays a significant role in detecting function similarities.

Funder

National Natural Science Foundation of China

Science and Technology Development Center of the Ministry of Education

Key Research and Development projects in Hunan Province

Publisher

Oxford University Press (OUP)

Subject

General Computer Science

Reference32 articles.

1. open source security and analysis report;Synopsys,2022

2. Asm2vec: boosting static representation robustness for binary clone search against code obfuscation and compiler optimization;Ding,2019

3. Neural network-based graph embedding for cross-platform binary code similarity detection;Xu,2017

4. Order matters: Semantic-aware neural networks for binary code similarity detection;Yu,2020

5. Graph matching networks for learning the similarity of graph structured objects;Li,2019

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3