arrow
Return

Efficient Features for Function Matching in Multi-Architecture Binary Executables

delete2021-01-01
delete3
delete
OA
AI
S
Sami Ullah
W
Wenhui Jin
H
Heekuck Oh *
DOI:10.1109/ACCESS.2021.3099429delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Binary-binary function matching problem serves as a plinth in many reverse engineering techniques such as binary diffing, malware analysis, and code plagiarism detection. In literature, function matching is performed by first extracting function features (syntactic and semantic), and later these features are used as selection criteria to formulate an approximate 1:1 correspondence between binary functions. The accuracy of the approximation is dependent on the selection of efficient features. Although substantial research has been conducted on this topic, we have explored two major drawbacks in previous research. (i) The features are optimized only for a single architecture and their matching efficiency drops for other architectures. (ii) function matching algorithms mainly focus on the structural properties of a function, which are not inherently resilient against compiler optimizations. To resolve the architecture dependency and compiler optimizations, we benefit from the intermediate representation (IR) of function assembly and propose a set of syntactic and semantic (embedding-based) features which are efficient for multi-architectures, and sensitive to compiler-based optimizations. The proposed function matching algorithm employs one-shot encoding that is flexible to small changes and uses a KNN based approach to effectively map similar functions. We have evaluated proposed features and algorithms using various binaries, which were compiled for x86 and ARM architectures; and the prototype implementation is compared with Diaphora (an industry-standard tool), and other baseline research. Our proposed prototype has achieved a matching accuracy of approx. 96%, which is higher than the compared tools and consistent against optimizations and multi-architecture binaries.
Keywords:
Feature extraction
Semantics
Optimization
Tools
Syntactics
Malware
Computer architecture
Binary diffing
efficient features
function matching
multi-architecture
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

H
hanyang university
Scholars:
2.9W
Papers: 2.7W
Citations: 36
Cited Papers

Cited Papers

Degenerating compartment and functioning compartment of motor neurons in ALS
err1983-05-01
err0
PREAI
errGen Sobue; Ko Sahashi; Akira Takahashi; Yukihiko Matsuoka; Tatsuo Muroga; Itsuro Sobue
errShare
errSave
The Seattle Structural Genomics Center for Infectious Disease (SSGCID)
err2009-10-01
err0
errOAAI
errP. Myler; R. Stacy; L. Stewart; B. Staker; W. Van Voorhis; G. Varani; G. Buchko
errShare
errSave
errShare
errSave
Spiking Suppression Precedes Cued Attentional Enhancement of Neural Responses in Primary Visual Cortex
err2017-11-23
err0
errOAAI
errMichele A Cox; Kacie Dougherty; Geoffrey K Adams; Eric A Reavis; Jacob A Westerberg; Brandon S Moore; David A Leopold; Alexander Maier
errShare
errSave
Editorial: Neurotransmitters and Emotions
err2020-01-29
err0
errOAAI
errFushun Wang; Jiongjiong Yang; Fang Pan; Roger C. Ho; Jason H. Huang
errShare
errSave
errShare
errSave
Morning Blood Pressure Surge: The Reliability of Different Definitions
err2008-01-01
err0
errOAAI
errGeorge S. STERGIOU; Stylianos E. MASTORANTONAKIS; Leonidas G. ROUSSIAS
errShare
errSave
researcher View more