https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
From automata learning to model checking: Formal security verification of black-box protocols
Mälardalen University. AVL List GmbH, Graz, Austria; AIT Austrian Institute of Technology GmbH, Graz, Austria.ORCID iD: 0000-0001-8556-1541
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering.ORCID iD: 0000-0001-7586-0409
Mälardalen University, Faculty of Engineering and Health Sciences, Department of Computer Science & Engineering. KTH Royal Institute of Technology, Stockholm, Sweden.
2027 (English)In: Computers & Security, ISSN 0167-4048, E-ISSN 1872-6208, Vol. 172, article id 105168Article in journal (Refereed) Published
Abstract [en]

Security verification of communication protocols in industrial and safety-critical systems is challenging because implementations are often proprietary, accessible only as black boxes, and too complex for manual modeling. As a result, existing security testing approaches usually depend on incomplete test suites and/or require labor-intensive modeling, limiting coverage, scalability, and trust. This paper addresses the problem of systematically verifying protocol security properties without access to internal system models. We propose a flexible and scalable method for formal verification of communication protocols that combines active automata learning with model checking to enable rigorous security analysis of black-box protocol implementations. Behavioral models are first inferred from system interactions using automata learning. We then propose context-based proposition maps (CPMs) to enrich the learned models with semantic information, yielding annotated Mealy machines that bridge the gap between learned behavior and property verification. These machines are automatically transformed into verifiable models in the Rebeca modeling language, enabling model checking of generic security properties such as authentication, confidentiality, privilege levels, and key validity, while allowing protocol-specific properties to be manually added. The CPMs are also used to populate these generic properties with protocol-specific propositions. Furthermore, the resulting model can be easily altered to introduce non-deterministic behavior (like timeouts or faults) and examined if the properties still hold under these different conditions. As a result, we gain an automated tool chain that spans from model learning to security property checking of specific protocols. The key contributions include: (i) a method for augmenting learned protocol models with security-relevant propositions, (ii) a fully automated transformation pipeline from learned models to model-checking artifacts, (iii) reusable, generic security property templates that are instantiated in protocol-specific models, and (iv) empirical validation through case studies demonstrating applicability in different protocols and domains. The results show that the approach enables scalable and systematic discovery of security vulnerabilities in black-box systems while reducing modeling effort and improving automation compared with traditional verification workflows.

Place, publisher, year, edition, pages
Elsevier Ltd , 2027. Vol. 172, article id 105168
Keywords [en]
Automata learning, Cybersecurity, Formal methods, Model checking, NFC, Rebeca, UDS, Accident prevention, Authentication, Automata theory, Automation, Behavioral research, Computer software reusability, Formal verification, Modeling languages, Network protocols, Network security, Scalability, Security systems, Semantics, Automaton learning, Black boxes, Communications protocols, Cyber security, Models checking, Rebecum, Security properties, Security verification
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mdh:diva-79211DOI: 10.1016/j.cose.2026.105168ISI: 001900243800001Scopus ID: 2-s2.0-105052500283OAI: oai:DiVA.org:mdh-79211DiVA, id: diva2:2110236
Available from: 2026-10-14 Created: 2026-10-14 Last updated: 2026-10-26Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Marksteiner, StefanSjödin, MikaelSirjani, Marjan

Search in DiVA

By author/editor
Marksteiner, StefanSjödin, MikaelSirjani, Marjan
By organisation
Mälardalen UniversityDepartment of Computer Science & Engineering
In the same journal
Computers & Security
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 11 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf