On the Performance Evaluation of Protocol State Machine Reverse Engineering Methods
Abstract
Having access to the specifications of network protocols is essential for several reasons in IT security. When the specifications are not known, one may turn to protocol reverse engineering methods to reconstruct these, typically by analysing recorded network traffic or inspecting an executable that implements the protocol. First, the format and structure of the messages need to be recovered, then the state machine of the protocol itself. Over the years, several solutions have been proposed for both tasks. As a consequence, picking the right solution for a given scenario is often a complex problem that involves evaluating and comparing various solutions. In this paper, we review the current means of evaluating the performance of protocol state machine reverse engineering methods. To help alleviate the shortcomings of the current methodology, we propose two new metrics of performance to be measured: correctness and completeness of output for partial runs (when runtime is bounded). These, combined with previously used metrics should make it easier to pick the most ideal choice for a given use case. We also propose the examination of cases where the algorithms have to work with incomplete or inaccurate syntactical information. We showcase how these new metrics and related information may be useful for the evaluation and comparison of various algorithms by applying these new methods to evaluate the performance of a recent protocol state machine reverse engineering method.
Keywords
protocol reverse engineering, protocol state machine, performance evaluation, runtime analysis, bounded runtime, incomplete inputThis work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
G. Ladi and T. Holczer, "On the Performance Evaluation of Protocol State Machine Reverse Engineering Methods," in Journal of Communications Software and Systems, vol. 20, no. 1, pp. 76-87, February 2024, doi: https://doi.org/10.24138/jcomss-2023-0149
@article{ladi2024performanceevaluation, author = {Gergo Ladi and Tamas Holczer}, title = {On the Performance Evaluation of Protocol State Machine Reverse Engineering Methods}, journal = {Journal of Communications Software and Systems}, month = {2}, year = {2024}, volume = {20}, number = {1}, pages = {76--87}, doi = {https://doi.org/10.24138/jcomss-2023-0149}, url = {https://doi.org/https://doi.org/10.24138/jcomss-2023-0149} }