Skip to main navigation Skip to search Skip to main content

Automatic Field Extraction of Extended TLV for Binary Protocol Reverse Engineering

  • Zewen Huang
  • , Kui Wu
  • , Shengqiang Huang
  • , Yang Zhou
  • , Ronnie Salvador Giagone

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Type Length Value (TLV) is one of the main structures commonly used in network protocols. A large number of proprietary protocols, whose specification is unknown to the public, run in the current Internet as well as domain-specific Internet of Things (IoT) applications. It is critical to infer the TLV fields within a packet because this information can help network administrators quickly identify abnormal traffic and potential attacks. Inferring TLV fields belongs to the general task of protocol reverse engineering and is particularly challenging for binary protocols, where the boundaries of TLV fields have many possible positions. Existing methods for reverse engineering binary protocols involve many parameters and only work for protocols strictly following the conventional TLV format. We extend the concept of TLV to accommodate a broader category of structural patterns in various binary protocols, such as TCP, IP, ModBus, and MQTT. We then design algorithms to automatically extract the extended - TLV fields from packets. Via a series of experiments over several protocols, we demonstrate that our algorithms can accurately and quickly identify the extended-TLV fields in all the tested protocols. Our approach can thus be deployed as a general method for automatically reverse engineering binary protocol format. © 2022 IEEE.
Original languageEnglish
Title of host publicationICCCN 2022 - The 31st International Conference on Computer Communications and Networks
PublisherIEEE
ISBN (Electronic)978-1-6654-9726-8, 978-1-6654-9725-1
ISBN (Print)978-1-6654-9727-5
DOIs
Publication statusPublished - 2022
Externally publishedYes
Event31st International Conference on Computer Communications and Networks (ICCCN 2022) - Virtual, United States
Duration: 25 Jul 202227 Jul 2022

Publication series

NameProceedings - International Conference on Computer Communications and Networks, ICCCN
ISSN (Print)1095-2055
ISSN (Electronic)2637-9430

Conference

Conference31st International Conference on Computer Communications and Networks (ICCCN 2022)
PlaceUnited States
Period25/07/2227/07/22

Research Keywords

  • Binary Protocol Reverse Engineering
  • Extended TLV

Fingerprint

Dive into the research topics of 'Automatic Field Extraction of Extended TLV for Binary Protocol Reverse Engineering'. Together they form a unique fingerprint.

Cite this