Lune

INFOCOM2020Top-tier venue

Message Type Identification of Binary Network Protocols using Continuous Segment Similarity

Stephan Kleber, Rens W. van der Heijden, Frank Kargl

Abstract

Protocol reverse engineering based on traffic traces infers the behavior of unknown network protocols by analyzing observable network messages. To perform correct deduction of message semantics or behavior analysis, accurate message type identification is an essential first step. However, identifying message types is particularly difficult for binary protocols, whose structural features are hidden in their densely packed data representation. We leverage the intrinsic structural features of binary protocols and propose an accurate method for discriminating message types.

Our approach uses a similarity measure with continuous value range by comparing feature vectors where vector elements correspond to the fields in a message, rather than discrete byte values. This enables a better recognition of structural patterns, which remain hidden when only exact value matches are considered. We combine Hirschberg alignment with DBSCAN as cluster algorithm to yield a novel inference mechanism. By applying novel autoconfiguration schemes, we do not require manually configured parameters for the analysis of an unknown protocol, as required by earlier approaches.

Results of our evaluations show that our approach has considerable advantages in message type identification result quality and also execution performance over previous approaches.

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.

3 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

  • Generating Precise Format Specification for Network Protocols Through Adversarial LLM Interactions cites Lifting Network Protocol Implementation to Precise Format Specification with Security Applications
  • Generating Precise Format Specification for Network Protocols Through Adversarial LLM Interactions cites Extracting Protocol Format as State Machine via Controlled Static Loop Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Lifting Network Protocol Implementation to Precise Format Specification with Security ApplicationsQingkai Shi, Junyang Shao, Yapeng Ye, Mingwei Zheng et al.CCS 2023 · 15 citations
  2. Extracting Protocol Format as State Machine via Controlled Static Loop AnalysisQingkai Shi, Xiangzhe Xu, Xiangyu ZhangUSENIX Security 2023
  3. Generating Precise Format Specification for Network Protocols Through Adversarial LLM InteractionsHengdi Ye, Bing Shui, Jielun Wu, Yufan Zhou et al.USENIX Security 2026

Related papers

  1. NetPlier: Probabilistic Network Protocol Reverse Engineering from Message TracesYapeng Ye, Zhuo Zhang, Fei Wang, Xiangyu Zhang et al.NDSS 2021
  2. BinPRE: Enhancing Field Inference in Binary Analysis Based Protocol Reverse EngineeringJiayi Jiang, Xiyuan Zhang, Chengcheng Wan, Haoyi Chen et al.CCS 2024 · 8 citations
  3. Industrial Control Protocol Type Inference Using Transformer and Rule-based Re-ClusteringYuhuan Liu, Yulong Ding, Jie Jiang, Bin Xiao et al.INFOCOM 2024 · 4 citations
  4. BinaryInferno: A Semantic-Driven Approach to Field Inference for Binary Message FormatsJared Chandler, Adam Wick, Kathleen FisherNDSS 2023
  5. Dual-track Protocol Reverse Analysis Based on Share LearningWeiyao Zhang, Xuying Meng, Yujun ZhangINFOCOM 2022 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines