Detecting and Preventing IP-spoofed Distributed DoS Attacks

Yao Chen, Shantanu Das, Pulak Dhar, Abdulmotaleb El-Saddik, Amiya NayakInt. J. Netw. Secur 2008

Abstract

Distributed Denial of Service (DDoS) attacks employing IP spoofing remain a critical threat to Internet infrastructure, complicating both attribution and mitigation. This paper proposes MDADF (Marking-based Detection and Filtering), a reactive defense mechanism that utilizes lightweight router markings to establish unique "path fingerprints." By requiring only partial participation from Internet routers, MDADF effectively filters spoofed traffic at the victim's network edge. Simulation results demonstrate that with 20% router participation, the system can filter over 90% of attack traffic while preserving service for legitimate users.

Introduction

DDoS attacks aim to overwhelm a victim's resources—bandwidth, CPU, or memory—by flooding them with a massive volume of traffic. The most challenging variant involves IP spoofing, where attackers forge source IP addresses. This technique creates two primary obstacles for defenders: it obscures the true origin of the attack (attribution) and prevents simple IP-based blocking, as forged addresses may belong to legitimate users or non-existent hosts.

Traditional "Traceback" solutions often focus on post-attack analysis or require universal adoption of new protocols, which is logistically unfeasible. MDADF addresses these issues by providing a real-time, reactive solution that distinguishes legitimate traffic from malicious floods with minimal global cooperation.

Methodology: The MDADF Scheme

The MDADF defense consists of two integrated components: a distributed packet marking process and an intelligent filtering mechanism at the victim's firewall.

Packet Marking: Creating Path Fingerprints

As packets traverse the network, participating routers append a 16-bit mark to the "Identification" field of the IP header. Each router generates its mark by XORing a hash of its IP address with a local secret key. To ensure that the sequence of routers is captured in the final mark, a Cyclic Shift Left (CSL) operation is applied.

Figure 1: The MDADF packet marking process involving hashing, XOR, and Cyclic Shift Left (CSL) operations to create a unique path identifier.

This CSL operation prevents "collisions" where different network paths might accidentally produce identical marks. The resulting fingerprint represents the specific path taken by the packet, making it extremely difficult for an attacker to forge without knowledge of every secret key along that path.

Firewall Filtering

The firewall at the protected network operates in three distinct phases:

  1. Learning Phase: During normal operation, the firewall populates a Filter Table that maps legitimate IP addresses to their observed path marks.
  2. Filtering Phase: During an active attack, the firewall inspects incoming packets. If a packet's source IP and path mark do not match an entry in the Filter Table, it is dropped.
  3. Verification: For previously unseen IP addresses, the firewall employs a probabilistic challenge, accepting packets with a set probability and verifying the source via echo messages to distinguish real hosts from spoofed ones.

Evaluation and Key Results

The researchers evaluated MDADF using a large-scale simulation based on real-world internet topology data from the Lumeta Corporation's Internet Mapping Project. The testbed included 10,000 hosts and 50,000 intermediate routers, simulating both fixed and randomized IP spoofing attacks with up to 5,000 concurrent attackers.

The 20% Participation Threshold

A critical finding of the study is that MDADF does not require 100% adoption across all Internet routers to be effective. The "Acceptance Ratio Gap"—the difference between the percentage of accepted legitimate packets and accepted attack packets—stabilizes significantly once router participation reaches approximately 20%.

Figure 6: The relationship between router participation and the Acceptance Ratio Gap, showing high effectiveness even at 20% participation.

Performance Metrics

  • Filtering Accuracy: The system successfully filtered over 90% of attack packets.
  • Legitimate Throughput: Even when attack traffic was ten times the volume of normal traffic, over 70% of legitimate packets reached the destination.
  • Detection Speed: The onset of a DDoS attack was typically detected within 3 to 4 seconds.
  • Comparison with Pi: MDADF outperformed the existing Path Identification (Pi) scheme, particularly at lower router participation rates. While Pi's effectiveness declined sharply below 50% participation, MDADF remained robust at 20%.

Discussion and Limitations

While MDADF offers a pragmatic defense, several challenges remain:

  • Route Flapping: Changes in network routing (e.g., due to link failures) can alter a legitimate user's path mark, leading to temporary packet drops. The authors propose a "Route Change Consideration" counter to mitigate this.
  • Storage Overhead: High-traffic servers require substantial memory (potentially Content-Addressable Memory) to maintain large Filter Tables.
  • Key Management: The security of the path fingerprints relies on the secrecy of the 16-bit keys held by participating routers.

Conclusion

MDADF provides a deployable middle ground for protecting high-value targets against IP-spoofed DDoS attacks. By shifting the focus from IP identity to path identity, it enables effective filtering with only partial network cooperation, offering a significant improvement over existing traceback and identification schemes.

Summary updated

BibTeX
@article{chen2008detecting,
  author = {Yao Chen and Shantanu Das and Pulak Dhar and Abdulmotaleb El-Saddik and Amiya Nayak},
  title = {{Detecting and Preventing IP-spoofed Distributed DoS Attacks}},
  journal = {Int. J. Netw. Secur.},
  year = {2008},
}
Figure