Lune

NDSS2023Top-tier venue

BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message Formats

Jared Chandler, Adam Wick, Kathleen Fisher

Abstract

—We present B inary I nferno , a fully automatic tool for reverse engineering binary message formats. Given a set of messages with the same format, the tool uses an ensemble of detectors to infer a collection of partial descriptions and then automatically integrates the partial descriptions into a semantically-meaningful description that can be used to parse future packets with the same format. As its ensemble, B inary I nferno uses a modular and extensible set of targeted detectors, including detectors for identifying atomic data types such as IEEE floats, timestamps, and integer length fields; for finding boundaries between adjacent fields using Shannon entropy; and for discovering variable-length sequences by searching for common serialization idioms. We evaluate B inary I nferno ’s performance on sets of packets drawn from 10 binary protocols. Our semantic-driven approach significantly decreases false positive rates and increases precision when compared to the previous state of the art. For top-level protocols we identify field boundaries with an average precision of 0.69, an average recall of 0.73, and an average false positive rate of 0.04, significantly outperforming five other state-of-the-art protocol reverse engineering tools on the same data sets: A wre (0.18, 0.03, 0.04), F ield H unter (0.68, 0.37, 0.01), N emesys (0.31, 0.44, 0.11), N etplier (0.29, 0.75, 0.22), and N etzob (0.57, 0.42, 0.03). We believe our improvements in precision and false positive rates represent what our target user most wants: semantically meaningful descriptions with fewer false positives.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DynPRE: Protocol Reverse Engineering via Dynamic Inference cites NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • Demystifying the Security Implications in IoT Device Rental Services cites NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse Engineering cites DynPRE: Protocol Reverse Engineering via Dynamic Inference
  • BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse Engineering cites NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • Recovering Process Variables from Industrial Network Traffic via Search-Based Optimization cites DynPRE: Protocol Reverse Engineering via Dynamic Inference
  • Recovering Process Variables from Industrial Network Traffic via Search-Based Optimization cites NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
  • Recovering Process Variables from Industrial Network Traffic via Search-Based Optimization cites An Investigation of Interaction and Information Needs for Protocol Reverse Engineering Automation
  • NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces cites Understanding the Mirai Botnet
  • An Investigation of Interaction and Information Needs for Protocol Reverse Engineering Automation cites NetPlier: Probabilistic Network Protocol Reverse Engineering from Message Traces
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse EngineeringJiayi Jiang, Xiyuan Zhang, Chengcheng Wan, Haoyi Chen et al.CCS 2024 · 8 citations
  2. An Investigation of Interaction and Information Needs for Protocol Reverse Engineering AutomationSamantha Katcher, James Mattei, Jared Chandler, Daniel VotipkaCHI 2025 · 7 citations
  3. Demystifying the Security Implications in IoT Device Rental ServicesYi He, Yunchao Guan, Ruoyu Lun, Shangru Song et al.USENIX Security 2024 · 2 citations
  4. DynPRE: Protocol Reverse Engineering via Dynamic InferenceZhengxiong Luo, Kai Liang, Yanyang Zhao, Feifan Wu et al.NDSS 2024
  5. Recovering Process Variables from Industrial Network Traffic via Search-Based OptimizationChuan Sheng, Shan Jiang, Jianming Zhao, Yu YaoCCS 2026

Builds on2

  1. Understanding the Mirai BotnetManos Antonakakis, Tim April, Michael D. Bailey, Matt Bernhard et al.USENIX Security 2017 · 2,003 citations
  2. NetPlier: Probabilistic Network Protocol Reverse Engineering from Message TracesYapeng Ye, Zhuo Zhang, Fei Wang, Xiangyu Zhang et al.NDSS 2021

Related papers

  1. ICEPRE: ICS Protocol Reverse Engineering via Data-Driven Concolic ExecutionYibo Qu, Dongliang Fang, Zhen Wang, Jiaxing Cheng et al.ISSTA 2025 · 2 citations
  2. Message Type Identification of Binary Network Protocols using Continuous Segment SimilarityStephan Kleber, Rens W. van der Heijden, Frank KarglINFOCOM 2020 · 32 citations
  3. Breaking the Traffic Barrier: Unveiling Multi-Format of Protocols via Autonomous Program ExplorationDingzhao Xue, Yibo Qu, Bowen Jiang, Xin Chen et al.ASE 2025
  4. Lifting Network Protocol Implementation to Precise Format Specification with Security ApplicationsQingkai Shi, Junyang Shao, Yapeng Ye, Mingwei Zheng et al.CCS 2023 · 15 citations
  5. Extracting Protocol Format as State Machine via Controlled Static Loop AnalysisQingkai Shi, Xiangzhe Xu, Xiangyu ZhangUSENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines