Automatic reverse engineering of message formats from network traces
Abstract
A system for automatic inference of message formats from network packets is described. Each network message from a set of network messages is split into one or more tokens based on the types of bytes in the network messages. The set of network messages can then be classified into clusters based on token patterns. The network messages in each cluster can then be further sub-clustered recursively based on the message formats. Further, the messages with a similar message format across the sub-clusters can be merged into a cluster. The set of formatted clusters thus obtained correspond to a set of message formats that can be used further for protocol reverse engineering.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for inferring message formats comprising: a computing device splitting each message of a set of network messages into one or more tokens, wherein the splitting is based on identifying types of bytes in the message; creating one or more clusters of messages from the set of network messages based on token patterns, wherein a token pattern of a given message includes a direction value and classes of the tokens in the given message; recursively clustering the messages of a cluster into sub-clusters of messages based on a message format, wherein the message format is based on inferred type
- Claim 2Depends on #1
The method of claim 1 , wherein the types of bytes include text bytes and binary bytes, and further wher
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Gopalratnam, et al., "Automatically Extracting Fields from Unknown Network Protocols", available at least as early as Apr. 17, 2007, at <<http://research.microsoft.com/˜sumitb/papers/SysML—114—cameraready.pdf>>, pp. 1-5.
- Gopalratnam, et al., "Automatically Extracting Fields from Unknown Network Protocols", available at least as early as Apr. 17, 2007, at >, pp. 1-5.
- Kannan, et al., "Automatic Protocol Description Generation from Network Traces", retrieved on Apr. 18, 2007, at <<http://www.cs.berkeley.edu/˜kjk/protocol—semantics.shtml>>, pp. 1.
- Kannan, et al., "Automatic Protocol Description Generation from Network Traces", retrieved on Apr. 18, 2007, at >, pp. 1.
- Ma, et al., Automatic Protocol Inference: Unexpected Means of Identifying Protocols, available at least as early as Apr. 17, 2007, at <<http://www.cse.ucsd.edu/Dienst/Repository/2.0/Body/ncstrl.ucsd—cse/CS2006-0850/postscript>>, pp. 1-14.