Abstract
The modern Internet is increasingly vulnerable to massive botnets capable of launching Distributed Denial of Service (DoS) attacks exceeding one terabit per second. Existing defenses often struggle with the scale of millions of attackers or require global deployment consensus. Phalanx addresses these challenges by introducing a "pull-based" communication model that leverages a massive swarm of mailbox proxies and an ISP-level filtering ring. This architecture allows for unilateral deployment and ensures high resilience against large-scale aggression by making traffic paths unpredictable and dropping unsolicited packets at the network edge.
Introduction
Distributed Denial of Service (DoS) attacks have evolved into a critical threat, with botnets comprising millions of compromised nodes. These "hordes" can overwhelm core infrastructure, making traditional defense mechanisms—which often rely on global coordination or struggle with the Internet's open-access nature—ineffective. Phalanx is designed to withstand such multimillion-node botnets by shifting the network paradigm from a "push" model to a "pull" model, where destinations explicitly request the data they wish to receive.
System Architecture and Mechanisms
Phalanx relies on several key mechanisms to provide resilience and efficiency.
The Swarm and Mailboxes
At the heart of Phalanx is the use of "mailboxes"—intermediate end-hosts that act as proxies. Instead of direct communication, a client routes packets through a sequence of these mailboxes. By utilizing a large, potentially peer-to-peer swarm of mailboxes, the system can out-provision attackers.
Iterated Hash Sequences
To prevent attackers from targeting specific traffic flows, clients and servers use a shared secret to generate a pseudo-random sequence of mailboxes. Because the next mailbox in the sequence is unknown to the attacker, they cannot "follow" the flow. An attacker is forced to target mailboxes at random, which only impacts a negligible fraction of the total traffic.
The Filtering Ring
The "filtering ring" serves as the final defensive layer, typically deployed at the destination's ISP border routers.
When a destination expects a packet, it issues a request through the ring, creating a single-use "hole" (a nonce) in a Bloom filter. Only packets returning from the specified mailbox with the correct nonce are permitted through; all other unsolicited traffic is discarded at the ISP's edge.
Connection Establishment
To protect the initial handshake from flooding, Phalanx employs cryptographic puzzles. Clients must solve these resource proofs to earn the right to initiate a connection, ensuring that attackers cannot easily exhaust the server's resources during the setup phase.
Evaluation
The authors evaluated Phalanx through a combination of real-world testing on PlanetLab and large-scale simulations involving over 7,000 nodes.
- Latency: Real-world tests showed a modest latency overhead, with round-trip times increasing by less than 25ms (approximately 20%) compared to standard UDP.
- Resilience: The system demonstrated remarkable robustness. In scenarios where 50% of mailboxes were compromised or under attack, Phalanx maintained target throughput by increasing the transmission rate through healthy mailboxes.
- Scalability: Simulations against 100,000 attackers showed nearly 100% goodput when protected by a filtering ring across just eight Autonomous Systems (ASes). Even against a theoretical 4-million-node botnet, the system sustained communication.
Discussion and Conclusion
Phalanx offers a compelling path forward for DoS defense due to its unilateral deployability; a single ISP can protect its customers without requiring global changes to the Internet's core protocols. However, challenges remain, including the need for Phalanx-aware client software and the economic incentives for ISPs to deploy the necessary line-rate Bloom filter hardware. Despite these hurdles, Phalanx demonstrates that "fighting swarms with swarms" is a viable strategy for securing the Internet against the largest botnets.
Summary updated