Cryptology ePrint Archive: Report 2022/407

Improving the Privacy of Tor Onion Services

Edward Eaton and Sajin Sasy and Ian Goldberg

Abstract: Onion services enable bidirectional anonymity for parties that communicate over the Tor network, thus providing improved privacy properties compared to standard TLS connections. Since these services are designed to support server-side anonymity, the entry points for these services shuffle across the Tor network periodically. In order to connect to an onion service at a given time, the client has to resolve the .onion address for the service, which requires querying volunteer Tor nodes called Hidden Service Directories (HSDirs). However, previous work has shown that these nodes may be untrustworthy, and can learn or leak the metadata about which onion services are being accessed. In this paper, we present a new class of attacks that can be performed by malicious HSDirs against the current generation (v3) of onion services. These attacks target the unlinkability of onion services, allowing some services to be tracked over time.

To restore unlinkability, we propose a number of concrete designs that use Private Information Retrieval (PIR) to hide information about which service is being queried, even from the HSDirs themselves. We examine the three major classes of PIR schemes, and analyze their performance, security, and how they fit into Tor in this context. We provide and evaluate implementations and end-to-end integrations, and make concrete suggestions to show how these schemes could be used in Tor to minimize the negative impact on performance while providing the most security.

Category / Keywords: applications / Tor, Onion Services, Unlinkability, PIR

Original Publication (with major differences): ACNS 2022

Date: received 29 Mar 2022

Contact author: eeaton at uwaterloo ca, ssasy at uwaterloo ca, iang at uwaterloo ca

Available format(s): PDF | BibTeX Citation

Version: 20220331:072937 (All versions of this report)

Short URL: ia.cr/2022/407


[ Cryptology ePrint archive ]