Anonymous communication systems provide a useful set of features, such as preventing 3rd parties from knowing if two parties are communicating with each other. Research into anonymous communications is vigorous. Researchers investigate methods of attacks and defences, techniques for performance improvements, and novel designs to name a few threads of inquiry.
Often this research is supported by empirical data. Experiments provide a wealth of data to test theories against, learn about network phenomena, and assess new designs. However, there are some experimental objectives that are harder to collect data about. The difficulty is not just that it is hard to devise an effective experiment but that the experiment, and the data collected, could counteract the anonymous communication properties of the network. The problem becomes especially relevant when the network is actually being used by real life people, where data collected from the network might directly, or indirectly, violate their privacy expectations.
A real-world example where this issue has emerged is the Tor network. About two million people globally[1] use the network for their anonymous communication needs. There is also a very active research community, and the Tor project—the maintainers of the network—are quite welcoming to researchers and their findings, often incorporating enhancements and defences to make the network more safe or perform better. In part, the size of the user-base today is due to the enhancements research has provided. However, due to the sensitivity around collecting real-world client data, certain aspects of the network remain vague or not well understood, such as client usage, destination visits, and individual network traffic.
It is clear that having this data would lead to better models to test the safety and performance of the Tor network. The trick is then to conduct experiments and collect data in a privacy-preserving manner. Usually, the modus operandi is to collect data and encrypt it so that only the researcher is able to access it. Afterwards, the paper being written, the data may be purged. However, this is not a coercion resistant method since while the data exists, a powerful entity might be able to compel the disclosure of the data. It also does not address the issue that too fine-grained data might be collected which may expose clients to the curious researcher. Also, it is wasteful since the next researcher can not leverage existing data and must collect their own.
Progress is being made in this space, such as the work of Elahi et al.[2] and Melis et al.[3] to name a couple, where the data collection is coercion-resistant and the data is in a privacy-preserving form that makes it safer to release to the research community. Their methodologies are geared towards statistical data but with more attention being given to this problem space, a research area in itself for those looking for an interesting set of challenges to solve, it is likely that further advances can be achieved.
For its part to draw attention to this problem space, the Tor project has created a Tor Research Safety Board[4], to provide guidance to researchers wishing to conduct experiments by collecting potentially risky client data on the live Tor network. While the board is still in an early stage, the guidelines, examples of good and bad practices, and safety assessment template provided help the researcher think through their experimental design and the benefits and risks that it produces.
Designing experiments is a difficult task and adding privacy-preservation further complicates it. However, there is support, both in the form of the guidance and the tools described above, for conducting research that is safer. The privacy-conscious researcher can make deliberate efforts to design privacy-preserving experiments to protect real live users and yet discover and fill in those vague and less understood areas of anonymous communications and networking.
References
- [1] https://metrics.torproject.org/userstats-relay-country.html
- [2] Tariq Elahi, George Danezis, and Ian Goldberg. “Privex: Private collection of traffic statistics for anonymous communication networks.” Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security (CCS), 2014.
- [3] Luca Melis, George Danezis, and Emiliano De Cristofaro. “Efficient Private Statistics with Succinct Sketches.” Proceedings of the 2016 Network and Distributed System Security Symposium (NDSS), 2016.
- [4] https://research.torproject.org/safetyboard.html
Thanks to Tariq Elahi for writing this blog post.


