Association-based Privacy Attacks in Wireless Protocols: Formal Modeling and Mitigation

arXiv:2608.11337 · cs.CR, cs.NI · Submitted 2026-08-11 · Read on arXiv

Mohit Kumar Jangid, Felix Engelmann, Zhiqiang Lin

Indian Institute of Technology Jodhpur · Ohio State University

cs.CR, cs.NI

Submitted: 2026-08-11

Updated: 2026-08-13

Project page: https://tamarinprover.github.io/manual/book/001_introduction.html

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 87/100

The gist: This paper formally investigates the root causes of pairing-based privacy threats, specifically "Association Inference (AInf)" attacks, that are exploited using replay and relay techniques in

Terminology

Summary

This paper formally investigates the root causes of pairing-based privacy threats, specifically Association Inference (AInf) attacks, that are exploited using replay and relay techniques in wireless communication protocols. The research focuses on how allowlists, such as the Preferred Network List (PNL) in Wi-Fi and Bluetooth, enable an adversary to de-anonymize and track users.

The paper's motivation stems from existing attacks like the Bluetooth MAC Address Tracking Attack (BAT Attack), which exploits allowlists and replay/relay techniques to track users. The authors identify that the presence of allowlists and conditional checks over this data are the root causes enabling an adversary to deduce user association in privacy-sensitive groups. They characterize the AInf attack by outlining necessary infrastructure requirements, such as a local and privacy-sensitive data share network, persistent shared data, and protocol responses that depend on this data. The attacker's resources include the ability to replay or relay messages and observe distinguishable communication behaviors.

To address this, the paper proposes a two-staged mitigation strategy combining Prevention and Trapping and Detection. The detection stage uses fresh session keys to deterministically identify replay attacks and distance bounding protocols to detect relay attacks. The prevention stage ensures that protocol responses are oblivious (identical in structure regardless of condition outcomes), unique, and unpredictable, preventing the adversary from gaining any differentiable context during the handshake.

The authors formally model the Bluetooth reconnection procedure and the Wi-Fi P2P persistent group formation using the Tamarin prover. Their analysis reveals both old and new vulnerabilities in these protocols. For Bluetooth, they identify vulnerabilities in the advertisement phase (RPA resolution) and the session key derivation phase, including the plaintext START ENC REQ message and silent discards on MIC failures. For Wi-Fi P2P, they find vulnerabilities in the advertisement phase (plaintext response to netID check) and the four-way handshake, including the plaintext echo of nonces and replay counters.

The proposed protocol designs for both Bluetooth and Wi-Fi integrate a revised 3-way handshake with condition-oblivious responses and a subsequent distance bounding check. The Tamarin models validate that the proposed designs satisfy the privacy properties of Well-Authentication (WA), Frame Opacity (FO), No-Desynchronisation (ND), and Replay-Resistance (RR), along with Distance Bounding (DiB). The paper also presents a preliminary C++ implementation showing that the proposed designs achieve reconnection within 80-125 milliseconds, provided distance bounding checks are optimized.

The paper concludes that both the Wi-Fi Alliance and Bluetooth SIG have acknowledged the findings and agreed with the proposed solutions. The work contributes a novel privacy characterization, revised protocol designs, and formally and practically validated case studies, representing a step toward privacy-preserving wireless protocols.

Improvements for AI systems

Improvements to AI Systems:

  1. Formal Verification of Protocol Privacy Properties: AI systems can be enhanced to automatically model and verify wireless protocols (e.g., Bluetooth, Wi-Fi) using symbolic analysis tools like Tamarin. The improved AI can detect new association inference vulnerabilities (e.g., plaintext nonce echoes, silent discards) by generating and checking all possible adversarial replay/relay sequences against privacy invariants (WA, FO, ND, RR).

  2. Automated Design of Condition-Oblivious Responses: AI can be trained to redesign protocol handshakes so that all responses are structurally identical, unique, and unpredictable regardless of condition outcomes. The improved system can generate protocol patches that eliminate differentiable context (e.g., by padding messages, randomizing nonces, and removing plaintext status fields) while preserving functionality.

  3. Adaptive Attack Synthesis for Privacy Leakage: AI can simulate an adversary with replay/relay capabilities to automatically discover new de-anonymization vectors in any allowlist-based protocol. The improved system can enumerate all conditional checks over shared persistent data and flag any response that leaks association information, then propose countermeasures (e.g., distance bounding integration).

  4. Latency-Aware Security Optimization: AI can optimize the trade-off between privacy-preserving handshake steps (e.g., distance bounding) and reconnection latency. The improved system can tune cryptographic and distance-check parameters to meet real-time constraints (e.g., 80–125 ms reconnection) while maintaining formal privacy guarantees, using reinforcement learning on protocol execution traces.

  5. Cross-Protocol Vulnerability Transfer: AI can learn from the Bluetooth and Wi-Fi case studies to generalize root-cause patterns (e.g., allowlist-triggered plaintext responses) and automatically audit other wireless standards (e.g., Zigbee, Thread, NFC) for similar AInf risks. The improved system can produce a prioritized list of vulnerable protocol stages and recommended oblivious-response modifications.

  6. Runtime Intrusion Detection with Fresh Session Keys: AI can be embedded in network stacks to detect replay attacks deterministically by validating fresh session keys and to detect relay attacks via round-trip time anomalies from distance bounding. The improved system can dynamically switch to a trapping mode that feeds adversarial messages into a honeypot while maintaining normal user privacy.

Abstract

With the surge in privacy-sensitive data from sources such as social media and IoT devices, there is a pressing need for formal, automated methods to assess privacy risks within these intricate systems. This paper formally investigates root sources of pairing-based privacy threats exploited using replay/relay techniques in wireless communication. Our research harnesses condition-oblivious responses, replay-resistance, and distance bounding measures vital for protocols utilizing shared keys in allowlists for authenticated reconnections. Particularly, the paper uses formal modeling of notable wireless networks, like the Wi-Fi P2P persistent group formation and the Bluetooth Low Energy reconnection procedure, to illustrate the root causes and countermeasures. Our model rigorously validates the proposed solution against association inference attacks, along with existing formalizations of well-authentication, frame opacity, and no-desynchronization. The ensuing analysis reveals not only uncharted privacy realms in wireless communication but also identifies old and new vulnerabilities. Our proposed design changes are acknowledged by Wi-Fi Alliance and Bluetooth SIG, paving the way for future advancements in resilient, privacy-preserving wireless protocols.

Related papers