Peer to peer networks for defense against internet worms

Srinivas Shakkottai, R. Srikant

TL;DR

Internet worms spread incredibly fast, overwhelming traditional patch distribution methods. This paper demonstrates that peer-to-peer (P2P) networks are vastly more effective than fixed server models for disseminating patches, significantly reducing infection time and peak infected hosts.

What Problem Does This Paper Address?

Internet worms, like Code-Red and Slammer, are a major security threat due to their rapid, autonomous spread. They can infect a large percentage of vulnerable systems in minutes, making traditional patch distribution through a limited number of servers insufficient. The challenge is to find a patch dissemination strategy that can keep pace with or even outrun worm propagation to effectively contain outbreaks.

Methods

The authors employ a fluid model, a mathematical approach that treats populations as continuous quantities rather than discrete individuals. This allows them to derive analytical solutions for worm spread and patch dissemination. They compare two primary patch dissemination strategies:

  1. Fixed Number of Patch Servers: This models a traditional approach where a limited set of servers distribute patches.
  2. Peer-to-Peer (P2P) Network: This leverages the distributed nature of P2P systems, where infected and susceptible hosts can share patches among themselves.

They analyze these models to predict key metrics like the time to effectively combat the worm and the maximum number of infected hosts. The models are validated using simulations.

Datasets

The paper uses data from a Code-Red v2 worm measurement study ([1]) for validation. They also reference data from studies on the Blaster worm ([2]) and Slammer worm ([4]). Simulations were performed using Simulink to model the fluid differential equations.

Key Insights and Ideas

  • Worm Speed is the Enemy: Worms spread exponentially, meaning containment efforts must be equally rapid. A worm can infect a significant fraction of hosts in O(ln N) time, where N is the total number of hosts.
  • Fixed Servers Fail: A fixed number of patch servers is woefully inadequate. They can only patch at a rate limited by the server count, leading to O(N) time to disinfect and O(N) peak infected hosts, making them ineffective against fast-spreading worms.
  • P2P is the Solution: P2P networks, by their nature, can disseminate information exponentially, mirroring the worm's spread. This allows them to effectively combat worms, reducing infection time and peak infected hosts significantly.
  • Throttling Matters (in P2P): While throttling (slowing down worm spread) has limited value with fixed servers, it becomes extremely powerful when combined with P2P patching.
  • Monitoring is a Huge Challenge: Detecting worms early requires monitoring a massive number of hosts, often on the order of O(N/ln N), making widespread, effective monitoring difficult without P2P cooperation.

Key Results

  • Fixed Server Patching:
    • Time to significant spread: O(ln N)
    • Time to peak infection: O(ln N)
    • Maximum infected hosts: O(N)
    • Time to disinfect: O(N)
  • P2P Patching:
    • Time to significant spread: O(ln N)
    • Time to peak infection: O(ln N)
    • Maximum infected hosts: O(N) for γ > 1, O(N) for γ ≤ 1 (where γ is the ratio of patch propagation rate to worm virulence).
  • Time to disinfect: O(ln N)
  • Example (Code-Red like worm):
    • Fixed servers: ~25 hours to disinfect.
  • P2P (with γ=2): ~5 hours to disinfect, with a drastically lower peak infection count.

Limitations and Future Work

  • Fluid Model Simplifications: The fluid model assumes a large number of hosts (N) and treats populations continuously. It doesn't capture the discrete, stochastic nature of individual infections.
  • Monitoring Scale: The paper highlights the immense challenge of monitoring enough hosts to detect worms early, suggesting the need for P2P monitoring systems.
  • Future Work: The authors suggest extending the work to include a complete stochastic analysis of worms and exploring more complex worm models to capture second-order effects. They also propose investigating the impact of more complex P2P patching mechanisms.

Summary updated

BibTeX
@article{shakkottai2007peer,
  author = {Srinivas Shakkottai and R. Srikant},
  title = {{Peer to peer networks for defense against internet worms}},
  journal = {IEEE J. Sel. Areas Commun.},
  year = {2007},
  doi = {10.1109/jsac.2007.071212},
}
Figure