Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
Not on the map. Why?
Abstract (arXiv)
The problem of cross-platform binary code similarity detection aims at detecting whether two binary functions coming from different platforms are similar or not. It has many security applications, including plagiarism detection, malware detection, vulnerability search, etc. Existing approaches rely on approximate graph matching algorithms, which are inevitably slow and sometimes inaccurate, and hard to adapt to a new task. To address these issues, in this work, we propose a novel neural network-based approach to compute the embedding, i.e., a numeric vector, based on the control flow graph of each binary function, then the similarity detection can be done efficiently by measuring the distance between the embeddings for two functions. We implement a prototype called Gemini. Our extensive evaluation shows that Gemini outperforms the state-of-the-art approaches by large margins with respect to similarity detection accuracy. Further, Gemini can speed up prior art's embedding generation time by 3 to 4 orders of magnitude and reduce the required training time from more than 1 week down to 30 minutes to 10 hours. Our real world case studies demonstrate that Gemini can identify significantly more vulnerable firmware images than the state-of-the-art, i.e., Genius. Our research showcases a successful application of deep learning on computer security problems.
Key facts. Cited by 65 papers in the map (data through 7 Oct 2026). First posted on arXiv 22 Aug 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 15; 2022: 7; 2023: 13; 2024: 9; 2025: 9; 2026: 12.
65 papers.
Sort:
By area:
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2021The Threat of Offensive AI to Organizationscited by 37
- 2021Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detectioncited by 34
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
- 2023Conditional Graph Information Bottleneck for Molecular Relational Learningcited by 24
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2026MalTool: Malicious Tool Attacks on LLM Agentscited by 17
- 2023Shift-Robust Molecular Relational Learning with Causal Substructurecited by 15
- 2023Illuminati: Towards Explaining Graph Neural Networks for Cybersecurity Analysiscited by 14
- 2021GNN4IP: Graph Neural Network for Hardware Intellectual Property Piracy Detectioncited by 13
38 more
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 9
- 2021Can one hear the shape of a neural network?: Snooping the GPU via Magnetic Side Channelcited by 8
- 2022CGMN: A Contrastive Graph Matching Network for Self-Supervised Graph Similarity Learningcited by 8
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformercited by 8
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Codecited by 8
- 2021Semantic-aware Binary Code Representation with BERTcited by 6
- 2021Evaluating the Robustness of Trigger Set-Based Watermarks Embedded in Deep Neural Networkscited by 6
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysiscited by 6
- 2024Is Function Similarity Over-Engineered? Building a Benchmarkcited by 6
- 2021XFL: Naming Functions in Binaries with Extreme Multi-label Learningcited by 5
- 2023Graph Mining for Cybersecurity: A Surveycited by 5
- 2021Learning to Make Compiler Optimizations More Effectivecited by 4
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2023Tango: rethinking quantization for graph neural network training on GPUscited by 4
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representationscited by 4
- 2022FuncFooler: A Practical Black-box Attack Against Learning-based Binary Code Similarity Detection Methodscited by 3
- 2022UniASM: Binary Code Similarity Detection without Fine-tuningcited by 3
- 2023Adversarial Attacks against Binary Similarity Systemscited by 3
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embeddingcited by 3
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilationcited by 3
- 2021Proving Equivalence Between Complex Expressions Using Graph-to-Sequence Neural Modelscited by 2
- 2022Privacy-Preserved Neural Graph Similarity Learningcited by 2
- 2024Dynamic Neural Control Flow Execution: An Agent-Based Deep Equilibrium Approach for Binary Vulnerability Detectioncited by 2
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extractioncited by 2
- 2024On the Lack of Robustness of Binary Function Similarity Systemscited by 2
- 2025Rapid and Continuous Trust Evaluation for Effective Task Collaboration Through Siamese Modelcited by 2
- 2025Binary BPE: A Family of Cross-Platform Tokenizers for Binary Analysiscited by 2
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similaritycited by 1
- 2024FuncEvalGMN: Evaluating Functional Correctness of SQL via Graph Matching Networkcited by 1
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfercited by 1
- 2025Neural Network Graph Similarity Computation Based on Graph Fusioncited by 1
- 2025AGNOMIN -- Architecture Agnostic Multi-Label Function Name Predictioncited by 1
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysiscited by 1
50 most cited of 65 All 65 (JSON)
- 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Context3 Aug 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coverage20 May 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026Patch2Vuln: Agentic Reconstruction of Vulnerabilities from Linux Distribution Binary Patches7 May 2026
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery27 Apr 2026
- 2026Analyzing Chain of Thought (CoT) Approaches in Control Flow Code Deobfuscation Tasks16 Apr 2026
- 2026EXHIB: A Benchmark for Realistic and Diverse Evaluation of Function Similarity in the Wild2 Apr 2026
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations13 Feb 2026
- 2026MalTool: Malicious Tool Attacks on LLM Agents12 Feb 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilation21 Jan 2026
38 more
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2025Esim: EVM Bytecode Similarity Detection Based on Stable-Semantic Graph17 Nov 2025
- 2025Binary BPE: A Family of Cross-Platform Tokenizers for Binary Analysis14 Nov 2025
- 2025AGNOMIN -- Architecture Agnostic Multi-Label Function Name Prediction29 Sep 2025
- 2025Rapid and Continuous Trust Evaluation for Effective Task Collaboration Through Siamese Model20 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025Neural Network Graph Similarity Computation Based on Graph Fusion25 Feb 2025
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysis12 Feb 2025
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfer15 Dec 2024
- 2024On the Lack of Robustness of Binary Function Similarity Systems5 Dec 2024
- 2024Is Function Similarity Over-Engineered? Building a Benchmark30 Oct 2024
- 2024BLens: Contrastive Captioning of Binary Functions using Ensemble Embedding12 Sep 2024
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extraction13 Aug 2024
- 2024FuncEvalGMN: Evaluating Functional Correctness of SQL via Graph Matching Network9 Jul 2024
- 2024Dynamic Neural Control Flow Execution: An Agent-Based Deep Equilibrium Approach for Binary Vulnerability Detection3 Apr 2024
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision26 Feb 2024
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning29 Jan 2024
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity1 Dec 2023
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning22 Nov 2023
- 2023FASER: Binary Code Similarity Search through the use of Intermediate Representations5 Oct 2023
- 2023EMBERSim: A Large-Scale Databank for Boosting Similarity Search in Malware Analysis3 Oct 2023
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embedding24 Aug 2023
- 2023Exploiting Code Symmetries for Learning Program Semantics7 Aug 2023
- 2023Tango: rethinking quantization for graph neural network training on GPUs2 Aug 2023
- 2023Pluvio: Assembly Clone Search for Out-of-domain Architectures and Libraries through Transfer Learning and Conditional Variational Information Bottleneck20 Jul 2023
- 2023Shift-Robust Molecular Relational Learning with Causal Substructure29 May 2023
- 2023Conditional Graph Information Bottleneck for Molecular Relational Learning29 Apr 2023
- 2023Graph Mining for Cybersecurity: A Survey2 Apr 2023
- 2023Illuminati: Towards Explaining Graph Neural Networks for Cybersecurity Analysis26 Mar 2023
- 2023Adversarial Attacks against Binary Similarity Systems20 Mar 2023
- 2022UniASM: Binary Code Similarity Detection without Fine-tuning28 Oct 2022
- 2022Privacy-Preserved Neural Graph Similarity Learning21 Oct 2022
- 2022FuncFooler: A Practical Black-box Attack Against Learning-based Binary Code Similarity Detection Methods26 Aug 2022
- 2022BinBert: Binary Code Understanding with a Fine-tunable and Execution-aware Transformer13 Aug 2022
- 2022Cybersecurity Entity Alignment via Masked Graph Attention Networks4 Jul 2022
- 2022CGMN: A Contrastive Graph Matching Network for Self-Supervised Graph Similarity Learning30 May 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
50 newest of 65 All 65 (JSON)
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoningcited by 57
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
- 2026Analyzing Chain of Thought (CoT) Approaches in Control Flow Code Deobfuscation Taskscited by 0
- 2026Analyzing Chain of Thought (CoT) Approaches in Control Flow Code Deobfuscation Tasks16 Apr 2026
- 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detection8 Dec 2025
- 2024LLM4Vuln: A Unified Evaluation Framework for Decoupling and Enhancing LLMs' Vulnerability Reasoning29 Jan 2024
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2021The Threat of Offensive AI to Organizationscited by 37
- 2021Combining Graph Neural Networks with Expert Knowledge for Smart Contract Vulnerability Detectioncited by 34
- 2021ModelDiff: Testing-Based DNN Similarity Comparison for Model Reuse Detectioncited by 33
- 2023Conditional Graph Information Bottleneck for Molecular Relational Learningcited by 24
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2023Shift-Robust Molecular Relational Learning with Causal Substructurecited by 15
- 2023Illuminati: Towards Explaining Graph Neural Networks for Cybersecurity Analysiscited by 14
- 2021GNN4IP: Graph Neural Network for Hardware Intellectual Property Piracy Detectioncited by 13
- 2023Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learningcited by 12
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
12 most cited of 59 All 59 (JSON)
- 2026Pretraining on Call Graphs: When Binary Analysis Tasks Profit From Context3 Aug 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2026ASSEMBLAGE-DEEPHISTORY: A Cross-Build Binary Dataset with Temporal Coverage20 May 2026
- 2026Attacking the First-Principle: A Black-Box, Query-Free Targeted Mimicry Attack on Binary Function Classifiers18 May 2026
- 2026EXHIB: A Benchmark for Realistic and Diverse Evaluation of Function Similarity in the Wild2 Apr 2026
- 2026Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations13 Feb 2026
- 2026ShieldedCode: Learning Robust Representations for Virtual Machine Protected Code28 Jan 2026
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilation21 Jan 2026
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025Esim: EVM Bytecode Similarity Detection Based on Stable-Semantic Graph17 Nov 2025
- 2025Binary BPE: A Family of Cross-Platform Tokenizers for Binary Analysis14 Nov 2025
- 2025AGNOMIN -- Architecture Agnostic Multi-Label Function Name Prediction29 Sep 2025
12 newest of 59 All 59 (JSON)