PIR-Tor: Scalable Anonymous Communication Using Private Information Retrieval ∗

Total Page:16

File Type:pdf, Size:1020Kb

PIR-Tor: Scalable Anonymous Communication Using Private Information Retrieval ∗ PIR-Tor: Scalable Anonymous Communication Using Private Information Retrieval ∗ Prateek Mittal1 Femi Olumofin2 Carmela Troncoso3 Nikita Borisov1 Ian Goldberg2 1University of Illinois at Urbana-Champaign 2University of Waterloo 3K.U.Leuven/IBBT 1308 West Main Street 200 University Ave W Kasteelpark Arenberg 10 Urbana, IL, USA Waterloo, ON, Canada 3001 Leuven Belgium fmittal2,[email protected] ffgolumof,[email protected] [email protected] Abstract consists of about 2 000 relays and currently serves hun- dreds of thousands of users a day [45]. Tor is widely used Existing anonymous communication systems like Tor do by whistleblowers, journalists, businesses, law enforce- not scale well as they require all users to maintain up-to- ment and government organizations, and regular citizens date information about all available Tor relays in the sys- concerned about their privacy [46]. tem. Current proposals for scaling anonymous commu- Tor requires each user to maintain up-to-date infor- nication advocate a peer-to-peer (P2P) approach. While mation about all available relays in the network (global the P2P paradigm scales to millions of nodes, it pro- view). As the number of relays and clients increases, vides new opportunities to compromise anonymity. In the cost of maintaining this global view becomes pro- this paper, we step away from the P2P paradigm and ad- hibitively expensive. In fact, McLachlan et al. [22] vocate a client-server approach to scalable anonymity. showed that in the near future the Tor network could be We propose PIR-Tor, an architecture for the Tor net- spending more bandwidth for maintaining a global view work in which users obtain information about only a few of the system than for anonymous communication itself. onion routers using private information retrieval tech- Existing approaches to improving Tor’s scalability ad- niques. Obtaining information about only a few onion vocate a peer-to-peer approach. While the peer-to-peer routers is the key to the scalability of our approach, while paradigm scales to millions of relays, it also provides the use of private retrieval information techniques helps new opportunities for attack. The complexity of the de- preserve client anonymity. The security of our architec- signs makes it difficult for the authors to provide rigorous ture depends on the security of PIR schemes which are proofs of security. The result is that the security commu- well understood and relatively easy to analyze, as op- nity has been very successful at breaking the state-of-art posed to peer-to-peer designs that require analyzing ex- peer-to-peer anonymity designs [4, 6, 7, 23, 47, 48]. tremely complex and dynamic systems. In particular, we In this paper, we step away from the peer-to-peer demonstrate that reasonable parameters of our architec- paradigm and propose PIR-Tor, a scalable client-server ture provide equivalent security to that of the Tor net- approach to anonymous communication. The key obser- work. Moreover, our experimental results show that the vation motivating our architecture is that clients require overhead of PIR-Tor is manageable even when the Tor information about only a few relays (3 in the current network scales by two orders of magnitude. Tor network) to build a circuit for anonymous commu- nication. Currently, clients download the entire database 1 Introduction of relays to protect their anonymity from compromised directory servers. In our proposal, on the other hand, As more of our daily activities shift online, the issue of clients use private information retrieval (PIR) techniques user privacy comes to the forefront. Anonymous com- to download information about only a few relays. PIR munication is a privacy enhancing technology that en- prevents untrusted directory servers from learning any ables a user to communicate with a recipient without re- information about the clients’ choices of relays, and thus vealing her identity (IP address) to the recipient or a third mitigates route fingerprinting attacks [6, 7]. party (for example, Internet routers). Tor [10] is a de- We consider two architectures for PIR-Tor, based on ployed network for anonymous communication, which the use of computational PIR and information-theoretic PIR, and evaluate their performance and security. We ∗An extended version of this paper is available [26]. find that for the creation of a single circuit, the archi- tecture based on computational PIR provides an order plications of clients not having the global system view, of magnitude improvement over a full download of all and show that reasonable parameters of PIR-Tor provide descriptors, while the information-theoretic architecture equivalent security to Tor. provides two orders of magnitude improvement over a full download. However, in the scenario where clients 2.1 Distributed hash table based architec- wish to build multiple circuits, several PIR queries must be performed and the communication overhead of the tures computational PIR architecture quickly approaches that Distributed hash tables (DHTs), also known as struc- of a full download. In this case, we propose to perform tured peer-to-peer topologies, assign neighbor relation- only a few PIR queries and reuse their results for cre- ships using a pseudorandom but deterministic mathemat- ating multiple circuits, and discuss the security implica- ical formula based on IP addresses or public keys of tions of the same. On the other hand, for the information- nodes. theoretic architecture, we find that even with multiple cir- Salsa [29] is built on top of a DHT, and uses a spe- cuits, the communication overhead is at least an order of cially designed secure lookup operation to select random magnitude smaller than a full download. It is therefore relays in the network. The secure lookups use redundant feasible for clients to perform a PIR query for each de- checks to mitigate attacks that try to bias the result of the sired circuit. In particular, we show that, subject to cer- lookup. However, Mittal and Borisov [23] showed that tain constraints, this results in security equivalent to the Salsa is vulnerable to information leak attacks: as the at- current Tor network. With our improvements, the Tor tackers can observe a large fraction of the lookups in the network can easily sustain a 10-fold increase in both re- system, a node’s selection of relays is no longer anony- lays and clients. PIR-Tor also enables a scenario where mous and this observation can be used to compromise all clients convert to middle-only relays, improving the user anonymity [6,7]. Salsa is also vulnerable to a selec- security and the performance of the Tor network [9]. tive denial-of-service attack, where nodes break circuits The remainder of this paper is organized as follows. that they cannot compromise [4, 47]. We discuss related work in Section 2. We present a brief Panchenko et al. proposed NISAN [35] in which overview of Tor and private information retrieval in Sec- information-leak attacks are mitigated by a secure iter- tion 3. In Section 4, we give an overview of our system ative lookup operation with built-in anonymity. The se- architecture, and present the full protocol in Section 5. cure lookup operation uses redundancy to mitigate active We discuss the traffic analysis implications of our archi- attacks, but hides the identity of the lookup destination tecture in Section 6. Sections 7 and 8 contain our perfor- from the intermediate nodes by downloading the entire mance evaluation for the computational and information- routing table of the intermediate nodes and processing theoretic PIR proposals respectively. We discuss the the lookup operation locally. However, Wang et al. [48] ramifications of our design in Section 9, and finally con- were able to drastically reduce the lookup anonymity by clude in Section 10. taking into account the structure of the topology and the deterministic nature of the paths traversed by the lookup 2 Related Work mechanism. Torsk, introduced by McLachlan et al. [22], uses secret In contrast to our client-server approach, prior work buddy nodes to mitigate information leak attacks. Instead mostly advocates a peer-to-peer approach for scalable of performing a lookup operation themselves, nodes can anonymous communication. We can categorize existing instruct their secret buddy nodes to perform the lookup work on peer-to-peer anonymity into architectures that on their behalf. Thus, even if the lookup process is not are based on random walks on unstructured or structured anonymous, the adversary will not be able to link the topologies, and architectures that use a lookup operation node with the lookup destination (since the relationship in a distributed hash table. between a node and its buddy is a secret). However, the Besides these peer-to-peer approaches Mittal et aforementioned work of Wang et al. [48] also showed al. [25] briefly considered the idea of using PIR queries some vulnerabilities in the mechanism for obtaining se- to scale anonymous communication. However, their de- cret buddy nodes. scription was not complete, and their evaluation was very preliminary. In this paper, we build upon their work and 2.2 Random walk based architectures present a complete system architecture based on PIR. In contrast to prior work, we also consider the use of In MorphMix [38] the scalability problem in Tor is al- information-theoretic PIR, and show that it outperforms leviated by organizing relays in an unstructured peer-to- computational PIR based Tor architecture in many scal- peer overlay, where each relay has knowledge of only a ing scenarios. We also provide an analysis of the im- few other relays in the system. For building circuits, an initiator performs a random walk by first selecting a ran- of clients, and carries terabytes of traffic per day [45]. dom neighbor and building an onion routing circuit to The network is comprised of approximately 2 000 relays it.
Recommended publications
  • Arxiv:1907.07120V1 [Cs.CY] 16 Jul 2019 1 Introduction That China Hindered Access to I2P by Poisoning DNS Resolu- Tions of the I2P Homepage and Three Reseed Servers
    Measuring I2P Censorship at a Global Scale Nguyen Phong Hoang Sadie Doreen Michalis Polychronakis Stony Brook University The Invisible Internet Project Stony Brook University Abstract required flexibility for conducting fine-grained measurements on demand. We demonstrate these benefits by conducting an The prevalence of Internet censorship has prompted the in-depth investigation of the extent to which the I2P (invis- creation of several measurement platforms for monitoring ible Internet project) anonymity network is blocked across filtering activities. An important challenge faced by these different countries. platforms revolves around the trade-off between depth of mea- Due to the prevalence of Internet censorship and online surement and breadth of coverage. In this paper, we present surveillance in recent years [7, 34, 62], many pro-privacy and an opportunistic censorship measurement infrastructure built censorship circumvention tools, such as proxy servers, virtual on top of a network of distributed VPN servers run by vol- private networks (VPN), and anonymity networks have been unteers, which we used to measure the extent to which the developed. Among these tools, Tor [23] (based on onion rout- I2P anonymity network is blocked around the world. This ing [39,71]) and I2P [85] (based on garlic routing [24,25,33]) infrastructure provides us with not only numerous and ge- are widely used by privacy-conscious and censored users, as ographically diverse vantage points, but also the ability to they provide a higher level of privacy and anonymity [42]. conduct in-depth measurements across all levels of the net- In response, censors often hinder access to these services work stack.
    [Show full text]
  • A Generic Data Exchange System for F2F Networks
    The Retroshare project The GXS system Decentralize your app! A Generic Data Exchange System for F2F Networks Cyril Soler C.Soler The GXS System 03 Feb. 2018 1 / 19 The Retroshare project The GXS system Decentralize your app! Outline I Overview of Retroshare I The GXS system I Decentralize your app! C.Soler The GXS System 03 Feb. 2018 2 / 19 The Retroshare project The GXS system Decentralize your app! The Retroshare Project I Mesh computers using signed TLS over TCP/UDP/Tor/I2P; I anonymous end-to-end encrypted FT with swarming; I mail, IRC chat, forums, channels; I available on Mac OS, Linux, Windows, (+ Android). C.Soler The GXS System 03 Feb. 2018 3 / 19 The Retroshare project The GXS system Decentralize your app! The Retroshare Project I Mesh computers using signed TLS over TCP/UDP/Tor/I2P; I anonymous end-to-end encrypted FT with swarming; I mail, IRC chat, forums, channels; I available on Mac OS, Linux, Windows. C.Soler The GXS System 03 Feb. 2018 3 / 19 The Retroshare project The GXS system Decentralize your app! The Retroshare Project I Mesh computers using signed TLS over TCP/UDP/Tor/I2P; I anonymous end-to-end encrypted FT with swarming; I mail, IRC chat, forums, channels; I available on Mac OS, Linux, Windows. C.Soler The GXS System 03 Feb. 2018 3 / 19 The Retroshare project The GXS system Decentralize your app! The Retroshare Project I Mesh computers using signed TLS over TCP/UDP/Tor/I2P; I anonymous end-to-end encrypted FT with swarming; I mail, IRC chat, forums, channels; I available on Mac OS, Linux, Windows.
    [Show full text]
  • Hacking the Web
    Hacking the Web (C) 2009-2020 Arun Viswanathan Ellis Horowitz Marco Papa 1 Table of Contents } General Introduction } Authentication Attacks } Client-Side Attacks } Injection Attacks } Recent Attacks } Privacy Tools 2 (C) 2009-2020 Arun Viswanathan Ellis Horowitz Marco Papa Why secure the Web? } The Web has evolved into an ubiquitous entity providing a rich and common platform for connecting people and doing business. } BUT, the Web also offers a cheap, effective, convenient and anonymous platform for crime. } To get an idea, the Web has been used for the following types of criminal activities (source: The Web Hacking Incidents Database (WHID) http://projects.webappsec.org/w/page/13246995/Web-Hacking-Incident-Database) } Chaos (Attack on Russian nuclear power websites amid accident rumors (5Jan09) } Deceit (SAMY XSS Worm – Nov 2005) } Extortion (David Aireys domain hijacked due to a CSRF (cross site request forgery) flaw in Gmail – 30Dec2007) } Identity Theft (XSS on Yahoo! Hot jobs – Oct 2008) } Information Warfare (Israeli Gaza War - Jan 2009 / Balkan Wars – Apr 2008 ) } Monetary Loss (eBay fraud using XSS) } Physical Pain (Hackers post on epilepsy forum causes migraines and seizures – May 2008) } Political Defacements (Hacker changes news release on Sheriffs website – Jul 2008) (Obama, Oreilly and Britneys Twitter accounts hacked and malicious comments posted – Jan 09) } Chinese Gaming sites hacked (Dec. 2011) 3 Copyright(C) 2009 (c) -20092020- 2019Arun Arun Viswanathan Viswanathan Ellis HorowitzEllis Horowitz Marco Marco Papa Papa
    [Show full text]
  • Anonymous Rate Limiting with Direct Anonymous Attestation
    Anonymous rate limiting with Direct Anonymous Attestation Alex Catarineu Philipp Claßen Cliqz GmbH, Munich Konark Modi Josep M. Pujol 25.09.18 Crypto and Privacy Village 2018 Data is essential to build services 25.09.18 Crypto and Privacy Village 2018 Problems with Data Collection IP UA Timestamp Message Payload Cookie Type 195.202.XX.XX FF.. 2018-07-09 QueryLog [face, facebook.com] Cookie=966347bfd 14:01 1e550 195.202.XX.XX Chrome.. 2018-07-09 Page https://analytics.twitter.com/user/konark Cookie=966347bfd 14:06 modi 1e55040434abe… 195.202.XX.XX Chrome.. 2018-07-09 QueryLog [face, facebook.com] Cookie=966347bfd 14:10 1e55040434abe… 195.202.XX.XX Chrome.. 2018-07-09 Page https://booking.com/hotels/barcelona Cookie=966347bfd 16:15 1e55040434abe… 195.202.XX.XX Chrome.. 2018-07-09 QueryLog [face, facebook.com] Cookie=966347bfd 14:10 1e55040434abe… 195.202.XX.XX FF.. 2018-07-09 Page https://shop.flixbus.de/user/resetting/res Cookie=966347bfd 18:40 et/hi7KTb1Pxa4lXqKMcwLXC0XzN- 1e55040434abe… 47Tt0Q 25.09.18 Crypto and Privacy Village 2018 Anonymous data collection Timestamp Message Type Payload 2018-07-09 14 Querylog [face, facebook.com] 2018-07-09 14 Querylog [boo, booking.com] 2018-07-09 14 Page https://booking.com/hotels/barcelona 2018-07-09 14 Telemetry [‘engagement’: 0 page loads last week, 5023 page loads last month] More details: https://gist.github.com/solso/423a1104a9e3c1e3b8d7c9ca14e885e5 http://josepmpujol.net/public/papers/big_green_tracker.pdf 25.09.18 Crypto and Privacy Village 2018 Motivation: Preventing attacks on anonymous data collection Timestamp Message Type Payload 2018-07-09 14 querylog [book, booking.com] 2018-07-09 14 querylog [fac, facebook.com] … ….
    [Show full text]
  • Tor and Circumvention: Lessons Learned
    Tor and circumvention: Lessons learned Nick Mathewson The Tor Project https://torproject.org/ 1 What is Tor? Online anonymity 1) open source software, 2) network, 3) protocol Community of researchers, developers, users, and relay operators Funding from US DoD, Electronic Frontier Foundation, Voice of America, Google, NLnet, Human Rights Watch, NSF, US State Dept, SIDA, ... 2 The Tor Project, Inc. 501(c)(3) non-profit organization dedicated to the research and development of tools for online anonymity and privacy Not secretly evil. 3 Estimated ~250,000? daily Tor users 4 Anonymity in what sense? “Attacker can’t learn who is talking to whom.” Bob Alice Alice Anonymity network Bob Alice Bob 5 Threat model: what can the attacker do? Alice Anonymity network Bob watch Alice! watch (or be!) Bob! Control part of the network! 6 Anonymity isn't cryptography: Cryptography just protects contents. “Hi, Bob!” “Hi, Bob!” Alice <gibberish> attacker Bob 7 Anonymity isn't just wishful thinking... “You can't prove it was me!” “Promise you won't look!” “Promise you won't remember!” “Promise you won't tell!” “I didn't write my name on it!” “Isn't the Internet already anonymous?” 8 Anonymity serves different interests for different user groups. Anonymity “It's privacy!” Private citizens 9 Anonymity serves different interests for different user groups. Anonymity Businesses “It's network security!” “It's privacy!” Private citizens 10 Anonymity serves different interests for different user groups. “It's traffic-analysis resistance!” Governments Anonymity Businesses “It's network security!” “It's privacy!” Private citizens 11 Anonymity serves different interests for different user groups.
    [Show full text]
  • DARK WEB INVESTIGATION GUIDE Contents 1
    DARK WEB INVESTIGATION GUIDE Contents 1. Introduction 3 2. Setting up Chrome for Dark Web Access 5 3. Setting up Virtual Machines for Dark Web Access 9 4. Starting Points for Tor Investigations 20 5. Technical Clues for De-Anonymizing Hidden Services 22 5.1 Censys.io SSL Certificates 23 5.2 Searching Shodan for Hidden Services 24 5.3 Checking an IP Address for Tor Usage 24 5.4 Additional Resources 25 6. Conclusion 26 2 Dark Web Investigation Guide 1 1. Introduction 3 Introduction 1 There is a lot of confusion about what the dark web is vs. the deep web. The dark web is part of the Internet that is not accessible through traditional means. It requires that you use a technology like Tor (The Onion Router) or I2P (Invisible Internet Project) in order to access websites, email or other services. The deep web is slightly different. The deep web is made of all the webpages or entire websites that have not been crawled by a search engine. This could be because they are hidden behind paywalls or require a username and password to access. We are going to be setting up access to the dark web with a focus on the Tor network. We are going to accomplish this in two different ways. The first way is to use the Tor Browser to get Google Chrome connected to the the Tor network. This is the less private and secure option, but it is the easiest to set up and use and is sufficient for accessing material on the dark web.
    [Show full text]
  • Tor: the Second-Generation Onion Router (2014 DRAFT V1)
    Tor: The Second-Generation Onion Router (2014 DRAFT v1) Roger Dingledine Nick Mathewson Steven Murdoch The Free Haven Project The Free Haven Project Computer Laboratory [email protected] [email protected] University of Cambridge [email protected] Paul Syverson Naval Research Lab [email protected] Abstract Perfect forward secrecy: In the original Onion Routing We present Tor, a circuit-based low-latency anonymous com- design, a single hostile node could record traffic and later munication service. This Onion Routing system addresses compromise successive nodes in the circuit and force them limitations in the earlier design by adding perfect forward se- to decrypt it. Rather than using a single multiply encrypted crecy, congestion control, directory servers, integrity check- data structure (an onion) to lay each circuit, Tor now uses an ing, configurable exit policies, anticensorship features, guard incremental or telescoping path-building design, where the nodes, application- and user-selectable stream isolation, and a initiator negotiates session keys with each successive hop in practical design for location-hidden services via rendezvous the circuit. Once these keys are deleted, subsequently com- points. Tor is deployed on the real-world Internet, requires promised nodes cannot decrypt old traffic. As a side benefit, no special privileges or kernel modifications, requires little onion replay detection is no longer necessary, and the process synchronization or coordination between nodes, and provides of building circuits is more reliable, since the initiator knows a reasonable tradeoff between anonymity, usability, and ef- when a hop fails and can then try extending to a new node.
    [Show full text]
  • An Analysis of Private Browsing Modes in Modern Browsers
    An Analysis of Private Browsing Modes in Modern Browsers Gaurav Aggarwal Elie Bursztein Collin Jackson Dan Boneh Stanford University CMU Stanford University Abstract Even within a single browser there are inconsistencies. We study the security and privacy of private browsing For example, in Firefox 3.6, cookies set in public mode modes recently added to all major browsers. We first pro- are not available to the web site while the browser is in pose a clean definition of the goals of private browsing private mode. However, passwords and SSL client cer- and survey its implementation in different browsers. We tificates stored in public mode are available while in pri- conduct a measurement study to determine how often it is vate mode. Since web sites can use the password man- used and on what categories of sites. Our results suggest ager as a crude cookie mechanism, the password policy that private browsing is used differently from how it is is inconsistent with the cookie policy. marketed. We then describe an automated technique for Browser plug-ins and extensions add considerable testing the security of private browsing modes and report complexity to private browsing. Even if a browser ad- on a few weaknesses found in the Firefox browser. Fi- equately implements private browsing, an extension can nally, we show that many popular browser extensions and completely undermine its privacy guarantees. In Sec- plugins undermine the security of private browsing. We tion 6.1 we show that many widely used extensions un- propose and experiment with a workable policy that lets dermine the goals of private browsing.
    [Show full text]
  • Piracy Versus Privacy: an Analysis of Values Encoded in the Piratebrowser
    International Journal of Communication 9(2015), 818–838 1932–8036/20150005 Piracy Versus Privacy: An Analysis of Values Encoded in the PirateBrowser BALÁZS BODÓ University of Amsterdam, Institute for Information Law The Netherlands The PirateBrowser is a Web browser that uses Tor privacy-enhancing technology to circumvent nationally implemented Internet filters blocking access to The Pirate Bay. This article analyzes the possible consequences of a mass influx of copyright pirates into the privacy domain. The article addresses the effects of the uptake of strong privacy technologies by pirates on copyright enforcement and on free speech and privacy technology domains. Also discussed are the norms and values reflected in the specific design choices taken by the developers of the PirateBrowser. Keywords: piracy, privacy, Tor, privacy-enhancing technologies, policy Introduction Tor (The Onion Router), “endorsed by Egyptian activists, WikiLeaks, NSA, GCHQ, Chelsea Manning, Snowden” (Dingledine & Appelbaum, 2013), is a volunteer network of computers that relays Web traffic through itself to provide anonymous, unobserved, and uncensored access to the Internet. It has about 4,000 relays and about 1,000 exit nodes. Tor users connect to the network, and their Web traffic is channeled through the internal relays to reach its final destination through one of the exit nodes. This arrangement makes the identification and surveillance of Tor users difficult. Anonymity is promised by the difficulty of tracing the Web traffic that appears on the exit node back to the individual who initiated the traffic, as long as there is a sufficient number of internal hops in between. Protection from surveillance is granted by the fact that each link in the communication chain is encrypted.
    [Show full text]
  • Jacob Appelbaum, Wikileaks Activist and Tor Project Leader, Travels to Beijing to Work with Artist/Activist Ai We
    Breaking News: Jacob Appelbaum, Wikileaks activist and Tor Project leader, travels to Beijing to work with artist/activist Ai Weiwei for Rhizome's Seven on Seven conference at the New Museum. Laura Poitras documents the pair in her first film since Citizenfour, premiering excerpts at the event on May 2. On Saturday, April 19, Jacob Appelbaum—notable Wikileaks and Tor Project activist—traveled to Beijing for five days to take part in a collaboration with dissident artist Ai Weiwei, at the invitation of art- meets-tech organization Rhizome, on the occasion of the seventh Seven on Seven conference at the New Museum. Director Laura Poitras, whose portrait of Edward Snowden won the 2015 Academy Award for Documentary Feature, filmed the duo's work. Seven on Seven is an annual signature conference with a unique format that pairs artists and technologists together to make something new in 24 hours. The pair worked to create an artwork that underscores their mutual concerns with privacy, surveillance, and their state-restricted movement. Excerpts of the short film documenting this collaboration—Poitras' first since Citizenfour—will be premiered at the event, held at New Museum in New York on May 2, and the final film will be released online later in May. The Appelbaum/Ai collaboration was organized by Heather Corcoran, Executive Director of Rhizome, who said: “It was important to bring together these two courageous people who are disseminating their messages using art and technology, respectively, and facing similar levels of scrutiny and hardship as a result. It represents the best that Rhizome achieves with Seven on Seven, which brings the worlds of technology and art into closer proximity, to share strategies for thinking critically about digital culture and communicating those ideas.
    [Show full text]
  • Security Analysis of Instant Messenger Torchat
    TALLINN UNIVERSITY OF TECHNOLOGY Faculty of Information Technology Department of Informatics Chair of Software Engineering Security Analysis of Instant Messenger TorChat Master's Thesis Student: Rain Viigipuu Student code: 072125 Supervisor: Alexander Norta, PhD External Supervisor: Arnis Parˇsovs, MSc TALLINN 2015 Abstract TorChat is a peer-to-peer instant messenger built on top of the Tor network that not only provides authentication and end-to-end encryption, but also allows the communication parties to stay anonymous. In addition, it prevents third parties from even learning that communication is taking place. The aim of this thesis is to document the protocol used by TorChat and to analyze the security of TorChat and its reference implementation. The work shows that although the design of TorChat is sound, its implementation has several flaws, which make TorChat users vulnerable to impersonation, communication confirmation and denial-of-service attacks. 2 Contents 1 Introduction 6 2 Tor and Hidden Services 8 2.1 Hidden Services . .9 2.1.1 Hidden service address . 11 3 TorChat 12 3.1 Managing Contacts and Conversations . 12 3.2 Configuration Options . 16 4 TorChat Protocol 17 4.1 Handshake . 17 4.2 File Transfers . 18 4.3 Protocol Messages . 19 4.3.1 not implemented . 19 4.3.2 ping . 20 4.3.3 pong . 21 4.3.4 client . 22 4.3.5 version . 22 4.3.6 status . 22 4.3.7 profile name . 23 4.3.8 profile text . 23 4.3.9 profile avatar alpha . 24 4.3.10 profile avatar . 24 4.3.11 add me.............................
    [Show full text]
  • The Potential Harms of the Tor Anonymity Network Cluster Disproportionately in Free Countries
    The potential harms of the Tor anonymity network cluster disproportionately in free countries Eric Jardinea,1,2, Andrew M. Lindnerb,1, and Gareth Owensonc,1 aDepartment of Political Science, Virginia Tech, Blacksburg, VA 24061; bDepartment of Sociology, Skidmore College, Saratoga Springs, NY 12866; and cCyber Espion Ltd, Portsmouth PO2 0TP, United Kingdom Edited by Douglas S. Massey, Princeton University, Princeton, NJ, and approved October 23, 2020 (received for review June 10, 2020) The Tor anonymity network allows users to protect their privacy However, substantial evidence has shown that the preponder- and circumvent censorship restrictions but also shields those ance of Onion/Hidden Services traffic connects to illicit sites (7). distributing child abuse content, selling or buying illicit drugs, or With this important caveat in mind, our data also show that the sharing malware online. Using data collected from Tor entry distribution of potentially harmful and beneficial uses is uneven, nodes, we provide an estimation of the proportion of Tor network clustering predominantly in politically free regimes. In particular, users that likely employ the network in putatively good or bad the average rate of likely malicious use of Tor in our data for ways. Overall, on an average country/day, ∼6.7% of Tor network countries coded by Freedom House as “not free” is just 4.8%. In users connect to Onion/Hidden Services that are disproportion- countries coded as “free,” the percentage of users visiting Onion/ ately used for illicit purposes. We also show that the likely balance Hidden Services as a proportion of total daily Tor use is nearly of beneficial and malicious use of Tor is unevenly spread globally twice as much or ∼7.8%.
    [Show full text]