420 likes | 653 Views
BotTorrent: Misusing BitTorrent to Launch DDoS Attacks. Karim El Defrawy, Minas Gjoka, Athina Markopoulou UC Irvine. Outline. Introduction How BitTorrent works Using BitTorrent to launch DDoS attacks Experiment details and results Can we fix BitTorrent to prevent such attacks?
E N D
BotTorrent: Misusing BitTorrent to Launch DDoS Attacks Karim El Defrawy, Minas Gjoka, Athina Markopoulou UC Irvine
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
Introduction • In 2006, 60% of Internet traffic was due to peer-to-peer (P2P) protocols (Cache Logic) • BitTorrent is more than 35% by end of 2006 (Cache Logic) • Mininova torrent search engine hit 2 billion downloads (Mininova - June 13th 2007)
BitTorrent is responsible for a significant amount of P2P traffic
P2P based DDoS attacks recently observed • announced on May 14th 2007 observing an increase in P2P based DDoS attacks • Attack based on the direct connect (DC) P2P system • Attack involved over 300 000 IPs • http://www.prolexic.com/news/20070514-alert.php
P2P based DDoS attacks recently observed • announced on May 14th 2007 observing an increase in P2P based DDoS attacks • Attack based on the direct connect (DC) P2P system • Attack involved over 300 000 IPs • http://www.prolexic.com/news/20070514-alert.php P2P DDoS is already happening !
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
How BitTorrent works? - User publishes torrents - Set up a tracker to coordinate the download
How BitTorrent works? - User publishes torrents - Set up a tracker to coordinate the download 1- Users download torrents
How BitTorrent works? - User publishes torrents - Set up a tracker to coordinate the download 1- Users download torrents 2- Users’ clients contact tracker to join swarm and get list of peers in swarm
How BitTorrent works? - User publishes torrents - Set up a tracker to coordinate the download 1- Users download torrents 2- Users’ clients contact tracker to join swarm and get list of peers in swarm 3- Download different parts of file from different peers
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
How an attack faking tracker works? - Attacker publishes fake torrents with multiple tracker entries (or single) - Set up a tracker to report high number of seeders and leechers for these torrents
How an attack faking tracker works? - Attacker publishes fake torrents with multiple tracker entries (or single) - Set up a tracker to report high number of seeders and leechers for these torrents 1- Users download torrents with fake trackers pointing to victim
How an attack faking tracker works? - Attacker publishes fake torrents with multiple tracker entries (or single) - Set up a tracker to report high number of seeders and leechers for these torrents 1- Users download torrents with fake trackers pointing to victim 2- Clients contact victim in hope of starting the download
How an attack faking tracker works? - Attacker publishes fake torrents with multiple tracker entries (or single) - Set up a tracker to report high number of seeders and leechers for these torrents 1- Users download torrents with fake trackers pointing to victim 2- Clients contact victim in hope of starting the download ….
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
Experiment Setup • Victim machine: Pentium 2, 512 Mbps RAM, Debian Linux, 100Mbps Ethernet, running a light HTTP server • Modified tracker reports a fake (high) number of seeders and leechers to search engine • Publish fake torrents on search engines • Wait ….
Proof of concept attack results a Excluding the initial transient period (6 hours) of the experiment
Mapping attack sources to ASs and BGP prefixes • Attack sources in 2433 ASs on the Internet • Attack sources in 12424 announced BGP prefixes
Related Work • Attack using Overnet : poison around 7000 files to be effective (Naoumov - 2006) • Attack faking client: poison swarms of 1119 torrents to generate several thousand TCP connections (Cheung Sia - 2006) • Attack faking tracker is more effective: tracker is a central point in the architecture
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
Reporting the problem • We contacted: • BitTorrent and Bram Cohen • Search Engines: Mininova, Pirate Bay, BitTorrent Monster • Clients developers: Azureus, Bitcomet • Prolexic • Response from Azureus developers only
Solutions • Handshake between clients and trackers similar to the one between clients. • Clients exchange view of trackers similar to exchanging view of peers. • Mechanism to identify and trace the seeders of the fake torrents (based on hashes).
Outline • Introduction • How BitTorrent works • Using BitTorrent to launch DDoS attacks • Experiment details and results • Can we fix BitTorrent to prevent such attacks? • Summary
Summary • Presented misusing BitTorrent to launch DDoS attacks • Proof of concept attack implementation • Analyzed characteristics of the attack • Proposed fixes to BitTorrent to detect and prevent such attacks • Currently implementing fixes
Thank you! keldefra@uci.edu mgjoka@uci.edu athina@uci.edu