Reverse Engineering of Binary Programs using Graph Attention Networks

Understanding the functionality and behavior of binary code is essential for many software engineering tasks, including malware analysis, vulnerability detection, and program optimization. However, automating this process is challenging due to the complexity of machine code and the significant manual effort required from experienced software engineers. In this paper, we present BinGAT (Reverse Engineering of Binary Programs using Graph Attention Networks), a method for classifying binary programs into algorithmic categories using Graph Attention Neural Networks (GNNs) based on their Control-Flow Graphs (CFGs). Given a binary program, BinGAT extracts its CFG through static analysis and transforms the assembly instructions within each basic block into embeddings, preserving contextual information. By leveraging graph attention layers, BinGAT effectively learns structural and semantic patterns in program execution flow, allowing it to distinguish different algorithmic behaviors in binary code. Experimental results show that BinGAT outperforms traditional GNN-based approaches, achieving over 93% accuracy in algorithmic classification of processed CFGs from binary programs.

Publication Details

Journal
DigitalCommons - Kennesaw State University (Kennesaw State University)
Published
2025-05-08
Primary Topic
Magnetic confinement fusion research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reverse Engineering of Binary Programs using Graph Attention Networks

DigitalCommons - Kennesaw State University (Kennesaw State University)
Magnetic confinement fusion research
article

Reverse Engineering of Binary Programs using Graph Attention Networks

article en

Abstract

Understanding the functionality and behavior of binary code is essential for many software engineering tasks, including malware analysis, vulnerability detection, and program optimization. However, automating this process is challenging due to the complexity of machine code and the significant manual effort required from experienced software engineers. In this paper, we present BinGAT (Reverse Engineering of Binary Programs using Graph Attention Networks), a method for classifying binary programs into algorithmic categories using Graph Attention Neural Networks (GNNs) based on their Control-Flow Graphs (CFGs). Given a binary program, BinGAT extracts its CFG through static analysis and transforms the assembly instructions within each basic block into embeddings, preserving contextual information. By leveraging graph attention layers, BinGAT effectively learns structural and semantic patterns in program execution flow, allowing it to distinguish different algorithmic behaviors in binary code. Experimental results show that BinGAT outperforms traditional GNN-based approaches, achieving over 93% accuracy in algorithmic classification of processed CFGs from binary programs.

DigitalCommons - Kennesaw State University (Kennesaw State University)
Openalex Percentile: Top 60%
Magnetic confinement fusion research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.