Towards Practical Binary Code Similarity Detection: Vulnerability Verification via Patch Semantic Analysis

Author:

Yang Shouguo1ORCID,Xu Zhengzi2ORCID,Xiao Yang1ORCID,Lang Zhe1ORCID,Tang Wei3ORCID,Liu Yang2ORCID,Shi Zhiqiang1ORCID,Li Hong1ORCID,Sun Limin1ORCID

Affiliation:

1. Institute of Information Engineering, Chinese Academy of Sciences, China and School of Cyber Security, University of Chinese Academy of Sciences, China

2. School of Computer Science and Engineering, Nanyang Technological University, Singapore

3. School of Software, Tsinghua University, China

Abstract

Vulnerability is a major threat to software security. It has been proven that binary code similarity detection approaches are efficient to search for recurring vulnerabilities introduced by code sharing in binary software. However, these approaches suffer from high false-positive rates (FPRs) since they usually take the patched functions as vulnerable, and they usually do not work well when binaries are compiled with different compilation settings. To this end, we propose an approach, named Robin , to confirm recurring vulnerabilities by filtering out patched functions. Robin is powered by a lightweight symbolic execution to solve the set of function inputs that can lead to the vulnerability-related code. It then executes the target functions with the same inputs to capture the vulnerable or patched behaviors for patched function filtration. Experimental results show that Robin achieves high accuracy for patch detection across different compilers and compiler optimization levels respectively on 287 real-world vulnerabilities of 10 different software. Based on accurate patch detection, Robin significantly reduces the false-positive rate of state-of-the-art vulnerability detection tools (by 94.3% on average), making them more practical. Robin additionally detects 12 new potentially vulnerable functions.

Funder

National Key R&D Program of China

Strategic Priority Research Program of Chinese Academy of Sciences

Joint Fund Cultivation Project of National Natural Science Foundation of China

Science and Technology Project of State Grid Corporation of China

National Natural Science Foundation of China

Young Scientists Fund of the National Natural Science Foundation of China

Chinese National Natural Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference65 articles.

1. 2010. angr. Retrieved February 15 2021 from https://angr.io/

2. 2015. CVE - CVE-2015-0288. Retrieved February 21 2021 from https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2015-0288

3. 2018. the-overlooked-problem-of-n-day-vulnerabilities. Retrieved February 08 2021 from https://www.darkreading.com/vulnerabilities-threats/the-overlooked-problem-of-n-day-vulnerabilities

4. CVE - CVE-2015-0209;R,2021

5. CVE - CVE-2015-0289;R,2021

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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