Closing the Loop: Bidirectional Fully Encrypted Protocols
Baigang Chen, Nicholas Hopper
Key points
From the paper's conclusion- We validate the design through a Rust implementation and show that none of the surveyed deployed protocols provides the full set of BiFEP security properties.
Abstract
Fully encrypted protocols (FEPs) provide encrypted channels that make all protocol-generated bytes computationally indistinguishable from uniform random strings. Several previous works have explored security definitions and constructions of unidirectional FEPs: protocols in which one party acts only as a sender, and the other acts only as a receiver. However, most applications require two-way information exchange, and a network adversary can observe communication in both directions and their shared lifetime. Because the semantics of bidirectional channels involve more complex shared state, it is possible that the ``naïve'' composition of two unidirectional channels can result in a two-way protocol that can be detected based on dependencies between the two directions, such as traffic imbalance, channel closure, failures, or connection tear-down. To address this issue, we introduce new formal security definitions for bidirectional FEPs that capture exact shaping, delivery, protocol-state integrity, private half-close, and cross-direction isolation, while revealing a public ``sending schedule'' and ``closing epoch'' that may be randomized. We show that the trivial composition fails to meet these definitions, leading to practical detection attacks. We then construct provably secure bidirectional FEPs (BiFEPs) for both the datastream and datagram settings. For datastream, we combine two direction-separated FEPs with a ``wrapper'' layer that prevents detection based on the mismatch between uni- and bi-directional connection states. For datagram, we add encrypted DATA/FIN/ACK with replay protection and loss-tolerant close. We validate the design through a Rust implementation and show that none of the surveyed deployed protocols provides the full set of BiFEP security properties.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- When Handshakes Go Dark: An Adaptive Semantic-Sequential Fusion Framework for Encrypted Traffic ClassificationarXiv · 2026
- Drawing the $𝖫𝖨𝖭𝖤$: Cryptographic Analysis and Security Improvements for the $𝖫𝖨𝖭𝖤$ E2EE ProtocolIACR Communications in Cryptology · 2026
- FBAN: A Fully Homomorphic Encryption Compatible Bottleneck Attention Network for Privacy-Preserving Behavioral AuthenticationarXiv · 2026
- TrafficLLM: LLMs for improved open-set encrypted traffic analysisComputer Networks · 2025
- VCT: A Verifiable Transcript System for Large Language Model ConversationsElectronics · 2026
- DeSA: Decentralized Secure Aggregation for Federated Learning in Zero-Trust D2D NetworksIEEE Transactions on Information Forensics and Security · 2026