NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Malware prevalence in the KaZaA file-sharing network

Seungwon Shin, Jaeyeon Jung, Hari Balakrishnan2006

TL;DR

This paper investigates the prevalence and propagation of malware within the KaZaA P2P file-sharing network. By developing a novel crawler, the researchers found that over 15% of scanned files were infected, with a significant portion of infected hosts likely used for spam relaying, highlighting the persistent threat of P2P malware.

What Problem Does This Paper Address?

Peer-to-peer (P2P) file-sharing networks, while facilitating efficient file distribution, have become a significant vector for malware propagation. Malicious programs are disguised as popular, legitimate files, tricking users into downloading and executing them. Once infected, a user's machine can become a source for further infection, creating a self-sustaining ecosystem of malware. While previous studies have touched upon this issue, a comprehensive, large-scale measurement of malware prevalence and its characteristics within a specific, highly popular P2P network like KaZaA was lacking. This paper aims to fill that gap by providing a detailed analysis of malware in KaZaA, understanding its spread, and characterizing the infected hosts.

Methods

The core of this research is a custom-built, lightweight crawler named "Krawler." Krawler is designed to efficiently query "indexing" hosts (supernodes) within the KaZaA network. It operates in two main components: a dispatcher that manages a list of supernodes and a fetcher that communicates with these supernodes. Krawler starts with a known set of supernode IP addresses and a list of query strings. It attempts to establish TCP connections with supernodes, exchanges handshake messages, and receives lists of other supernodes to expand its crawling reach. The fetcher then sends query strings to these supernodes and processes the responses, which include metadata about matching files and the IP addresses of client hosts offering them. A key aspect of Krawler's efficiency is its ability to process a large number of query strings and identify infected files using pre-compiled signatures without directly accessing user file systems.

Datasets

The study utilized two primary datasets collected in February and May 2006. These datasets consist of crawling logs from the KaZaA network. Specifically, the researchers gathered information on over 500,000 files in response to 24 common query strings. The malware detection was performed using 364 signatures of known malicious programs. The paper does not introduce new benchmark datasets but rather leverages existing P2P network infrastructure for data collection.

Key Insights and Ideas

  • P2P networks are fertile ground for malware: The sheer volume of file exchanges and the anonymity offered by P2P networks make them ideal for distributing malicious code.
  • Malware disguises itself cleverly: Viruses are not just randomly named; they adopt names of popular software (e.g., "ICQ," "WinZip," "Adobe") to maximize their chances of being downloaded.
  • "Aliasing" and "variant generation" are key to P2P spread: Viruses that create many file copies with different names (aliasing) and generate numerous binary variants to evade signature detection are the most successful in P2P networks.
  • Infected hosts are likely spam relays: A high percentage of infected hosts appearing on DNS-based spam blacklists strongly suggests their use in sending spam emails.
  • Efficient crawling is crucial: The developed Krawler demonstrates that it's possible to gather significant data about P2P networks and malware without intrusive direct access to user files.

Key Results

  • High infection rate: Over 15% of the crawled files were found to be infected by 52 different viruses.
  • Prevalence of specific viruses: Viruses like SdDrop and Tanked were particularly prevalent, accounting for a significant portion of infected clients.
  • Significant viral file presence: Infected files constituted over 22% and 15% of the total crawled data in February and May 2006, respectively.
  • High likelihood of spam relay: Over 70% of infected hosts were listed on DNS-based spam blacklists, indicating their probable use for spam distribution.
  • Persistence of infection: Approximately 4.8% of infected hosts observed in February were still infected in May, suggesting either user unawareness or reinfection.
  • Efficient measurement: The Krawler could investigate over 30,000 files per hour, demonstrating the feasibility of large-scale P2P network analysis.

Limitations and Future Work

The authors acknowledge that their measurement method relies on queries and responses, meaning they only see files that match specific query strings. They also note that the KaZaA network's proprietary nature limits the depth of analysis possible without direct access. Future work includes a deeper understanding of malware distribution patterns, tracking evolving prevalent viruses, and developing models to explain P2P malware propagation. They also plan to develop a more automated system for detecting infected executables in P2P networks.

Summary updated

BibTeX
@misc{shin2006malware,
  author = {Seungwon Shin and Jaeyeon Jung and Hari Balakrishnan},
  title = {{Malware prevalence in the KaZaA file-sharing network}},
  year = {2006},
  doi = {10.1145/1177080.1177125},
}
Figure