Automatic generation of security protocols attacks specifications and implementations
Abstract
Confidence in a communication protocol’s security is a key requirement for its deployment and long-term maintenance. Checking if a vulnerability exists and is exploitable requires extensive expertise. The research community has advocated for a systematic approach with formal methods to model and automatically test a protocol against a set of desired security properties. As verification tools reach conclusions, the applicability of their results still requires expert scrutiny. We propose a code generation approach to automatically build both an abstract specification and a concrete implementation of a Dolev-Yao intruder from an abstract attack trace, bridging the gap between theoretical attacks discovered by formal means and practical ones. Through our case studies, we focus on attack traces from the OFMC model checker, Alice&Bob specifications and Java implementations. We introduce a proof-of-concept workflow for concrete attack validation that allows to conveniently integrate, in a user-friendly way, formal methods results into a Model-Driven Development process and at the same time automatically generate a program that allows to demonstrate the attack in practice. In fact, in this contribution, we produce high-level and concrete attack narrations that are both human and machine readable.
Identifier Metadata
| Identifier | 110.0341/INT.2026.00315 |
| Canonical | mdoi:110.0341/INT.2026.00315 |
| Resolver URL | https://mdoi.org/110.0341/INT.2026.00315 |
| Resource URL | Open resource |
| Document URL | Open document |
| Content Type | Article |
| Authors | Rémi Garcia , Paolo Modesti |
| Year | 2023 |
| Depositor | International Journal of Multidisciplinary Studies and Innovative Researchs Organisation |
| Prefix | 110.0341 |
| Registered | June 23, 2026 |
| Updated | June 23, 2026 |
| Status | Active |
| Visibility | Public |
Cite This Identifier
APA 7th Edition
Click to copy
MLA 9th Edition
Click to copy
Chicago 17th Edition
Click to copy
BibTeX
Click to copy
Persistent Identifier
mdoi:110.0341/INT.2026.00315Click to copy