Electronics · 2023 · 16 citations · 28 references
ComputingComputer ScienceCybersecurityComputational LinguisticsMachine LearningNatural Language ProcessingAbstract Syntax TreesControl-flow AnalysisData-flow AnalysisDeep LearningGraph-based LearningCode Similarity AnalysisGraph EmbeddingsGraph MatchingGraph Neural NetworksGraph Representation LearningMatching AlgorithmsSimilarity DetectionTransformer Models
Binary code similarity detection is used to calculate the code similarity of a pair of binary functions or files, through a certain calculation method and judgment method. It is a fundamental task in the field of computer binary security. Traditional methods of similarity detection usually use graph matching algorithms, but these methods have poor performance and unsatisfactory effects. Recently, graph neural networks have become an effective method for analyzing graph embeddings in natural language processing. Although these methods are effective, the existing methods still do not sufficiently learn the information of the binary code. To solve this problem, we propose Codeformer, an iterative model of a graph neural network (GNN)-nested Transformer. The model uses a Transformer to obtain an embedding vector of the basic block and uses the GNN to update the embedding vector of each basic block of the control flow graph (CFG). Codeformer iteratively executes basic block embedding to learn abundant global information and finally uses the GNN to aggregate all the basic blocks of a function. We conducted experiments on the OpenSSL, Clamav and Curl datasets. The evaluation results show that our method outperforms the state-of-the-art models.
28
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2023 · 76.3K citations · Full text
Chao Liu, Chen Chen, Jiawei Han et al. · 2006 · 423 citations
Scalable Graph-based Bug Search for Firmware Images
Feng Qian, Rundong Zhou, Chengcheng Xu et al. · 2016 · 391 citations