Reverse Engineering of Protocols from Network Traces. Antunes, J., Neves, N., & Verissimo, P. In 2011 18th Working Conference on Reverse Engineering (WCRE), pages 169--178, October, 2011. IEEE. 00018
Reverse Engineering of Protocols from Network Traces [link]Paper  doi  abstract   bibtex   
Communication protocols determine how network components interact with each other. Therefore, the ability to derive a specification of a protocol can be useful in various contexts, such as to support deeper black-box testing or effective defense mechanisms. Unfortunately, it is often hard to obtain the specification because systems implement closed (i.e., undocumented) protocols, or because a time consuming translation has to be performed, from the textual description of the protocol to a format readable by the tools. To address these issues, we propose a new methodology to automatically infer a specification of a protocol from network traces, which generates automata for the protocol language and state machine. Since our solution only resorts to interaction samples of the protocol, it is well-suited to uncover the message formats and protocol states of closed protocols and also to automate most of the process of specifying open protocols. The approach was implemented in a tool and experimentally evaluated with publicly available FTP traces. Our results show that the inferred specification is a good approximation of the reference specification, exhibiting a high level of precision and recall.
@inproceedings{ antunes_reverse_2011,
  title = {Reverse {Engineering} of {Protocols} from {Network} {Traces}},
  url = {http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=6079839},
  doi = {10.1109/WCRE.2011.28},
  abstract = {Communication protocols determine how network components interact with each other. Therefore, the ability to derive a specification of a protocol can be useful in various contexts, such as to support deeper black-box testing or effective defense mechanisms. Unfortunately, it is often hard to obtain the specification because systems implement closed (i.e., undocumented) protocols, or because a time consuming translation has to be performed, from the textual description of the protocol to a format readable by the tools. To address these issues, we propose a new methodology to automatically infer a specification of a protocol from network traces, which generates automata for the protocol language and state machine. Since our solution only resorts to interaction samples of the protocol, it is well-suited to uncover the message formats and protocol states of closed protocols and also to automate most of the process of specifying open protocols. The approach was implemented in a tool and experimentally evaluated with publicly available FTP traces. Our results show that the inferred specification is a good approximation of the reference specification, exhibiting a high level of precision and recall.},
  language = {en},
  urldate = {2015-02-24TZ},
  booktitle = {2011 18th {Working} {Conference} on {Reverse} {Engineering} ({WCRE})},
  publisher = {IEEE},
  author = {Antunes, João and Neves, Nuno and Verissimo, Paulo},
  month = {October},
  year = {2011},
  note = {00018},
  keywords = {Automata, Grammar, Minimization, Payloads, Servers, communication protocol, diversity, formal specification, intrusion tolerance, message format, network trace, protocol, protocol language, protocol reverse engineering, protocol specification, reverse engineering, service replication, state machine, telecommunication computing},
  pages = {169--178}
}

Downloads: 0