A Practical Approach to Formal Methods: An Eclipse Integrated Development Environment (IDE) for Security Protocols
Preprint
Abstract
To develop trustworthy distributed systems, verification techniques and formal methods, including lightweight and practical approaches, have been employed to certify the design or implementation of security protocols. Lightweight formal methods offer a more accessible alternative to traditional fully formalised techniques by focusing on simplified models and tool support, making them more applicable in practical settings. The technical advantages of formal verification over manual testing are increasingly recognised in the cybersecurity community. However, for practitioners, formal modelling and verification are often too complex and unfamiliar to be used routinely. In this paper, we present an Eclipse IDE for the design, verification, and implementation of security protocols and evaluate its effectiveness, including feedback from users in educational settings. It offers user-friendly assistance in the formalisation process as part of a Model-Driven Development approach. This IDE centres around the Alice & Bob (AnB) notation, the AnBx Compiler and Code Generator, the OFMC model checker, and the ProVerif cryptographic protocol verifier. For the evaluation, we identify the six most prominent limiting factors for formal method adoption, based on relevant literature in this field, and we consider the IDE's effectiveness against those criteria. Additionally, we conducted a structured survey to collect feedback from university students who have used the toolkit for their projects. The findings demonstrate that this contribution is valuable as a workflow aid and helps users grasp essential cybersecurity concepts, even for those with limited knowledge of formal methods or cryptography. Crucially, users reported that the IDE has been an important component to complete their projects and that they would use again in the future, given the opportunity.Keywords
All Related Versions
- Version 1, 2024-11-26, ArXiv
- Published version: Electronics, 13 (23), 4660.
This publication has 69 references indexed in Scilit:
- Correct Pattern-Based Development Through Refinements and Weakest Preconditions Calculus2024
- Teaching Formal Methods in Application Domains2024
- The 2020 Expert Survey on Formal Methods2020
- What’s in a Downgrade? A Taxonomy of Downgrade Attacks in the TLS Protocol and Application Protocols Using TLS2018
- The AVISPA Tool for the Automated Validation of Internet Security Protocols and Applications2005
- Lightweight Formal MethodsLecture Notes in Computer Science, 2001
- The Yahalom ProtocolLecture Notes in Computer Science, 2000
- Formal Methods: The Problem Is EducationLecture Notes in Computer Science, 2000
- Breaking and fixing the Needham-Schroeder Public-Key Protocol using FDR1996
- PVS: A prototype verification system1992