- Tor (anonymity network)
-
Tor Developer(s) The Tor Project[1] Initial release 20 September 2002[2] Stable release 2.2.34-1 (28 October 2011 ) [+/−] Preview release 0.2.3.7-alpha (30 October 2011[3][4]) [+/−] Written in C Operating system Cross-platform Type Onion routing, Anonymity License BSD license Website www.torproject.org Tor (short for The Onion Router) is a system intended to enable online anonymity. Tor client software routes Internet traffic through a worldwide volunteer network of servers in order to conceal a user's location or usage from someone conducting network surveillance or traffic analysis. Using Tor makes it more difficult to trace Internet activity, including "visits to Web sites, online posts, instant messages and other communication forms", to the user.[5] It is intended to protect users' personal freedom, privacy, and ability to conduct confidential business by keeping their internet activities from being monitored. "Onion routing" refers to the layered nature of the encryption service: The original data are encrypted and re-encrypted multiple times, then sent through successive Tor relays, each one of which decrypts a "layer" of encryption before passing the data on to the next relay and ultimately the destination. This reduces the possibility of the original data being unscrambled or understood in transit.[6] The software is a free-software and the network is free of charge to use.
Contents
History
An alpha version of the software, with the onion routing network "functional and deployed", was announced on 20 September 2002.[2] Roger Dingledine, Nick Mathewson and Paul Syverson presented "Tor: The Second-Generation Onion Router" at the 13th USENIX Security Symposium on 13 August 2004.[7] Though the name Tor originated as an acronym of The Onion Routing project, the current project no longer considers the name to be an acronym, and therefore does not use capital letters.[8]
Originally sponsored by the US Naval Research Laboratory,[7] Tor was financially supported by the Electronic Frontier Foundation from 2004 to 2005.[9] Tor software is now developed by the Tor Project, which has been a 501(c)(3) research/education nonprofit organization[10] based in the United States of America[1] since December 2006 and receives a diverse base of financial support.[9]
In March 2011 The Tor Project was awarded the Free Software Foundation's 2010 Award for Projects of Social Benefit on the following grounds: "Using free software, Tor has enabled roughly 36 million people around the world to experience freedom of access and expression on the Internet while keeping them in control of their privacy and anonymity. Its network has proved pivotal in dissident movements in both Iran and more recently Egypt."[11]
Operation
Tor aims to conceal its users' identities and their network activity from surveillance and traffic analysis by separating identification and routing. It is an implementation of onion routing, which encrypts and then randomly bounces communications through a network of relays run by volunteers throughout the globe. These onion routers employ encryption in a multi-layered manner (hence the onion metaphor) to ensure perfect forward secrecy between relays, thereby providing users with anonymity in network location. That anonymity extends to the hosting of censorship-resistant content via Tor's anonymous hidden service feature.[7] By keeping some of the entry relays secret (bridge relays), users can evade Internet censorship that relies upon blocking public Tor relays.[12]
Because the internet address of the sender and the recipient are not both in cleartext at any hop along the way (and at middle relays neither piece of information is in cleartext), someone eavesdropping at any point along the communication channel cannot directly identify both ends. Furthermore, to the recipient it appears that the last Tor node (exit relay) is the originator of the communication rather than the sender.
Originating traffic
Users of a Tor network run an onion proxy on their machine. The Tor software periodically negotiates a virtual circuit through the Tor network, using multi-layer encryption, ensuring perfect forward secrecy. At the same time, the onion proxy software presents a SOCKS interface to its clients. SOCKS-aware applications may be pointed at Tor, which then multiplexes the traffic through a Tor virtual circuit. The Polipo proxy server can speak the SOCKS 4 & SOCKS 5 protocols and therefore is recommended to be used together with the Tor anonymising network. Polipo is a web proxy that does HTTP 1.1 pipelining well, so it can enhance Tor's communication latency.[13][14]
Once inside a Tor network, the traffic is sent from router to router, ultimately reaching an exit node at which point the cleartext packet is available and is forwarded on to its original destination. Viewed from the destination, the traffic appears to originate at the Tor exit node.
Tor's application independence sets it apart from most other anonymity networks: it works at the Transmission Control Protocol (TCP) stream level. Applications whose traffic is commonly anonymised using Tor include Internet Relay Chat (IRC), instant messaging and World Wide Web browsing. When browsing the Web, Tor is often coupled with Polipo or Privoxy proxy servers. Privoxy is a filtering proxy server that aims to add privacy at the application layer. Polipo can speak the SOCKS protocol and does HTTP 1.1 pipelining for enhancing latencies, therefore is now recommended to be used together with the Tor anonymising network by the torproject.org.[13][14]
On older versions of Tor (resolved May–July 2010),[15] as with many anonymous web surfing systems, direct Domain Name System (DNS) requests are usually still performed by many applications, without using a Tor proxy. This allows someone monitoring a user's connection to determine (for example) which WWW sites they are viewing using Tor, even though they cannot see the content being viewed. Using Privoxy or the command "torify" included with a Tor distribution is a possible solution to this problem.[16] Additionally, applications using SOCKS5 – which supports name-based proxy requests – can route DNS requests through Tor, having lookups performed at the exit node and thus receiving the same anonymity as other Tor traffic.[17]
As of Tor release 0.2.0.1-alpha, Tor includes its own DNS resolver which will dispatch queries over the mix network. This should close the DNS leak and can interact with Tor's address mapping facilities to provide the Tor hidden service (
.onion
) access to non-SOCKS-aware applications.[15]Hidden services
Tor can also provide anonymity to servers in the form of location-hidden services, which are Tor clients or relays running specially configured server software. Rather than revealing the server's IP address (and therefore its network location), hidden services are accessed through Tor-specific
.onion
pseudo top-level domain (TLD), or pseudomain. The Tor network understands this TLD and routes data anonymously both to and from the hidden service. Due to this lack of reliance on a public address, hidden services may be hosted behind firewalls or network address translators (NAT). A Tor client is necessary in order to access a hidden service.[18]Hidden services have been deployed on the Tor network beginning in 2004.[19] Other than the database that stores the hidden-service descriptors,[20] Tor is decentralized by design; there is no direct readable list of hidden services. There are a number of independent hidden services that serve this purpose.
Because location-hidden services do not use exit nodes, they are not subject to exit node eavesdropping. There are, however, a number of security issues involving Tor hidden services. For example, services that are reachable through Tor hidden services and the public Internet are susceptible to correlation attacks and thus not perfectly hidden. Other pitfalls include misconfigured services (e.g. identifying information included by default in web server error responses),[18] uptime and downtime statistics, intersection attacks and user error.
Weaknesses
Like all current low latency anonymity networks, Tor cannot and does not attempt to protect against monitoring of traffic at the boundaries of the Tor network, i.e., the traffic entering and exiting the network. While Tor does provide protection against traffic analysis, it cannot prevent traffic confirmation (also called end-to-end correlation).[21][22]
Steven J. Murdoch and George Danezis from University of Cambridge presented an article[23] at the 2005 IEEE Symposium on security and privacy on traffic-analysis techniques that allow adversaries with only a partial view of the network to infer which nodes are being used to relay the anonymous streams. These techniques greatly reduce the anonymity provided by Tor. Murdoch and Danezis have also shown that otherwise unrelated streams can be linked back to the same initiator. However, this attack fails to reveal the identity of the original user.[23] Murdoch has been working with—and has been funded by—Tor since 2006.
In March 2011, researchers with the Rocquencourt, France based National Institute for Research in Computer Science and Control (Institut national de recherche en informatique et en automatique, INRIA) have documented an attack that is capable of revealing the IP addresses of BitTorrent users on the Tor network. The "bad apple attack" exploits Tor's design and takes advantage of insecure application use to associate the simultaneous usage of a secure application with the IP address of the Tor user in question. One method of attack depends on control of an exit node or hijacking tracker responses, while a secondary attack method is based in part on the statistical exploitation of distributed hash table tracking.[24] According to the study:
This attack against Tor consists of two parts: (a) exploiting an insecure application to reveal the source IP address of, or trace, a Tor user and (b) exploiting Tor to associate the usage of a secure application with the IP address of a user (revealed by the insecure application). As it is not a goal of Tor to protect against application-level attacks, Tor cannot be held responsible for the first part of this attack. However, because Tor’s design makes it possible to associate streams originating from secure application with traced users, the second part of this attack is indeed an attack against Tor. We call the second part of this attack the bad apple attack. (The name of this attack refers to the saying 'one bad apple spoils the bunch.' We use this wording to illustrate that one insecure application on Tor may allow to trace other applications.)[24]The results presented in the bad apple attack research paper are based on an actual attack in the wild launched against the Tor network by the authors of the study. The attack targeted six exit nodes, lasted for 23 days, and revealed a total of 10,000 IP addresses of active Tor users. This study is particularly significant because it is the first documented attack designed to target P2P file sharing applications on Tor.[24] BitTorrent may generate as much as 40% of all traffic on Tor,[25] which means a significant number of Tor users are potentially at risk. Furthermore, the bad apple attack is effective against insecure use of any application over Tor, not just BitTorrent.[24]
In September 2007, Dan Egerstad, a Swedish security consultant, revealed that he had intercepted usernames and passwords for a large number of email accounts by operating and monitoring Tor exit nodes.[26] As Tor does not, and by design cannot, encrypt the traffic between an exit node and the target server, any exit node is in a position to capture any traffic passing through it which does not use end-to-end encryption such as TLS. While this may or may not inherently violate the anonymity of the source if users mistake Tor's anonymity for end-to-end encryption they may be subject to additional risk of data interception by self-selected third parties.[27] (The operator of any network carrying unencrypted traffic, such as the operator of a wi-fi hotspot or corporate network, has the same ability to intercept traffic as a Tor exit operator. End-to-end encrypted connections should be used if such interception is a concern.) Even without end-to-end encryption, Tor provides confidentiality against these local observers which may be more likely to have interest in the traffic of users on their network than arbitrary Tor exit operators.
Nonetheless, Tor and the alternative network system JonDonym (Java Anon Proxy, JAP) are considered more resilient than alternatives such as VPNs. Were a local observer on an ISP or WLAN to attempt to analyze the size and timing of the encrypted data stream going through the VPN, Tor or JonDo system, the latter two would be harder to analyze, as demonstrated by a 2009 study.[28]
Researchers from INRIA showed that Tor dissimulation technique in Bittorrent can be bypassed.[29]
In October 2011, a research team from the French engineering school Esiea claimed to have discovered a way to compromise the Tor network by decrypting communication passing over it.[30][31] The technique they describe requires creating a map of Tor network nodes, controlling one third of them and then acquiring their encryption keys and algorithm seeds. Then, using these known keys and seeds, they claim the ability to decrypt two encryption layers out of three. They claim to break the third key by a statistical-based attack. In order to redirect Tor traffic to the nodes they controlled, they used both Denial-of-service attack and packet spinning methods. No technical analysis has been made available yet for the public or the Tor developers to analyze. Eric Filiol and his team intend to release this information at the upcoming PacSec and Hackers to Hackers conferences.[32]
Legal aspects
According to CNet, Tor's anonymity function is "endorsed by the Electronic Frontier Foundation and other civil liberties groups as a method for whistleblowers and human rights workers to communicate with journalists".[33] Anonymizing systems such as Tor are at times used for matters that are, or may be, illegal in some countries. For instance, Tor may be used to gain access to censored information; to organize political activities[34]; or to circumvent laws against criticism of heads of state. At the same time, Tor also allows anonymous defamation, unauthorized leaks of sensitive information, distributing copyrighted works, or illegal sexual content.[35][36]
Implementation
- The main implementation of Tor is written in the C programming language and consists of roughly 146,000 lines of source code.[37]
- Vuze (formerly Azureus), a BitTorrent client written in Java, includes built-in Tor support.[38]
- Routers with built-in hardware support for Tor are currently under development through the Torouter project.[39] The code is currently in the alpha phase of development, and runs on top of the OpenWrt platform.[40]
- The Guardian Project is actively developing a free and open-source suite of application programs and firmware for the Android platform to help make mobile communications more secure.[41] The applications include: Gibberbot — a secure, no-logging, instant messaging client that uses OTR encryption;[42] Orbot — a Tor implementation for Android;[43] Orweb — a privacy-enhanced mobile browser;[44] ProxyMob — a Firefox add-on that helps manage the HTTP, SOCKS, and SSL proxy settings for integration with Orbot;[45] and Secure Smart Cam — a set of privacy enhancing tools that offers encryption of stored images, face detection and blurring, and secure remote sync of media over slow networks.[46]
See also
- Anonymous P2P
- Anonymous remailer
- Arm (software)
- Crypto-anarchism
- Free Haven Project
- Freedom of information
- Freenet
- Hacktivism
- I2P
- Incognito (operating system)
- Internet censorship
- Internet privacy
- Netsukuku
- OpenNet Initiative
- OperaTor (web browser)
- Phantom Anonymity Protocol
- Polipo
- Portable Tor
- Privoxy
- Proxy server
- Tails (Linux distribution)
- The Silk Road (anonymous marketplace)
- Tor-ramdisk
- TorChat
- Vidalia project
- xB Machine
- XeroBank Browser
Footnotes
- ^ a b "Tor Project: Core People". The Tor Project. https://www.torproject.org/about/corepeople. Retrieved 17 July 2008.
- ^ a b Dingledine, Roger (20 September 2002). "pre-alpha: run an onion proxy now!". or-dev mailing list. http://archives.seul.org/or/dev/Sep-2002/msg00019.html. Retrieved 17 July 2008.
- ^ "Tor 0.2.3.7-alpha is out". The Tor Blog. The Tor Project. October 30th, 2011. https://blog.torproject.org/blog/tor-0237-alpha-out.
- ^ ChangeLog
- ^ Glater, Jonathan D. (25 January 2006). "Privacy for People Who Don't Show Their Navels". The New York Times. http://www.nytimes.com/2006/01/25/technology/techspecial2/25privacy.html?_r=1. Retrieved 13 May 2011.
- ^ The Tor Project. "Tor: anonymity online". https://www.torproject.org/. Retrieved 9 January 2011.
- ^ a b c Dingledine, Roger; Mathewson, Nick; Syverson, Paul (13 August 2004). "Tor: The Second-Generation Onion Router". Proc. 13th USENIX Security Symposium. San Diego, California. http://www.usenix.org/events/sec04/tech/dingledine.html. Retrieved 17 November 2008.
- ^ "Tor FAQ: Why is it called Tor?". The Tor Project. https://www.torproject.org/docs/faq#WhyCalledTor. Retrieved 1 July 2011.
- ^ a b "Tor: Sponsors". The Tor Project. https://www.torproject.org/about/sponsors.html.en. Retrieved 11 December 2010.
- ^ "Make a Donation". The Tor Project. https://www.torproject.org/donate/donate. Retrieved 31 May 2011.
- ^ "2010 Free Software Awards announced". http://www.fsf.org/news/2010-free-software-awards-announced. Retrieved 23 March 2011.
- ^ "Tor: Bridges". The Tor Project. https://www.torproject.org/docs/bridges. Retrieved 9 January 2011.
- ^ a b "TheOnionRouter/TorFAQ". The Tor Project. https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/TorFAQ#WhydoweneedPolipoorPrivoxywithTorWhichisbetter. Retrieved 28 December 2010.
- ^ a b "Ubuntuusers.de - Tor einrichten und verwenden.". http://wiki.ubuntuusers.de/Tor/Installation. Retrieved 28 December 2010.
- ^ a b "Tor Changelog". https://www.torproject.org/svn/trunk/ChangeLog. Retrieved 11 September 2007.
- ^ "TheOnionRouter/TorifyHOWTO – Noreply Wiki". https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO. Retrieved 19 April 2007.
- ^ "RFC 1928 - SOCKS Proxy Protocol, Version 5". http://www.rfc.net/rfc1928.html. Retrieved 4 August 2008.
- ^ Øverlier, Lasse; Paul Syverson (21 June 2006). "Locating Hidden Servers" (PDF). Proceedings of the 2006 IEEE Symposium on Security and Privacy. IEEE Symposium on Security and Privacy. Oakland, CA: IEEE CS Press. pp. 1. doi:10.1109/SP.2006.24. ISBN 0-7695-2574-1. http://www.onion-router.net/Publications/locating-hidden-servers.pdf. Retrieved 8 June 2008.
- ^ The Tor Project, Inc.. "Tor: Hidden Service Protocol, Hidden services". Torproject.org. https://www.torproject.org/docs/hidden-services.html.en. Retrieved 9 January 2011.[dead link]
- ^ "One cell is enough to break Tor's anonymity". Tor website. 18 February 2009. https://blog.torproject.org/blog/one-cell-enough. Retrieved 9 January 2011.
- ^ "TheOnionRouter/TorFAQ". https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ?action=recall&rev=554#EntryGuards. Retrieved 18 September 2007. "Tor (like all current practical low-latency anonymity designs) fails when the attacker can see both ends of the communications channel"
- ^ a b "Low-Cost Traffic Analysis of Tor" (PDF). 19 January 2006. http://www.cl.cam.ac.uk/users/sjm217/papers/oakland05torta.pdf. Retrieved 21 May 2007.
- ^ a b c d Le Blond, Stevens; Manils, Pere; Chaabane, Abdelberi; Ali Kaafar, Mohamed; Castelluccia, Claude; Legout, Arnaud; Dabbous, Walid; INRIA (March 2011). "One Bad Apple Spoils the Bunch: Exploiting P2P Applications to Trace and Profile Tor Users" (PDF). National Institute for Research in Computer Science and Control. https://www.usenix.org/events/leet11/tech/full_papers/LeBlond.pdf. Retrieved 13 April 2011.
- ^ McCoy, Damon; Bauer, Kevin; Grunwald, Dirk; Kohno, Tadayoshi; Sicker, Douglas (2008), "Shining Light in Dark Places: Understanding the Tor Network" (PDF), Proceedings of the 8th International Symposium on Privacy Enhancing Technologies (Berlin: Springer-Verlag): 63–76, doi:10.1007/978-3-540-70630-4_5, ISBN 978-3-540-70629-8, http://www.cs.washington.edu/homes/yoshi/papers/Tor/PETS2008_37.pdf
- ^ Zetter, Kim (10 September 2007). "Rogue Nodes Turn Tor Anonymizer Into Eavesdropper's Paradise". Wired. http://www.wired.com/politics/security/news/2007/09/embassy_hacks?currentPage=all. Retrieved 16 September 2007.
- ^ "Tor hack proposed to catch criminals". http://www.securityfocus.com/news/11447. Retrieved 1 February 2008.
- ^ Herrmann, Dominik; Wendolsky, Rolf; Federrath, Hannes (13 November 2009). "Website Fingerprinting: Attacking Popular Privacy Enhancing Technologies with the Multinomial Naïve-Bayes Classifier". Proceedings of the 2009 ACM Cloud Computing Security Workshop (CCSW). New York: Association for Computing Machinery (ACM). http://epub.uni-regensburg.de/11919/1/authorsversion-ccsw09.pdf. Retrieved 2 September 2010.
- ^ http://hal.inria.fr/docs/00/47/15/56/PDF/TorBT.pdf
- ^ http://thehackernews.com/2011/10/tor-anonymizing-network-compromised-by.html
- ^ "Announcment on 01net.com". http://pro.01net.com/editorial/544024/des-chercheurs-francais-cassent-le-reseau-danonymisation-tor/. Retrieved 17 October 2011.
- ^ https://blog.torproject.org/category/tags/hidden-services
- ^ Soghoian, Chris (16 September 2007). "Tor anonymity server admin arrested". CNET News. http://news.cnet.com/8301-13739_3-9779225-46.html. Retrieved 17 January 2011.
- ^ Egyptians turn to Tor to organise dissent online
- ^ Cleaning up Tor on broadband.com
- ^ Jones, Robert (2005). Internet forensics. O'Reilly. pp. P133. ISBN 059610006X.
- ^ Luckey, Robin. "Tor". Ohloh. http://www.ohloh.net/p/tor/analyses/latest. Retrieved 16 April 2010.
- ^ "Tor". Vuze. http://wiki.vuze.com/w/Tor. Retrieved 3 March 2010.
- ^ Simonite, Tom (22 December 2010). "Home Internet with Anonymity Built In". Technology Review. http://www.technologyreview.com/web/26981/?a=f. Retrieved 14 May 2011.
- ^ "Torouter Project". https://trac.torproject.org/projects/tor/wiki/TheOnionRouter/Torouter. Retrieved 10 May 2011.
- ^ "About". The Guardian Project. https://guardianproject.info/. Retrieved 10 May 2011.
- ^ "Gibberbot: Secure Instant Messaging". The Guardian Project. https://guardianproject.info/apps/gibber/. Retrieved 10 May 2011.
- ^ "Orbot: Mobile Anonymity + Circumvention". The Guardian Project. https://guardianproject.info/apps/orbot/. Retrieved 10 May 2011.
- ^ "Orweb: Privacy Browser". The Guardian Project. https://guardianproject.info/apps/orweb/. Retrieved 10 May 2011.
- ^ "ProxyMob: Firefox Mobile Add-on". The Guardian Project. https://guardianproject.info/apps/proxymob-firefox-add-on/. Retrieved 10 May 2011.
- ^ "Obscura: Secure Smart Camera". The Guardian Project. https://guardianproject.info/apps/securecam/. Retrieved 10 May 2011.
References
- Anonymity Bibliography Retrieved: 21 May 2007
- Schneier, Bruce. Applied Cryptography. ISBN 0-471-11709-9.
- Schneier, Bruce. Email Security. ISBN 0-471-05318-X.
- Bacard, Andre. Computer Privacy Handbook. ISBN 1-56609-171-3.
Further reading
- AnonWatch, Tor in Depth Security Analysis of the Tor Network
- Goodin, Dan "Tor at heart of embassy passwords leak", 10 September 2007 article on The Register news website. (Accessed 20 September 2007).
- Krebs, Brian, Attacks Prompt Update for 'Tor' Anonymity Network 8 August 2007 (Accessed 27 October 2007)
- "The Hack of the Year". The Sydney Morning Herald. 13 November 2007. http://www.smh.com.au/news/security/the-hack-of-the-year/2007/11/12/1194766589522.html?page=fullpage#contentSwap1. Retrieved 16 November 2007.
- Zhelatin.IR (= Storm Worm) 7 September 2007 (Accessed 27 October 2007) (French)
- Make Tor go the whole hog Hacker Magazine article
External links
- Official website
- Tor Project FAQ: LiveCD & Bundled Software
- Tor Support Programs — Commonly used programs that integrate with Tor
- Core Onion — Introductory point to Tor services (Tor is required to access this site)
- Tor Network Statistics
- Tor: The Onion Router - Introduction to Tor in How to Bypass Internet Censorship
- Tor Hidden Service (.onion) search
Categories:- Free routing software
- Cryptographic software
- Anonymity networks
- Internet privacy
- Proxy servers
- Free network-related software
- Free software programmed in C
Wikimedia Foundation. 2010.