Back to search

University of Victoria (Canada)

BBAE: Bit-to-byte alignment with entropy analysis for binary protocol field identification

Abstract

dc:description.abstract

Protocol Reverse Engineering (PRE) is crucial for analyzing undocumented or proprietary network protocols, particularly in the fields of network security and the Internet of Things (IoT). To conserve network bandwidth, many protocols adopt a compact binary format that maximizes bit utilization. However, this compactness introduces significant challenges for PRE, because (1) the number of potential field boundaries grows exponentially, and (2) byte-oriented PRE tools become ineffective for these scenarios. To address these challenges, we propose Bit-to-Byte Alignment with Entropy (BBAE) analysis, an innovative approach designed to enhance boundary detection in bit-oriented protocols. BBAE leverages entropy analysis and bit-congruence calculations across multiple window sizes to identify field boundaries more effectively. In addition, it enables systematic verification of detected boundaries. We conducted extensive evaluations of BBAE’s performance in identifying field boundaries of binary protocols and compared its effectiveness with existing tools, including byte-oriented semantic inference tools like BinaryInferno and bit-oriented tools such as Auto-ETLV. Our experimental results disclose that BBAE achieves outstanding performance in reverse engineering binary network protocols.

Degree

thesis:*
Level thesis:degree_level
Master of Science MSc
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Leijie
Advisor dc:contributor.supervisor
  • Wu, Kui

Subjects

dc:subject × 2

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web
Language dc:language.iso
en, English

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1828/23051

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Zhang, Leijie. BBAE: Bit-to-byte alignment with entropy analysis for binary protocol field identification. Master of Science MSc thesis, 2025. https://hdl.handle.net/1828/23051