Message Type Identification of Binary Network Protocols using Continuous Segment Similarity

02/09/2020
by   Stephan Kleber, et al.
0

Protocol reverse engineering based on traffic traces infers the behavior of unknown network protocols by analyzing observable network messages. To perform correct deduction of message semantics or behavior analysis, accurate message type identification is an essential first step. However, identifying message types is particularly difficult for binary protocols, whose structural features are hidden in their densely packed data representation. We leverage the intrinsic structural features of binary protocols and propose an accurate method for discriminating message types. Our approach uses a similarity measure with continuous value range by comparing feature vectors where vector elements correspond to the fields in a message, rather than discrete byte values. This enables a better recognition of structural patterns, which remain hidden when only exact value matches are considered. We combine Hirschberg alignment with DBSCAN as cluster algorithm to yield a novel inference mechanism. By applying novel autoconfiguration schemes, we do not require manually configured parameters for the analysis of an unknown protocol, as required by earlier approaches. Results of our evaluations show that our approach has considerable advantages in message type identification result quality and also execution performance over previous approaches.

READ FULL TEXT
research
04/11/2018

Modeling and Testing Implementations of Protocols with Complex Messages

This paper presents a new language called APSL for formally describing p...
research
07/25/2018

Specification-Based Protocol Obfuscation

This paper proposes a new obfuscation technique of a communication proto...
research
10/12/2021

Hide and seek with quantum resources: New and modified protocols for quantum steganography

Steganography is the science of hiding and communicating a secret messag...
research
01/21/2022

Modelling Agent-Skipping Attacks in Message Forwarding Protocols

Message forwarding protocols are protocols in which a chain of agents ha...
research
12/11/2011

Maximum Production of Transmission Messages Rate for Service Discovery Protocols

Minimizing the number of dropped User Datagram Protocol (UDP) messages i...
research
06/07/2023

Monitoring Blackbox Implementations of Multiparty Session Protocols

We present a framework for the distributed monitoring of networks of com...
research
07/05/2021

Berserker: ASN.1-based Fuzzing of Radio Resource Control Protocol for 4G and 5G

Telecom networks together with mobile phones must be rigorously tested f...

Please sign up or login with your details

Forgot password? Click here to reset