[Paper Review] An Isabelle formalization of protocol-independent secrecy with an application to e-commerce
This paper presents a protocol-independent secrecy theorem formalized in Isabelle using Paulson's inductive approach, enabling automated verification of confidentiality in cryptographic protocols. It introduces the novel concept of 'guarded messages' to prove secrecy without tracking spy behavior explicitly, and applies the framework to formally verify two e-commerce protocols for mobile agent comparison shopping, achieving full certification of confidentiality, integrity, and non-repudiability.
A protocol-independent secrecy theorem is established and applied to several non-trivial protocols. In particular, it is applied to protocols proposed for protecting the computation results of free-roaming mobile agents doing comparison shopping. All the results presented here have been formally proved in Isabelle by building on Larry Paulson's inductive approach. This therefore provides a library of general theorems that can be applied to other protocols.
Motivation & Objective
- To develop a general, reusable framework for proving secrecy in cryptographic protocols without relying on spy-specific state tracking.
- To formalize and prove a protocol-independent secrecy theorem in Isabelle that applies to diverse protocols, including those for mobile agent security.
- To verify two novel e-commerce protocols for mobile agents that ensure confidentiality, integrity, and non-repudiability, which had not been formally certified before.
- To reduce the effort of formal protocol verification by enabling automated proof tactics for guardedness and uniqueness conditions.
Proposed method
- The paper introduces the concept of 'guarded messages', where a message is guarded if its secrecy depends on the secrecy of a set of keys used to encrypt it.
- It proves a core secrecy theorem stating that if a message can be derived from guarded messages, then one of the keying materials must also be derivable, thus ensuring secrecy if keys remain uncompromised.
- The approach formalizes protocols using Isabelle’s inductive data types for messages and events, modeling agents, keys, nonces, encryption, and hashing with perfect cryptographic assumptions.
- It defines a guardedness condition that can be checked per protocol rule, allowing secrecy to be proven by verifying that each rule preserves guardedness, independent of spy behavior.
- The framework is applied to verify Needham-Schoeder-Lowe, Otway-Rees, Yahalom, and two new e-commerce protocols for mobile agents.
- The authors implement and reuse Isabelle tactics to automate proofs of guardedness and uniqueness, significantly reducing verification time after initial setup.
Experimental results
Research questions
- RQ1Can a protocol-independent secrecy theorem be formally established in Isabelle that avoids explicit modeling of spy behavior?
- RQ2How can the concept of 'guarded messages' be used to simplify and generalize secrecy proofs in cryptographic protocols?
- RQ3Can this framework be effectively applied to verify non-trivial e-commerce protocols for mobile agents, including confidentiality, integrity, and non-repudiability?
- RQ4To what extent can automated tactics be developed within Isabelle to discharge guardedness and uniqueness conditions in secrecy proofs?
Key findings
- The paper successfully formalizes a protocol-independent secrecy theorem in Isabelle using Paulson’s inductive approach, enabling general reuse across multiple protocols.
- The guarded message concept provides a simpler and more intuitive foundation for secrecy proofs than coideal-based approaches, avoiding the need to track state or event sequences.
- The framework was used to formally verify two previously unverified e-commerce protocols for mobile agents, confirming their confidentiality, integrity, and non-repudiability.
- Proofs of confidentiality for requests and offers were extended beyond the spy to include all agents, requiring only minor extensions to Isabelle’s existing libraries.
- The formalization of P2 took only minutes after P1 was verified, demonstrating the framework’s reusability and modularity through simple message format changes.
- The authors expect to develop automated Isabelle tactics for proving guardedness and uniqueness lemmas, significantly reducing future verification effort.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.