Statistical similarity of binaries

Author:

David Yaniv1,Partush Nimrod1,Yahav Eran1

Affiliation:

1. Technion, Israel

Abstract

We address the problem of finding similar procedures in stripped binaries. We present a new statistical approach for measuring the similarity between two procedures. Our notion of similarity allows us to find similar code even when it has been compiled using different compilers, or has been modified. The main idea is to use similarity by composition: decompose the code into smaller comparable fragments, define semantic similarity between fragments, and use statistical reasoning to lift fragment similarity into similarity between procedures. We have implemented our approach in a tool called Esh, and applied it to find various prominent vulnerabilities across compilers and versions, including Heartbleed, Shellshock and Venom. We show that Esh produces high accuracy results, with few to no false positives -- a crucial factor in the scenario of vulnerability search in stripped binaries.

Funder

Ministry of Science and Technology, Israel

Seventh Framework Programme

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference35 articles.

1. Clobberingtime: Cves and a ffected products. http://www. kb.cert.org/vuls/id/852879. Clobberingtime: Cves and a ffected products. http://www. kb.cert.org/vuls/id/852879.

2. Gnu coreutils. http://www.gnu.org/software/ coreutils. Gnu coreutils. http://www.gnu.org/software/ coreutils.

3. Heartbleed vulnerability cve information. https: //cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2014-0160. Heartbleed vulnerability cve information. https: //cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2014-0160.

4. Hex-rays IDAPRO. http://www.hex-rays.com. Hex-rays IDAPRO. http://www.hex-rays.com.

5. Smack: A bounded software verifier for c programs. https: //github.com/smackers/smack. Smack: A bounded software verifier for c programs. https: //github.com/smackers/smack.

Cited by 39 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. HAformer: Semantic fusion of hex machine code and assembly code for cross-architecture binary vulnerability detection;Computers & Security;2024-10

2. CEBin: A Cost-Effective Framework for Large-Scale Binary Code Similarity Detection;Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis;2024-09-11

3. Vulnerabilities and Security Patches Detection in OSS: A Survey;ACM Computing Surveys;2024-09-09

4. A Semantics-Based Approach on Binary Function Similarity Detection;IEEE Internet of Things Journal;2024-08-01

5. R2I: A Relative Readability Metric for Decompiled Code;Proceedings of the ACM on Software Engineering;2024-07-12

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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