Abstract
Formal verification of cryptographic protocols relies on defining equivalence between real and ideal processes. Existing notions like trace equivalence or open bisimilarity often fall short by being either non-congruent or overly sensitive to non-exploitable differences. This paper introduces quasi-open bisimilarity, a "Goldilocks" equivalence that is both a congruence—enabling modular proofs—and coarse enough to eliminate "spurious" attacks. We prove it is the coarsest bisimilarity congruence and demonstrate its utility through compositional proofs of protocol properties like unlinkability.
Introduction
In the applied $\pi$-calculus, security properties are often framed as behavioral equivalences. If an attacker cannot distinguish between a protocol $P$ and a specification $S$, then $P$ is considered secure. However, the choice of equivalence relation is critical. A relation that is too fine-grained may flag "spurious attacks"—mathematical differences that no real-world attacker could observe. Conversely, a relation that is not a congruence prevents modular reasoning, making it impossible to verify large systems by analyzing their components in isolation.
The Challenge of Equivalence
Current standards in formal verification face a trilemma:
- Trace Equivalence: While widely used in tools like ProVerif, it can be too coarse and may miss subtle timing or branching attacks.
- Early Bisimilarity: A common standard that captures branching behavior but fails to be a congruence. This lack of compositionality makes it difficult to scale proofs.
- Open Bisimilarity: A powerful congruence that allows for modular proofs but is often too "fine." It assumes attackers can distinguish processes based on private data they shouldn't be able to see, leading to false positives.
Formal Framework: The Applied π-Calculus
The authors build their theory on the applied $\pi$-calculus, where terms represent messages and cryptographic operations. The behavior of these terms is governed by an equational theory $E$.
As shown in the figure above, the grammar includes standard primitives such as public keys, hashes, tuples, and asymmetric encryption. The equational rules (e.g., $\text{adec}(\text{aenc}(M, \text{pk}(K)), K) =_E M$) define how these primitives interact, forming the basis for the attacker's reasoning capabilities.
Quasi-open Bisimilarity: The "Goldilocks" Solution
The core contribution of this work is the definition of Quasi-open Bisimilarity ($\sim$). It achieves the desired balance through two key technical innovations:
1. Intuitionistic Mismatch
Standard logic typically assumes the "law of excluded middle" ($x=y \lor x \neq y$). In protocol verification, this is problematic because an attacker might not know if two values are equal. Quasi-open bisimilarity treats "mismatch" (the else branch of a conditional) intuitionistically. A branch is only taken if it is impossible for the condition to be true under any future knowledge the attacker might gain.
2. Open Relations and LTS
The relation is "open," meaning it is preserved under all possible future substitutions of variables. By providing a formal Labelled Transition System (LTS) that avoids complex structural congruence rules, the authors make the equivalence cleaner and more amenable to automated verification.
Key Results and Compositionality
The paper establishes several landmark theoretical results:
- The Coarsest Congruence: The authors prove that quasi-open bisimilarity is the coarsest bisimilarity congruence that coincides with open barbed bisimilarity (Theorems 2 and 3). This confirms it is the most flexible tool that still supports modularity.
- Eliminating Spurious Attacks: Through the "Private Server" example, the authors demonstrate that their method correctly identifies secure protocols that previous "open" methods would wrongly flag as leaky.
- Compositional Reasoning: The utility of the framework is showcased through a proof of unlinkability. The authors verify a "Small System" and mathematically extend that proof to a "Full System" (Theorem 1), demonstrating that security properties can be proven piece-by-piece.
Conclusion and Future Work
Quasi-open bisimilarity provides a robust mathematical foundation for the next generation of protocol verification tools. While this work focuses on strong bisimilarity, future research will aim to extend these results to weak bisimilarity, which ignores internal computation steps invisible to an attacker. Additionally, implementing this checkable definition in tools like SPEC or ProVerif will bring these theoretical gains to practical security auditing.
Summary updated