[Paper Review] Automatic analysis of distance bounding protocols
This paper presents an automated method for analyzing distance bounding protocols using a constraint solver extended with timed strand spaces and a formalized Secure Distance Bounding (SDB) property. It detects attacks such as man-in-the-middle and nearest-neighbor attacks by modeling protocol executions with timing constraints, demonstrating the technique on published protocols and revealing previously unknown vulnerabilities.
Distance bounding protocols are used by nodes in wireless networks to calculate upper bounds on their distances to other nodes. However, dishonest nodes in the network can turn the calculations both illegitimate and inaccurate when they participate in protocol executions. It is important to analyze protocols for the possibility of such violations. Past efforts to analyze distance bounding protocols have only been manual. However, automated approaches are important since they are quite likely to find flaws that manual approaches cannot, as witnessed in literature for analysis pertaining to key establishment protocols. In this paper, we use the constraint solver tool to automatically analyze distance bounding protocols. We first formulate a new trace property called Secure Distance Bounding (SDB) that protocol executions must satisfy. We then classify the scenarios in which these protocols can operate considering the (dis)honesty of nodes and location of the attacker in the network. Finally, we extend the constraint solver so that it can be used to test protocols for violations of SDB in these scenarios and illustrate our technique on some published protocols.
Motivation & Objective
- To address the limitations of manual analysis in detecting subtle flaws in distance bounding protocols.
- To formalize a new security property, Secure Distance Bounding (SDB), that captures the essential requirement of accurate distance estimation.
- To extend a constraint solver with timed protocol modeling to enable automated verification of SDB across various adversarial scenarios.
- To detect previously unknown attacks on published distance bounding protocols through systematic, automated testing.
- To provide a scalable and reusable framework for verifying the security of distance bounding protocols.
Proposed method
- Extends the strand space model with a time field to represent clock times at nodes, enabling modeling of message transmission delays.
- Introduces the Secure Distance Bounding (SDB) property as a formal requirement that protocol executions must satisfy to ensure accurate distance estimation.
- Classifies adversarial scenarios based on node honesty and attacker location (e.g., man-in-the-middle, colluding attackers) to guide analysis.
- Enhances a constraint solver to generate and validate timed protocol traces under these scenarios, checking for SDB violations.
- Uses the solver to test multiple protocols, including Echo-based and Guttman-style protocols, by simulating message flows and timing constraints.
- Applies the method to detect attacks such as Lowe-style MITM and nearest-neighbor attacks by analyzing message construction and timing discrepancies.
Experimental results
Research questions
- RQ1Can automated constraint-based analysis detect previously unknown attacks in distance bounding protocols that manual analysis may miss?
- RQ2How can the SDB property be formally defined and verified in timed protocol executions?
- RQ3What adversarial scenarios—such as man-in-the-middle or colluding attackers—can lead to SDB violations in distance bounding protocols?
- RQ4To what extent can existing constraint solvers be extended to model timing and distance properties in wireless protocols?
- RQ5How does the inclusion of cryptographic elements (e.g., nonces, signatures) affect the vulnerability to timing-based attacks?
Key findings
- The constraint solver successfully detected a man-in-the-middle attack on the Extended Echo protocol (P1), where an attacker made the prover appear closer than it was.
- The protocol P2 was vulnerable to a 'nearest-neighbor' attack when the verifier did not authenticate the prover’s identity early in the exchange.
- Removing the nonce in message 4.2 of protocol P3 revealed a new attack, demonstrating the critical role of nonces in preventing timing-based spoofing.
- The Guttman et al. protocol (P4) was vulnerable to a Lowe-style MITM attack when the verifier’s identity was not properly included in early messages, allowing the attacker to forge responses.
- The method successfully identified that the absence of the verifier’s identity in message 2 enabled the attacker to compromise both the distance bound and authentication.
- The framework was extended to support bounded analysis and can be adapted to unbounded verification using tools like ProVerif by modeling request and response events as atomic actions.
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.