arXiv:2611.07170cs.CRNov 2026

Manuscript Offprint

arXiv:2611.07170

Global Surveillance Under the Lens: Reconstructing Passive Dolev-Yao Intruders

Paolo Modesti

Abstract

Global surveillance systems record large volumes of network traffic for retrospective analysis, but packet captures alone reveal little about protocol-level semantics. This paper presents an automated, specification-guided methodology for reconstructing passive Dolev-Yao intruder executions from captured network traffic and validating the reconstructed executions against a formal protocol specification. The framework takes a PCAP capture, an AnBx specification, and the associated deployment metadata; it extracts Java-serialised objects from TCP streams, reconstructs protocol sessions and channel-to-step assignments, and generates a passive intruder that evaluates the Dolev-Yao-derived checks produced by the AnBx compiler. Three reconstruction challenges are addressed: multiple serialised objects and object references within a TCP stream, ambiguity in mapping interleaved connections to concurrent protocol sessions, and semantic validation of candidate reconstructions. We evaluate the methodology on 121 protocols from the AnBx test suite. For single-session captures, the standard JDK cryptographic provider recovers 97.8% of expected objects and achieves 94.2% successful reconstruction, where success requires complete object recovery and a clean passive-intruder execution. For the 112 parallel-capable protocols, the toolchain achieves 89.3% successful reconstruction for both two and three concurrent sessions, while recovering approximately 97.2% of expected objects. Experiments with mismatched protocol-role mappings and deliberately mutated traces show that the generated Dolev-Yao checks respond to semantic inconsistencies. By making the reconstruction step explicit, the solution produces protocol-level observations on which assessments of protocol resilience and the design of defensive countermeasures can be built.

Keywords: Security protocols, Passive adversary, Dolev-Yao model, Attack reconstruction, PCAP analysis, AnBx

Email address: p.modesti@tees.ac.uk (Paolo Modesti)

1. Introduction

Global surveillance programmes, as disclosed by Edward Snowden in 2013 [1], have fundamentally altered our understanding of privacy and communication security. Snowden's revelations exposed a vast ecosystem of state surveillance, largely operated by the US National Security Agency (NSA) and its partners in the Five Eyes intelligence alliance. These programmes included PRISM (collection from major US technology companies), UPSTREAM (interception on the internet backbone), and XKEYSCORE (real-time interception of user activity). Others, such as BULLRUN (undermining encryption standards), MUSCULAR (infiltrating the private data links between Google and Yahoo data centres), and QUANTUMINSERT (targeted exploitation via network packet injection), further demonstrate the scale and sophistication of these operations. State actors systematically intercept, store, and analyse private communications, often exploiting protocol-level vulnerabilities. The threat is not merely theoretical: surveillance capabilities are used to bypass encryption, harvest metadata, and retroactively decrypt captured traffic when cryptographic keys become compromised [2]. These practices challenge the confidentiality and integrity of digital communication, with profound implications for privacy, economic security, and democratic governance. The economic cost of this threat has been quantified by Blanco-Romero et al. [3], who demonstrate that storing intercepted ciphertext is economically trivial for state-level actors over multi-decade timeframes.

Our work contributes a concrete, automated mechanism for analysing the technical underpinnings of such surveillance: specifically, enabling systematic assessment of the information that captured protocol executions expose to a passive observer.

References (50)