- Privacy in file sharing networks
File sharing peer to peer (P2P) systems like
Gnutella, KaZaA, and eDonkey/ eMule, took the Internetby a storm in recent years, with estimated user population of millions. Measurements show that about 50% of the file exchanges are illegal copies of multimedia files like AVI, MP3 etc. An academic research pointed on some weaknesses of two popular P2P networks in protecting user's privacy. The research analyzed Gnutella and eMule protocols and found weaknesses in the protocol; many of the issues found in these networks are fundamental and probably common on other P2P networks.Users of file sharing networks like eMule and Gnutella do not enjoy privacy but are subject to possible surveillance. Users may be tracked by IP address, DNS name, software version they use, files they share, queries they initiate, and queries they answer to.
Much is known about the network structure, routing schemes, performance load and fault tolerance of P2P systems in general and Gnutella in particular. This document concentrates on the user privacy that reveals by the Gnutella and eMule networks.It might be surprising, but the eMule protocol does not provide much privacy to the users, although it is a P2P protocol which is supposed to be decentralized.
The Gnutella and eMule protocols
The eMule protocol
eMule is one of the clients which implements the eDonkey network. The eMule
protocolconsists of more than 75 types of messages. When an eMule client connects to network, it first gets a list of known eMule servers which can be obtained from the Internet. Despite the fact that there are millions of eMule clients, there are only several hundred servers. The client connects to one server with TCP connection. That stays open as long as the client connected to the network. Upon connecting the client sends a list of its shares file to the servers. By this was the server builds a database with the files that reside on this client. The server also returns a list of other known servers. The server returns an ID to the client, which is client unique identifier within the system. The server can only generate query replies clients which are directly connected to it. The download is done by dividing the file into parts and asking each client a part.
The Gnutella protocol
Gnutella protocol V0.4
In Gnutella protocol V0.4 all the nodes are identical, and every node may choose to connect to every other. The Gnutella protocol consist of 5 message types: query for tile search. Query messages use a flooding mechanism, i.e. each node that receives a query forwards it on all of it’s links. A node that receives a query and has the appropriate file replies with a query hit message. A hop count field in the header limits the message lifetime. Ping and Pong messages are used for detecting new nodes that can be linked to the actual file download performed by opening TCP connection and using the
Gnutella protocol V0.6
Gnutella protocol V0.6 includes several modifications: A node has one of two operational modes: "leaf node" or "ultrapeer". Initially each node starts in a leaf node mode in which it can only connect to ultrapeers. The leaf nodes send query to an ultrapeer, the ultrapeer forwards the query and waits for the replies. When a node has enough bandwidth and uptime, the node may become an ultrapeer. Ultrapeers send periodically a request for their clients to send a list with the shared files they have. If a query arrives with a search string that matches one of the files in the leaves, the ultrapeer replies and pointing to the specific leaf.
Tracking initiators and responders
a. Gnutella (version 0.4): An ultrapeer which receives a message from a leaf node (message with hop count zero) knows for sure that the message was originated from that leaf node.
b. Gnutella (version 0.6): If an ultrapeer receives a message from an ultrapeer with hop count zero then it knows that the message originated by the ultrapeer or by one of its leaves (The average number of the leaves nodes that are connected to an ultrapeer is 200).
Tracking a single node
Many clients of Gnutella have an HTTP monitor feature. This feature allows sending information about the node to any node which supports an empty HTTP request, and receiving on response.Research shows that a simple crawler which is connected to Gnutella network can get from an initial entry point a list of IP addresses which are connected to that entry point. Then the crawler can continue to inquire for other IP addresses.An academic research performed the following experiment:At NYU, a regular Gnucleus software client that was connected to the Gnutella network as a leaf node, with distinctive listening TCP port 44121.At the Hebrew University, Jerusalem, Israel, a crawler ran looking for client listening with port 44121. In less than 15 minutes the crawler found the IP address of the Gnucleus client in NYU with the unique port.
IP address harvesting
If a user is connected to the Gnutella network within, say, the last 24 hours, that user's
IP addresscan be easily harvested by hackers. Using HTTP monitoring feature which collects about 300,000 unique addresses within 10 hours.
Tracking nodes by GUID creation
GUID(A Globally Unique Identifier) is a 16 bytes field in the Gnutella message header, which uniquely identifies every Gnutella message. The protocol does not specify how to generate the GUID.
a. Gnucleus on Windows uses the Ethernet
MAC addressused as the GUID 6 lower bytes. Therefore, Windows clients reveal their MAC address when sending queries.
b. In the JTella 0.7 client software the GUID is created using the Java
randomnumber without an initialization. Therefore, on each session, the client creates a sequence of queries with the same repeating IDs. Over time, a correlation between the user queries can be found.
Collecting miscellaneous information users
a. The monitoring facility of Gnutella reveals an abundance of precious information on its users. It is possible to collect the information about the software vendor and the version that the clients use. Other statistical information about the client is available as well: capacity, uptime, local files etc.
b. In Gnutella V0.6, information about client software can be collected (even if the client does not support HTTP monitoring). The information is found in the first two messages connection handshake.
Tracking users by partial information
a. Some Gnutella users have a small look-alike set, which makes it easier to track them by knowing this very partial information.
Tracking users by queries
a. An academic research team performed the following experiment:The team ran five Gnutella as ultrapeer (in order to listen to other nodes’ queries). The team revealed about 6% of the queries.
Usage of Hash functions
"The paragraph below is utter nonsense. This is not how Gnutella works. SHA-1 hashes refer to SHA-1 of files not search strings."
a. Half of the search queries are strings and half of them are output of an
Hash function( SHA-1) applied on the string. Although the usage of hash function is intended to improve the privacy, an academic research showed that the query content can be exposed easily by a dictionary attack: Collaborators ultrapeers can gradually collect common search strings, calculate their hash value and store them into a dictionary. When a hashed query arrives, each collaborated ultrapeer can check matches with the dictionary and expose the original string accordingly.
Gnutella2, a reworked network based on Gnutella
Bitzi, an open contentfile catalog integrated with some Gnutella clients
References and external links
* [http://citeseer.ist.psu.edu/608917.html/ A Study of Privacy in File Sharing Networks, D. Bickson & D. Malkhi ]
*A Quantitative Analysis of the Gnutella Network Traffic - Zeinalipour-Yazti, Folias - 2002
*Crawling Gnutella: Lessons Learned - Deschenes, Weber, Davison - 2004
*Security Aspects of Napster and Gnutella Steven M. Bellovin 2001
*Firewalls and Internet Security: Repelling the Wily Hacker, Second Edition
* [http://www-db.stanford.edu/~daswani/papers/p115-daswani.pdf Daswani, Neil; Garcia-Molina, Hector. Query-Flood DoS Attacks in Gnutella]
* [http://www.emule-project.net/ eMule project] Official website
* [http://sourceforge.net/projects/emule eMule on SourceForge] (
SourceForge) Contains archives of past versions of eMule
* [http://www.emule-mods.de/ List of allowed eMule-Mods]
* [http://www.cs.huji.ac.il/labs/danss/p2p/resources/emule.pdf eMule Protocol Specification] by Danny Bickson and Yoram Kulbak from HUJI.
Wikimedia Foundation. 2010.
Look at other dictionaries:
File sharing — This article is about file sharing over the Internet. For printer and file sharing as local area network service, see shared resource. Part of a series on File sharing … Wikipedia
File sharing in Canada — Canada has the greatest number of file sharers per capita in the world according to a report by the OECD. [cite news|date=2005 12 13|url=http://www.oecd.org/dataoecd/13/2/34995041.pdf|title=Digital Broadband Content|accessdate=2006 07… … Wikipedia
Peer-to-peer file sharing — Part of a series on File sharing Technologies … Wikipedia
Comparison of file sharing applications — File sharing is a method of distributing electronically stored information such as computer programs and digital media. Below is a list of file sharing applications. Top A B C D E F G H I J K L M N O P Q R S T U V … Wikipedia
Legal aspects of file sharing — Part of a series on File sharing Technologies Peer to peer … Wikipedia
Trade group efforts against file sharing — Arts and media industry trade groups such as the Recording Industry Association of America (RIAA) and Motion Picture Association of America (MPAA) strongly oppose and attempt to prevent copyright infringement through file sharing. The… … Wikipedia
Direct Connect (file sharing) — Direct connect is a peer to peer file sharing protocol. Direct connect clients connect to a central hub and can download files directly from one another. Advanced Direct Connect can be considered a successor protocol. Hubs feature a list of… … Wikipedia
File hosting service — Types of Internet hosting service … Wikipedia
Internet Privacy Act — The Internet Privacy Act is a non existent and fictitious law cited by websites that conduct illegal activities in order to deter organizations that look to prosecute such activities. Networks which share music, films and software, for example,… … Wikipedia
Internet privacy — involves the right or mandate of personal privacy concerning the storing, repurposing, providing to third parties, and displaying of information pertaining to oneself via the Internet. Privacy can entail both Personally Identifying Information… … Wikipedia