Lune

CCS2024顶会

BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse Engineering

Jiayi Jiang, Xiyuan Zhang, Chengcheng Wan, Haoyi Chen, Haiying Sun, Ting Su

摘要

Protocol reverse engineering (PRE) aims to infer the specification of network protocols when the source code is not available. Specifically, field inference is one crucial step in PRE to infer the field formats and semantics. To perform field inference, binary analysis based PRE techniques are one major approach category. However, such techniques face two key challenges -(1) the format inference is fragile when the logics of processing input messages may vary among different protocol implementations, and (2) the semantic inference is limited by inadequate and inaccurate inference rules. To tackle these challenges, we present BinPRE, a binary analysis based PRE tool. BinPRE incorporates (1) an instruction-based semantic similarity analysis strategy for format extraction; (2) a novel library composed of atomic semantic detectors for improving semantic inference adequacy; and (3) a cluster-and-refine paradigm to further improve semantic inference accuracy. We have evaluated BinPRE against five existing PRE tools, including Polyglot, Aut-oFormat, Tupni, BinaryInferno and DynPRE. The evaluation results on eight widely-used protocols show that BinPRE outperforms the prior PRE tools in both format and semantic inference. BinPRE achieves the perfection of 0.73 on format extraction and the F1-score of 0.74 (0.81) on semantic inference of types (functions), respectively. The field inference results of BinPRE have helped improve the effectiveness of protocol fuzzing by achieving 5∼29% higher branch coverage, compared to those of the best prior PRE tool. BinPRE has also helped discover one new zero-day vulnerability, which otherwise cannot be found.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message Formats 引用了 NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • DynPRE: Protocol Reverse Engineering via Dynamic Inference 引用了 BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message Formats
  • DynPRE: Protocol Reverse Engineering via Dynamic Inference 引用了 NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • Protocol Reverse Engineering via Deep Transfer Learning 引用了 BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message Formats
  • Protocol Reverse Engineering via Deep Transfer Learning 引用了 DynPRE: Protocol Reverse Engineering via Dynamic Inference
  • Protocol Reverse Engineering via Deep Transfer Learning 引用了 NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • Generating Precise Format Specification for Network Protocols Through Adversarial LLM Interactions 引用了 Large Language Model guided Protocol Fuzzing
  • Generating Precise Format Specification for Network Protocols Through Adversarial LLM Interactions 引用了 NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. RandSet: Randomized Corpus Reduction for Fuzzing Seed SchedulingYuchong Xie, Kaikai Zhang, Yu Liu, Rundong Yang 等OOPSLA 2026 · 1 次引用
  2. Protocol Reverse Engineering via Deep Transfer LearningYanyang Zhao, Zhengxiong Luo, Wenlong Zhang, Feifan Wu 等FSE 2026
  3. Generating Precise Format Specification for Network Protocols Through Adversarial LLM InteractionsHengdi Ye, Bing Shui, Jielun Wu, Yufan Zhou 等USENIX Security 2026

它引用的 Paper4

  1. BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message FormatsJared Chandler, Adam Wick, Kathleen FisherNDSS 2023
  2. DynPRE: Protocol Reverse Engineering via Dynamic InferenceZhengxiong Luo, Kai Liang, Yanyang Zhao, Feifan Wu 等NDSS 2024
  3. Large Language Model guided Protocol FuzzingRuijie Meng, Martin Mirchev, Marcel Böhme, Abhik RoychoudhuryNDSS 2024
  4. NetPlier: Probabilistic Network Protocol Reverse Engineering from Message TracesYapeng Ye, Zhuo Zhang, Fei Wang, Xiangyu Zhang 等NDSS 2021

相关 Paper

  1. Lifting Network Protocol Implementation to Precise Format Specification with Security ApplicationsQingkai Shi, Junyang Shao, Yapeng Ye, Mingwei Zheng 等CCS 2023 · 15 次引用
  2. Breaking the Traffic Barrier: Unveiling Multi-Format of Protocols via Autonomous Program ExplorationDingzhao Xue, Yibo Qu, Bowen Jiang, Xin Chen 等ASE 2025
  3. Extracting Protocol Format as State Machine via Controlled Static Loop AnalysisQingkai Shi, Xiangzhe Xu, Xiangyu ZhangUSENIX Security 2023
  4. ICEPRE: ICS Protocol Reverse Engineering via Data-Driven Concolic ExecutionYibo Qu, Dongliang Fang, Zhen Wang, Jiaxing Cheng 等ISSTA 2025 · 2 次引用
  5. Message Type Identification of Binary Network Protocols using Continuous Segment SimilarityStephan Kleber, Rens W. van der Heijden, Frank KarglINFOCOM 2020 · 32 次引用
黄昏的海面,两侧是细线勾勒的悬崖