Polyglot: automatic extraction of protocol message format using dynamic binary analysis
The DOI matches its Crossref record; 24 of the 24 references it cites were found in a registry or an index.
Abstract
Protocol reverse engineering, the process of extracting the application-level protocol used by an implementation, without access to the protocol specification, is important for many network security applications. Recent work [17] has proposed protocol reverse engineering by using clustering on network traces. That kind of approach is limited by the lack of semantic information on network traces. In this paper we propose a new approach using program binaries. Our approach, shadowing, uses dynamic analysis and is based on a unique intuition - the way that an implementation of the protocol processes the received application data reveals a wealth of information about the protocol message format. We have implemented our approach in a system called Polyglot and evaluated it extensively using real-world implementations of five different protocols: DNS, HTTP, IRC, Samba and ICQ. We compare our results with the manually crafted message format, included in Wireshark, one of the state-of-the-art protocol analyzers. The differences we find are small and usually due to different implementations handling fields in different ways. Finding such differences between implementations is an added benefit, as they are important for problems such as fingerprint generation, fuzzing, and error detection.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Domain names - implementation and specification
Mockapetris, P. V. (1987) · doi:10.17487/rfc1035 · Cited by 1,698
(2004) · IEEE Security & Privacy Magazine · doi:10.1109/msp.2004.9 · Cited by 1,518
Newsome, J., & Song, D. X. (2018) · Figshare · doi:10.1184/r1/6468716 · Cited by 1,270
Self-citationSecure program execution via dynamic information flow tracking
Suh, G. E., Lee, J. W., Zhang, D., & Devadas, S. (2004) · Proceedings of the 11th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1024393.1024404 · Cited by 740
Panorama: capturing system-wide information flow for malware detection and analysis
Yin, H., Song, D., Egele, M., Kruegel, C., & Kirda, E. (2007) · Proceedings of the 14th ACM conference on Computer and communications security · doi:10.1145/1315245.1315261 · Cited by 683
Self-citationCross Site Scripting Prevention with Dynamic Data Tainting and Static Analysis.
Vogt, P.-S., Nentwich, F., Jovanovic, N. M., Kirda, E., Krügel, C., & Vigna, G. (2007) · Network and Distributed System Security Symposium · Cited by 549
Augmented BNF for Syntax Specifications: ABNF
Overell, P. (2005) · doi:10.17487/rfc4234 · Cited by 458
Vigilante: end-to-end containment of internet worms
Costa, M., Crowcroft, J., Castro, M., Rowstron, A., Zhou, L., Zhang, L., & Barham, P. (2005) · ACM SIGOPS Operating Systems Review · doi:10.1145/1095809.1095824 · Cited by 441
Discoverer: automatic protocol reverse engineering from network traces
Cui, W., Kannan, J., & Wang, H. J. (2007) · USENIX Security Symposium · Cited by 391
ACAS: automated construction of application signatures
Haffner, P., Sen, S., Spatscheck, O., & Wang, D. (2005) · Proceeding of the 2005 ACM SIGCOMM workshop on Mining network data - MineNet '05 · doi:10.1145/1080173.1080183 · Cited by 375
Cited by
BitBlaze: A New Approach to Computer Security via Binary Analysis
Song, D., Brumley, D., Yin, H., Caballero, J., Jager, I., Kang, M. G., Liang, Z., Newsome, J., Poosankam, P., & Saxena, P. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-89862-7_1 · Cited by 718
Self-citationSchwartz, E. J., Avgerinos, T., & Brumley, D. (2010) · 2010 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2010.26 · Cited by 717
A Survey on Malware Detection Using Data Mining Techniques
Ye, Y., Li, T., Adjeroh, D., & Iyengar, S. S. (2018) · ACM Computing Surveys · doi:10.1145/3073559 · Cited by 623
(2021) · doi:10.1109/tse.2019.2946563 · Cited by 574
TaintScope: A Checksum-Aware Directed Fuzzing Tool for Automatic Software Vulnerability Detection
Wang, T., Wei, T., Gu, G., & Zou, W. (2010) · 2010 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2010.37 · Cited by 380
Taint-based directed whitebox fuzzing
Ganesh, V., Leek, T., & Rinard, M. (2009) · 2009 IEEE 31st International Conference on Software Engineering · doi:10.1109/icse.2009.5070546 · Cited by 348
AFLNET: A Greybox Fuzzer for Network Protocols
Pham, V.-T., Bohme, M., & Roychoudhury, A. (2020) · 2020 IEEE 13th International Conference on Software Testing, Validation and Verification (ICST) · doi:10.1109/icst46399.2020.00062 · Cited by 342
Avatar: A Framework to Support Dynamic Security Analysis of Embedded Systems’ Firmwares
Zaddach, J., Bruno, L., Francillon, A., & Balzarotti, D. (2014) · Proceedings 2014 Network and Distributed System Security Symposium · doi:10.14722/ndss.2014.23229 · Cited by 327
Large Language Model guided Protocol Fuzzing
Meng, R., Mirchev, M., Böhme, M., & Roychoudhury, A. (2024) · Proceedings 2024 Network and Distributed System Security Symposium · doi:10.14722/ndss.2024.24556 · Cited by 246
“To reduce the reliance on prior knowledge and manual work before fuzzing, several existing works have been proposed to dynamically infer message structures, including blackbox fuzzers [22], [35] and whitebox fuzzers [13], [16], [30].”
Program-Adaptive Mutational Fuzzing
Cha, S. K., Woo, M., & Brumley, D. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.50 · Cited by 231
“Although IBDI is inspired by automatic input format recovery [10, 17, 32], our technique currently does not leverage the input field information.”
BackgroundMethodDispatcher: enabling active botnet infiltration using automatic protocol reverse-engineering
Caballero, J., Poosankam, P., Kreibich, C., & Song, D. (2009) · Proceedings of the 16th ACM conference on Computer and communications security · doi:10.1145/1653662.1653737 · Cited by 213
Self-citationAutomatic Reverse Engineering of Malware Emulators
Sharif, M., Lanzi, A., Giffin, J., & Lee, W. (2009) · 2009 30th IEEE Symposium on Security and Privacy · doi:10.1109/sp.2009.27 · Cited by 204
NetworkProfiler: Towards automatic fingerprinting of Android apps
Dai, S., Tongaonkar, A., Wang, X., Nucci, A., & Song, D. (2013) · 2013 Proceedings IEEE INFOCOM · doi:10.1109/infcom.2013.6566868 · Cited by 175
“Traditionally, such signatures are developed from protocol specifications or by reverse engineering the protocol from network traces [7] or application binaries [5].”
BackgroundSelf-citationInference and analysis of formal models of botnet command and control protocols
Cho, C. Y., Babi ć, D., Shin, E. C. R., & Song, D. (2010) · Proceedings of the 17th ACM conference on Computer and communications security · doi:10.1145/1866307.1866355 · Cited by 169
Self-citation
Metadata
- Authors
- Caballero, J., Yin, H., Liang, Z., & Song, D.
- Venue
- Proceedings of the 14th ACM conference on Computer and communications security
- Publisher
- ACM
- Published
- 2007-10-28
- Pages
- 317-329
- ISSN
- 1543-7221 (ISSN-L)
- OpenAlex
- W2049867480
- Cited by
- 372
- References
- 24
- FWCI
- 10.91
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.