Automated Attack Synthesis by Extracting Finite State Machines from Protocol Specification Documents
Maria Leonor Pacheco, Max von Hippel, Ben Weintraub, Dan Goldwasser,, Cristina Nita-Rotaru

TL;DR
This paper presents a data-driven method to automatically extract finite state machines from protocol documentation like RFCs, enabling automated attacker synthesis and improving protocol security analysis.
Contribution
It introduces a hybrid approach combining word embeddings, zero-shot learning, and rule-based mapping to extract FSMs from RFCs for multiple protocols.
Findings
Successfully extracted FSMs for six protocols including TCP and SCTP.
Enabled automated attacker synthesis from textual protocol specifications.
Demonstrated improved efficiency and accuracy over rule-based methods.
Abstract
Automated attack discovery techniques, such as attacker synthesis or model-based fuzzing, provide powerful ways to ensure network protocols operate correctly and securely. Such techniques, in general, require a formal representation of the protocol, often in the form of a finite state machine (FSM). Unfortunately, many protocols are only described in English prose, and implementing even a simple network protocol as an FSM is time-consuming and prone to subtle logical errors. Automatically extracting protocol FSMs from documentation can significantly contribute to increased use of these techniques and result in more robust and secure protocol implementations. In this work we focus on attacker synthesis as a representative technique for protocol security, and on RFCs as a representative format for protocol prose description. Unlike other works that rely on rule-based approaches or use…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Network Security and Intrusion Detection · Hate Speech and Cyberbullying Detection
