GrAMeFFSI: Graph Analysis Based Message Format and Field Semantics Inference For Binary Protocols, Using Recorded Network Traffic

被引:3
|
作者
Ladi, Gergo [1 ,2 ]
Buttyan, Levente [1 ]
Holczer, Tamas [1 ]
机构
[1] Budapest Univ Technol & Econ, Dept Networked Syst & Serv, Lab Cryptog & Syst Secur, Budapest, Hungary
[2] BME Balatonfured Student Res Grp, Budapest, Hungary
来源
INFOCOMMUNICATIONS JOURNAL | 2020年 / 12卷 / 02期
关键词
protocol reverse engineering; message format; field semantics; inference; binary protocols; network traffic; graph analysis; Modbus; MQTT;
D O I
10.36244/ICJ.2020.2.4
中图分类号
TN [电子技术、通信技术];
学科分类号
0809 ;
摘要
Protocol specifications describe the interaction between different entities by defining message formats and message processing rules. Having access to such protocol specifications is highly desirable for many tasks, including the analysis of botnets, building honeypots, defining network intrusion detection rules, and fuzz testing protocol implementations. Unfortunately, many protocols of interest are proprietary, and their specifications are not publicly available. Protocol reverse engineering is an approach to reconstruct the specifications of such closed protocols. Protocol reverse engineering can be tedious work if done manually, so prior research focused on automating the reverse engineering process as much as possible. Some approaches rely on access to the protocol implementation, but in many cases, the protocol implementation itself is not available or its license does not permit its use for reverse engineering purposes. Hence, in this paper, we focus on reverse engineering protocol specifications relying solely on recorded network traffic. More specifically, we propose GrAMeFFSI, a method based on graph analysis that can infer protocol message formats as well as certain field semantics for binary protocols from network traces. We demonstrate the usability of our approach by running it on packet captures of two known protocols, Modbus and MQTT, then comparing the inferred specifications to the official specifications of these protocols.
引用
收藏
页码:25 / 33
页数:9
相关论文
共 3 条
  • [1] Message Format and Field Semantics Inference for Binary Protocols Using Recorded Network Traffic
    Ladi, Gergo
    Buttyan, Levente
    Holczer, Tamas
    2018 26TH INTERNATIONAL CONFERENCE ON SOFTWARE, TELECOMMUNICATIONS AND COMPUTER NETWORKS (SOFTCOM), 2018, : 105 - 110
  • [2] Accurate compressed traffic detection via traffic analysis using Graph Convolutional Network based on graph structure feature
    Fu, Nan
    Cheng, Guang
    Su, Xinyue
    COMPUTER COMMUNICATIONS, 2023, 207 : 128 - 139
  • [3] Modulation Format Identification Using Graph-Based 2D Stokes Plane Analysis for Elastic Optical Network
    Yang, Lishan
    Xu, Hengying
    Bai, Chenglin
    Yu, Xinkuo
    You, Kangyoung
    Sun, Weibin
    Guo, Jiuhong
    Zhang, Xiaoguang
    Liu, Cailong
    IEEE PHOTONICS JOURNAL, 2021, 13 (01):