arrow
返回

ParserHunter: Identify parsing functions in binary code

delete2026-01-10
delete0
delete
OA
AI
M
marco scapin
F
Fabio Pinelli
L
Letterio Galletta *
DOI:10.1016/j.jss.2026.112783delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Parsing and validation functions are crucial because they process untrusted data, e.g., user inputs. Due to their complexity, these functions are highly susceptible to bugs, making them a primary target for security audits. However, identifying such functions within a binary is time-intensive and challenging, given the numerous functions typically present and the lack of source code or supporting documentation. This paper presents an AI-based methodology for identifying functions with parser-like behavior and complex processing logic within a binary. Our methodology analyzes each binary by identifying its functions, extracting their Control Flow Graphs (CFGs), and enriching them with features derived from an embedding model that captures both structural and semantic aspects of their behavior. These annotated CFGs are the input to a Graph Neural Network trained to identify parsing functions. We implement this methodology in the tool ParserHunter, which allows users to train the model on labeled data, query the model with unseen binaries, and accommodate a symbolic execution phase on the processed binary through a user interface. Our experiments on ten real-world projects from GitHub show that our tool effectively identifies parsers in binaries.
Keyword:
Binary analysis
Function identification
Graph neural network
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
BinBench: a benchmark for x64 portable operating system interface binary function representations
err2023-06-01
err0
errOAAI
errConsole, Francesca; D'Aquanno, Giuseppe; Di Luna, Giuseppe Antonio; Querzoni, Leonardo
err分享
err收藏
Learning binary codes with neural collaborative filtering for efficient recommendation systems
err2019-05-01
err49
PREAI
errLi, Yang; Wang, Suhang; Pan, Quan; Peng, Haiyun; Yang, Tao; Cambria, Erik
err分享
err收藏

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
1.0W

机构

暂无机构信息
引用论文

引用论文

Asteria-Pro: Enhancing Deep Learning-based Binary Code Similarity Detection by Incorporating Domain Knowledge
err2023-11-24
err16
errOAAI
errYang, Shouguo; Dong, Chaopeng; Xiao, Yang; Cheng, Yiran; Shi, Zhiqiang; Li, Zhi; Sun, Limin
err分享
err收藏
SAFE: Self-Attentive Function Embeddings for Binary Similarity
err2019-06-06
err0
PREAI
errLuca Massarelli; Giuseppe Antonio Di Luna; Fabio Petroni; Roberto Baldoni; Leonardo Querzoni
err分享
err收藏
Modeling Relational Data with Graph Convolutional Networks基于图卷积网络的关系数据建模
err2018-06-03
err0
PREAI
errMichael Schlichtkrull; Thomas N. Kipf; Peter Bloem; Rianne van den Berg; Ivan Titov; Max Welling
err分享
err收藏
Function Representations for Binary Similarity
err2022-07-01
err10
errOAAI
errMassarelli, Luca; Di Luna, Giuseppe Antonio; Petroni, Fabio; Querzoni, Leonardo; Baldoni, Roberto
err分享
err收藏
err分享
err收藏
The Graph Neural Network Model图神经网络模型
err2009-01-01
err0
errOAAI
errF. Scarselli; M. Gori; Ah Chung Tsoi; M. Hagenbuchner; G. Monfardini
err分享
err收藏
sem2vec: Semantics-aware Assembly Tracelet Embedding
err2023-05-27
err4
PREAI
errWang, Huaijin; Ma, Pingchuan; Wang, Shuai; Tang, Qiyi; Nie, Sen; Wu, Shi
err分享
err收藏
Machine Learning-Based Analysis of Program Binaries: A Comprehensive Study
err2019-01-01
err30
errOAAI
errXue, Hongfa; Sun, Shaowen; Venkataramani, Guru; Lan, Tian
err分享
err收藏
学者 查看更多内容