Exploiting P2P protocols for fun and profit!
summary
BitTorrent DHT quirks let an attacker store and resolve data via metadata and hijack peer discovery to do NAT traversal and C2. The demo uses BEP5/BEP9 metadata fetches, running DHT crawlers that reply to announce_peer/get_peers spoofing, and spinning up 10k node IDs on one IP to inflate routing tables. Key numbers: BitTorrent is ~30–50% of peak bandwidth, buckets hold ~8 nodes, bootstrap can take 5–10 minutes. Proof‑of‑concept C example and simple Python clients show these services (search, DNS‑like resolution, botnet C2) are practical.
AI-written summary · about
chapters (11)
- 0:00Introduction to P2P exploits
- 1:06Logic vs design exploits
- 2:56BitTorrent DHT vulnerabilities
- 9:08Merkle trees in BitTorrent
- 10:35How DHT routing tables work
- 17:00Bootstrapping in DHT networks
- 26:38Piggybacking on BitTorrent DHT
- 31:14Botnets via P2P networks
- 39:46DHT network manipulation risks
- 49:25Conclusion and protocol flaws
- 52:19Q&A session
