arrow
Return

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

delete2023-09-30
delete7
delete
OA
AI
S
Shouguo Yang
Z
Zhengzi Xu *
Y
Yang Xiao *
Z
Zhe Lang
W
W. Tang
刘洋 (Yang Liu)
Z
Zhiqiang Shi
李红 (Hong Li)
L
Limin Sun
DOI:10.1145/3604608delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
Patch detection
vulnerability detection
under constrained symbolic execution
malicious function input

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

U
university of chinese academy of sciences, cas
Scholars:
4.1W
Papers: 3.8W
Citations: 75
N
Nanyang Technological University
Scholars:
4.9W
Papers: 4.8W
Citations: 8.1W
C
chinese academy of sciences
Scholars:
56.1W
Papers: 44.8W
Citations: 704
researcher View more organizations