Packet Field Tree: a Hybrid Approach for Automated Protocol Reverse-Engineering

Information and communications technology (ICT) systems exchange data through agreed network protocols. Hence, to decode the communicated data, these protocols must be thoroughly understood. However, proprietary protocol specifications often exist in either verbose documents, or require manually reverse-engineering its software implementation. Automated protocol reverse-engineering (APRE) attempts to do so without any access to documentation, nor access to the software binary. In this paper, we introduce Packet Field Tree (PFT), the first hybrid approach combining the advantages of heuristic and supervised-learning methods. We apply it to one aspect of the APRE problem, that of discerning the boundaries between packet fields, and it does so with a superior mean perfection, an APRE-specific quasi-accuracy measure, of 0.27 over a variety of 21 protocols. This is an improvement of 0.11 compared to the next best APRE method. PFT also classifies the syntax of every discerned field. To measure this output we propose the Field Tree Score, a starting point for holistic evaluation of APRE-inferred specifications. We make the PFT and our benchmark dataset of 21 protocols available, with both designed to ease integration of community contributions.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/ccisp63826.2024.10765535
Primary Topic
VLSI and Analog Circuit Testing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Packet Field Tree: a Hybrid Approach for Automated Protocol Reverse-Engineering

Matthew Roughan, M. J. White, Alexander Chambers, Alexander Rohl
VLSI and Analog Circuit Testing
article

Packet Field Tree: a Hybrid Approach for Automated Protocol Reverse-Engineering

Matthew Roughan, M. J. White, Alexander Chambers, Alexander Rohl
article en

Abstract

Information and communications technology (ICT) systems exchange data through agreed network protocols. Hence, to decode the communicated data, these protocols must be thoroughly understood. However, proprietary protocol specifications often exist in either verbose documents, or require manually reverse-engineering its software implementation. Automated protocol reverse-engineering (APRE) attempts to do so without any access to documentation, nor access to the software binary. In this paper, we introduce Packet Field Tree (PFT), the first hybrid approach combining the advantages of heuristic and supervised-learning methods. We apply it to one aspect of the APRE problem, that of discerning the boundaries between packet fields, and it does so with a superior mean perfection, an APRE-specific quasi-accuracy measure, of 0.27 over a variety of 21 protocols. This is an improvement of 0.11 compared to the next best APRE method. PFT also classifies the syntax of every discerned field. To measure this output we propose the Field Tree Score, a starting point for holistic evaluation of APRE-inferred specifications. We make the PFT and our benchmark dataset of 21 protocols available, with both designed to ease integration of community contributions.

Defence Science and Technology Group (AU), The University of Adelaide (AU)
Openalex Percentile: Top 72%
VLSI and Analog Circuit Testing
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.