• Login/Register
  • Section: Information Technology /Monday 13th October 2014

    Alphabetic Index : A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

    Search β):

    * Tor (anonymity network) *

    تور (سامانه نرم‌افزاری)

    (Wikipedia) - Tor (anonymity network) This is the latest accepted revision, accepted on 9 October 2014. For other uses, see Tor. Not to be confused with BitTorrent or Torrent file. Tor Developer(s) Initial release Stable release Preview release Development status Written in Operating system Size Type License Website
    The Tor Project, Inc
    20 September 2002 (2002-09-20) (23 September 2014; 20 days ago (2014-09-23)) (23 September 2014; 20 days ago (2014-09-23))
    2–3 MB
    Onion routing, Anonymity

    Tor (previously an acronym for The Onion Router) is free software for enabling online anonymity and resisting censorship. It is designed to make it possible for users to surf the Internet anonymously, so their activities and location cannot be discovered by government agencies, corporations, or anyone else.

    Tor directs Internet traffic through a free, worldwide, volunteer network consisting of more than five thousand relays to conceal a user''s location and usage from anyone conducting network surveillance or traffic analysis. Using Tor makes it more difficult for Internet activity to be traced back to the user: this includes "visits to Web sites, online posts, instant messages, and other communication forms". Tor''s use is intended to protect the personal privacy of users, as well as their freedom and ability to conduct confidential communication by keeping their Internet activities from being monitored. An extract of a Top Secret appraisal by the National Security Agency (NSA) characterized Tor as "the King of high secure, low latency Internet anonymity" with "no contenders for the throne in waiting".

    The term "onion routing" refers to application layers of encryption, nested like the layers of an onion, used to anonymize communication. Tor encrypts the original data, including the destination IP address, multiple times and sends it through a virtual circuit comprising successive, randomly selected Tor relays. Each relay decrypts a layer of encryption to reveal only the next relay in the circuit in order to pass the remaining encrypted data on to it. The final relay decrypts the innermost layer of encryption and sends the original data to its destination without revealing, or even knowing, the source IP address. Because the routing of the communication is partly concealed at every hop in the Tor circuit, this method eliminates any single point at which the communication can be de-anonymized through network surveillance that relies upon knowing its source and destination.

    An adversary unable to defeat the strong anonymity that Tor provides may try to de-anonymize the communication by other means. One way this may be achieved is by exploiting vulnerable software on the user''s computer. The NSA has a technique that targets outdated Firefox browsers codenamed EgotisticalGiraffe, and targets Tor users in general for close monitoring under its XKeyscore program. Attacks against Tor are an active area of academic research which is welcomed by Tor itself.



    A cartogram illustrating Tor usage

    The core principle behind Tor, "onion routing," was developed in the mid-1990s by U.S. Naval Research Laboratory employees mathematician Paul Syverson and computer scientists Michael Reed and David Goldschlag, with the purpose of protecting U.S. intelligence communications online. Onion routing was further developed by DARPA in 1997.

    The alpha version of Tor, developed by Syverson and computer scientists Roger Dingledine and Nick Mathewson and then called The Onion Routing project or TOR project, launched on 20 September 2002. On 13 August 2004, Syverson, Dingledine and Mathewson presented "Tor: The Second-Generation Onion Router" at the 13th USENIX Security Symposium. In 2004, the Naval Research Laboratory released the code for Tor under a free licence, and the Electronic Frontier Foundation (EFF) began funding Dingledine and Mathewson to continue its development.

    In December 2006, Dingledine, Mathewson and five others founded The Tor Project, a Massachusetts-based 501(c)(3) research-education nonprofit organization responsible for maintaining Tor. The EFF acted as The Tor Project''s fiscal sponsor in its early years, and early financial supporters of The Tor Project included the U.S. International Broadcasting Bureau, Internews, Human Rights Watch, the University of Cambridge, Google, and Netherlands-based Stichting.net.

    Reception and impact

    Tor has been praised for providing privacy and anonymity to vulnerable Internet users such as political activists fearing surveillance and arrest, ordinary web users seeking to circumvent censorship, and women who have been threatened with violence or abuse by stalkers. The U.S. National Security Agency (NSA) has called Tor "the king of high-secure, low-latency internet anonymity," and BusinessWeek magazine has described it as "perhaps the most effective means of defeating the online surveillance efforts of intelligence agencies around the world." Other media have described Tor as "a sophisticated privacy tool," "easy to use" and "so secure that even the world''s most sophisticated electronic spies haven''t figured out how to crack it."

    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."

    In 2012, Foreign Policy magazine named Dingledine, Mathewson, and Syverson among its Top 100 Global Thinkers "for making the web safe for whistleblowers."

    In 2013, Jacob Appelbaum described Tor as a "part of an ecosystem of software that helps people regain and reclaim their autonomy. It helps to enable people to have agency of all kinds; it helps others to help each other and it helps you to help yourself. It runs, it is open and it is supported by a large community spread across all walks of life."

    In June 2013, whistleblower Edward Snowden used Tor to send information about PRISM to the Washington Post and The Guardian.

    In 2014, the Russian government opened a public bid worth $111,000 to "study the possibility of obtaining technical information about users and users'' equipment on the Tor anonymous network".

    Advocates for Tor say that it supports freedom of expression, including in countries where the Internet is heavily censored, by protecting the privacy and anonymity of internet users. However because the project was originally developed on behalf of the U.S. intelligence community and continues to receive U.S. government funding, it has been criticized as "more resembl a spook project than a tool designed by a culture that values accountability or transparency."

    As of 2012, 80% of The Tor Project''s $2M annual budget came from the United States government, with the U.S. State Department, the Broadcasting Board of Governors, and the National Science Foundation as major contributors, "to aid democracy advocates in authoritarian states". The Swedish government and other organizations provided the other 20%, including NGOs and thousands of individual sponsors. One of the founders of the project, Roger Dingledine, stated that the United States Department of Defense funds are more similar to a research grant than a procurement contract. Andrew Lewman, the executive director of Tor, stated that even though it accepts funds from the U.S. federal government, the Tor service did not necessarily collaborate with the NSA to reveal identities of users.

    Critics say Tor is not as secure as it claims, pointing to U.S. law enforcement''s investigations and shutdowns of Tor-using sites such as web-hosting company Freedom Hosting and online marketplace Silk Road. In October 2013, after analyzing documents leaked by Edward Snowden, the Guardian reported that the NSA had repeatedly tried to crack Tor and had failed to break its core security, although it had had some success attacking the computers of individual Tor users. The Guardian also published a 2012 NSA classified slide deck, entitled "Tor Stinks," which said "We will never be able to de-anonymize all Tor users all the time," but "with manual analysis we can de-anonymize a very small fraction of Tor users." When Tor users are arrested, it is typically due to human error, not to the core technology being hacked or cracked.


    Tor enables users to surf the internet, chat and send instant messages anonymously, and is used by a wide variety of people for both licit and illicit purposes. The Tor Project says Tor''s users include "normal people" who want to keep their internet activities private from websites and advertisers, people concerned about cyber-spying, users who are evading censorship such as activists and journalists, and military professionals. As of late 2014 Tor had about four million users. According to the Wall Street Journal, in 2012 about 14% of Tor''s traffic connected from the United States, with people in "Internet-censoring countries" as its second-largest user base. Tor is increasingly used by victims of domestic violence and the social workers and agencies which assist them inasmuch as digital stalking has also increased, given the prevalence of digital media in contemporary on-line life. Along with SecureDrop, Tor is used by news organizations such as the Guardian, the New Yorker, ProPublica and the Intercept to protect the privacy of whistleblowers.

    Tor is used for matters that are, or may be, illegal in some countries, e.g., to gain access to censored information, to organize political activities, or to circumvent laws against criticism of heads of state. Tor has been described by The Economist, in relation to Bitcoin and the Silk Road, as being "a dark corner of the web." It has been targeted by both the American NSA and the British GCHQ signals intelligence agencies, albeit with marginal success, and more successfully by the British National Crime Agency in its Operation Notarise. At the same time GCHQ has been using a tool named SHADOWCAT for "End-to-end encrypted access to VPS over SSH using the TOR network." Tor can be used for anonymous defamation, unauthorized leaks of sensitive information and copyright infringement, distribution of illegal sexual content, selling controlled substances, money laundering, credit card fraud, and identity theft; the black market utilizes the Tor infrastructure at least in part, in conjunction with Bitcoin. Ironically, Tor has been used by criminal enterprises, hacktivism groups, and law enforcement agencies at cross purposes, sometimes simultaneously; likewise, agencies within the U.S. government variously fund Tor (the U.S. State Department), the National Science Foundation, and (via the Broadcasting Board of Governors, which itself partially funded Tor until October 2012), Radio Free Asia, and seek to subvert it. Tor''s executive director, Andrew Lewman, said in August 2014 that agents of the NSA and the GCHQ have anonymously provided Tor with bug reports.

    In its complaint against Ross William Ulbricht of the Silk Road the FBI acknowledged that Tor has "known legitimate uses". 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". EFF''s Surveillance Self-Defense guide includes a description of where Tor fits in a larger strategy for protecting privacy and anonymity. The Tor Project''s FAQ offers supporting reasons for EFF''s endorsement:

    Criminals can already do bad things. Since they''re willing to break laws, they already have lots of options available that provide better privacy than Tor provides....

    Tor aims to provide protection for ordinary people who want to follow the law. Only criminals have privacy right now, and we need to fix that....

    So yes, criminals could in theory use Tor, but they already have better options, and it seems unlikely that taking Tor away from the world will stop them from doing their bad things. At the same time, Tor and other privacy measures can fight identity theft, physical crimes like stalking, and so on.

    In 2014 the EFF''s Eva Galperin told BusinessWeek magazine that “Tor’s biggest problem is press. No one hears about that time someone wasn’t stalked by their abuser. They hear how somebody got away with downloading child porn.”

    OperationAlice''s Tor client picks a random path to destination server.

    Tor aims to conceal its users'' identities and their online 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 around 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. Furthermore, by keeping some of the entry relays (bridge relays) secret, users can evade Internet censorship that relies upon blocking public Tor relays.

    Because the internet address of the sender and the recipient are not both in cleartext at any hop along the way, anyone eavesdropping at any point along the communication channel cannot directly identify both ends. Furthermore, to the recipient it appears that the last Tor node (called the exit node), rather than the sender, is the originator of the communication.

    Originating trafficA visual depiction of the traffic between some Tor relay nodes from the open source packet sniffing program EtherApe

    A Tor user''s SOCKS-aware applications can be configured to direct their network traffic through a Tor instance''s SOCKS interface. Tor periodically creates virtual circuits through the Tor network through which it can multiplex and onion route that traffic to its destination. Once inside a Tor network, the traffic is sent from router to router along the circuit, 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.

    A Tor non-exit relay with a maximum output of 239.69 KB/s

    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.

    Hidden services See also: List of Tor hidden services

    Tor can also provide anonymity to websites and other servers. Servers configured to receive inbound connections only through Tor are called hidden services. Rather than revealing a server''s IP address (and thus its network location), a hidden service is accessed through its onion address. The Tor network understands these addresses and can route data to and from hidden services, even to those hosted behind firewalls or network address translators (NAT), while preserving the anonymity of both parties. Tor is necessary to access hidden services.

    Hidden services have been deployed on the Tor network since 2004. Other than the database that stores the hidden-service descriptors, Tor is decentralized by design; there is no direct readable list of all hidden services, although a number of hidden services catalog publicly known onion addresses.

    Because hidden services do not use exit nodes, connection to a hidden service is encrypted end-to-end and not subject to eavesdropping. There are, however, 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), uptime and downtime statistics, intersection attacks, and user error.


    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).

    In spite of known weaknesses and attacks listed here, 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.

    Researchers from the University of Michigan developed a network scanner allowing identification of 86 percent of live Tor “bridges” with a single scan.

    Eavesdropping Autonomous System (AS) eavesdropping

    If an Autonomous System (AS) exists on both path segments from a client to entry relay and from exit relay to destination, such an AS can statistically correlate traffic on the entry and exit segments of the path and potentially infer the destination with which the client communicated. In 2012, LASTor proposed a method to predict a set of potential ASes on these two segments and then avoid choosing this path during path selection algorithm on client side. In this paper, they also improve latency by choosing shorter geographical paths between client and destination.

    Exit node eavesdropping

    In September 2007, Dan Egerstad, a Swedish security consultant, revealed that he had intercepted usernames and passwords for a large number of e-mail accounts by operating and monitoring Tor exit nodes. 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 that does not use end-to-end encryption such as SSL or TLS. While this may not inherently breach the anonymity of the source, traffic intercepted in this way by self-selected third parties can expose information about the source in either or both of payload and protocol data. Furthermore, Egerstad is circumspect about the possible subversion of Tor by intelligence agencies –

    "If you actually look in to where these Tor nodes are hosted and how big they are, some of these nodes cost thousands of dollars each month just to host because they''re using lots of bandwidth, they''re heavy-duty servers and so on. Who would pay for this and be anonymous?"

    In October 2011, a research team from ESIEA claimed to have discovered a way to compromise the Tor network by decrypting communication passing over it. 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 a denial-of-service attack. A response to this claim has been published on the official Tor Blog stating that these rumours of Tor''s compromise are greatly exaggerated.

    Traffic-analysis attack

    Steven J. Murdoch and George Danezis from University of Cambridge presented an article 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. This attack, however, fails to reveal the identity of the original user. Murdoch has been working with—and has been funded by—Tor since 2006.

    Tor exit node block

    Operators of Internet sites have the ability to prevent traffic from Tor exit nodes, or to offer reduced functionality to Tor users. For example, it is not generally possible to edit Wikipedia when using Tor, or when using an IP address that also is used by a Tor exit node, due to the use of the TorBlock MediaWiki extension, unless an exemption is obtained.

    Bad Apple attack

    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) 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 use 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. 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 use 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.)

    The results presented in the bad apple attack research paper are based on an 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. BitTorrent may generate as much as 40% of all traffic on Tor. Furthermore, the bad apple attack is effective against insecure use of any application over Tor, not just BitTorrent.

    Some protocols leak IP addresses

    Researchers from French Institute for Research in Computer Science and Control (INRIA) showed that Tor dissimulation technique in BitTorrent can be bypassed by attacker controlling Tor exit node. The study was conducted by monitoring 6 exit nodes for a period of 23 days. Researches used three attack vectors:

    Inspection of BitTorrent control messages Tracker announces and Extension Protocol handshakes may optionally contain client''s IP address. Analysis of collected data revealed that 35% and 33% of respective messages contained real addresses of clients.:3 Hijacking trackers'' responses Due to lack of encryption or authentication in communication between tracker and peer typical man-in-the-middle attack allows attacker to determine peer''s IP address and even verify the distribution of content. This attack works when Tor is used only for tracker communication.:4 Exploiting distributed hash tables (DHT) This attack exploits the fact that DHT connections through Tor are impossible, so attacker is able to reveal target''s IP address by looking it up in DHT even if target uses Tor to connect to other peers.:4–5

    Using these techniques researchers were able to identify other streams initiated by users, whose IP addresses were revealed.

    Sniper attack

    Jensen et al., describe DDoS attack targeted at the TOR node software, together with defences against that attack and variants. The attack works using a colluding client and server, and filling the queues of the exit node until the node runs out of memory, and hence can serve no other (genuine) clients. By attacking a significant proportion of the exit nodes this way an attacker can degrade the network, and increase the chance of targets using nodes controlled by the attacker.

    Heartbleed bug

    The Heartbleed OpenSSL bug disrupted the Tor network for several days in April 2014 while private keys were renewed. The Tor Project recommended that Tor relay operators and hidden service operators revoke and generate fresh keys after patching OpenSSL, but noted that Tor relays use two sets of keys and that Tor''s multi-hop design minimizes the impact of exploiting a single relay. 586 relays later found to be susceptible to the Heartbleed bug were taken off-line as a precautionary measure.


    The main implementation of Tor is written mostly in the C programming language and consists of roughly 340,000 lines of source code.

    Tor Browser Tor Browser Developer(s) Stable release Preview release Development status Operating system Engine Size Available in Type License Website
    Tor Browser on Linux Mint showing its start page - about:tor
    Tor Project
    3.6.6 (25 September 2014; 18 days ago (2014-09-25))
    4.0-alpha-3 (26 September 2014; 17 days ago (2014-09-26))
    • Windows XP and later
    • Unix-like (inc. OS X)
    26–33 MB
    15 languages
    Onion routing, Anonymity, Web browser, Feed reader

    Tor Browser (previously known as Tor Browser Bundle or TBB) is the Tor Project''s flagship product. It consists of a modified Mozilla Firefox ESR web browser, the TorButton, TorLauncher, NoScript and HTTPS Everywhere Firefox extensions and the Tor proxy. It can be run from removable media and is available for Windows, Mac OS X, and Linux.

    Tor Browser automatically starts Tor processes and routes traffic through the Tor network. Upon termination of a session the browser deletes privacy-sensitive data such as cookies and browsing history.

    Following the series of global surveillance disclosures, Stuart Dredge of The Guardian recommended using Tor Browser to avoid eavesdropping and retain privacy on the internet.

    Tor also allows access to websites not available for normal browsers. However, normal websites can still be accessed.

    Firefox / JavaScript anonymity attack

    In August 2013, it was discovered that the Firefox browsers in many older versions of the Tor Browser Bundle were vulnerable to a JavaScript attack, as NoScript was not enabled by default. This attack was being exploited to send users'' MAC and IP addresses and Windows computer names to the attackers. News reports linked this to an FBI operation targeting Freedom Hosting''s owner, Eric Eoin Marques, who was arrested on a provisional extradition warrant issued by a U.S. court on 29 July. The FBI is seeking to extradite Marques to Maryland on four charges: distributing, conspiring to distribute, and advertising child pornography – as well as aiding and abetting advertising of child pornography. The warrant alleges that Marques is “the largest facilitator of child porn on the planet.” The FBI acknowledged the attack in a 12 September 2013 court filing in Dublin; further technical details from a training presentation leaked by Edward Snowden showed that the codename for the exploit was EgotisticalGiraffe.

    The FBI, in Operation Torpedo, has been targeting Tor hidden servers since 2012, such as in the case of Aaron McGrath, who was sentenced to 20 years for running three hidden Tor servers which contained child pornography.

    Third party

    Vuze (formerly Azureus) BitTorrent client, Bitmessage anonymous messaging system, and TorChat instant messenger, include Tor support.

    The Guardian Project is actively developing a free and open-source suite of application programs and firmware for the Android operating system to help make mobile communications more secure. The applications include ChatSecure instant messaging client, Orbot Tor implementation, Orweb privacy-enhanced mobile browser, ProxyMob Firefox add-on and ObscuraCam.

    Security-focused operating systems

    Several security-focused operating systems like GNU/Linux distributions including Hardened Linux From Scratch, Incognito, Liberté Linux, Qubes OS, Tails, Tor-ramdisk and Whonix, make extensive use of Tor.

    Tags:American, Android, Asia, Bitcoin, Blog, British, Cambridge, Computer, DARPA, Department of Defense, Edward Snowden, Egypt, FBI, Firefox, France, French, GCHQ, Google, Guardian, Human Rights, Human Rights Watch, Internet, Internet Relay Chat, Internet censorship, Iran, Java, Linux, Maryland, Massachusetts, Michigan, Microsoft, Mozilla, NSA, National Security Agency, Netherlands, New Yorker, Onion routing, Post, Proxy, Radio, Russian, SOCKS, Science, Silk Road, State Department, Swedish, The Economist, The Guardian, Torpedo, United States, University of Cambridge, Wall Street, Wall Street Journal, Washington, Washington Post, Website, Wikipedia, World Wide Web

    Add definition or comments on Tor (anonymity network)

    Your Name / Alias:
    Definition / Comments
    neutral points of view
    Source / SEO Backlink:
    Anti-Spam Check
    Enter text above
    Upon approval, your definition will be listed under: Tor (anonymity network)

    Happy Summer Sale

    Home About us / Contact    Products    Services    Iranian History Today    Top Iran Links    Iranian B2B Web Directory    Historical Glossary
    Copyright @ 2004-2016 fouman.com All Rights Iranian