Skip to main content
QUICK REVIEW

[Paper Review] Stealth-MITM DoS Attacks on Secure Channels

Amir Herzberg, Haya Shulman|arXiv (Cornell University)|Oct 19, 2009
Network Traffic and Congestion ControlComputer Science26 references6 citations
TL;DR

This paper demonstrates novel stealth Man-in-the-Middle (MITM) denial-of-service (DoS) attacks on TCP over IPsec by exploiting TCP congestion control through packet reordering and duplication, even when IPsec's anti-replay window is large or properly configured. The authors propose a firewall-based reordering-tolerant tunneling mechanism that delays duplicate ACKs until legitimate packets arrive, restoring performance without modifying TCP or end-hosts.

ABSTRACT

We define stealth Man-in-the-Middle adversaries, and analyse their ability to launch denial and degradation of service (DoS) attacks on secure channels. We show realistic attacks, disrupting TCP communication over secure VPNs using IPsec. We present: First amplifying DoS attack on IPsec, when deployed without anti-replay window. First amplifying attack on IPsec, when deployed with a `small' anti-replay window, and analysis of `sufficient' window size. First amplifying attack on IPsec, when deployed with `sufficient' window size. This attack (as the previous) is realistic: attacker needs only to duplicate and speed-up few packets. We also suggest a solution designed to prevent the presented attacks, and to provide secure channel immune to degradation and other DoS attacks. Our solution involves changes (only) to the two gateway machines running IPsec. In addition to their practical importance, our results also raise the challenge of formally defining secure channels immune to DoS and degradation attacks, and providing provably-secure implementations.

Motivation & Objective

  • To demonstrate that IPsec does not adequately protect TCP from DoS attacks despite its anti-replay mechanism.
  • To analyze how TCP congestion control can be exploited via packet reordering and duplication in a stealth MITM setting.
  • To identify vulnerabilities in IPsec's anti-replay window configuration, including small, sufficient, and infinitely large windows.
  • To propose a firewall-level solution that detects and delays duplicate ACKs to prevent performance degradation from reordering attacks.
  • To motivate the formal specification of secure channels resilient to DoS and degradation attacks.

Proposed method

  • Proposes a stealth MITM adversary model capable of duplicating and speeding up packets with minimal effort.
  • Employs packet reordering attacks to trigger TCP's fast retransmit and congestion window reduction via duplicate ACKs.
  • Designs a reordering-tolerant tunneling protocol implemented only in IPsec gateways (firewalls), not in end-hosts.
  • Uses a typical delay estimation between gateways to detect abnormal packet arrival times.
  • Introduces an alert flag and delayed forwarding of duplicate ACKs: if a legitimate segment arrives within expected delay, duplicate ACKs are discarded.
  • Implements a two-phase mechanism: detection of potential attack via delayed arrival, and prevention by holding and releasing duplicate ACKs only after legitimate packet receipt.

Experimental results

Research questions

  • RQ1Can a stealth MITM adversary disrupt TCP performance over IPsec by reordering or duplicating packets without being detected?
  • RQ2Why does IPsec's anti-replay mechanism fail to prevent DoS attacks on TCP, even with a large or correctly sized window?
  • RQ3What are the performance impacts of reordering attacks on TCP congestion control when using IPsec with varying anti-replay window sizes?
  • RQ4How can a firewall-based solution detect and mitigate reordering-based DoS attacks without modifying TCP or end-hosts?
  • RQ5What design principles are needed to formally specify secure channels that are provably resilient to DoS and degradation attacks?

Key findings

  • The paper presents the first amplifying DoS attack on IPsec when deployed without an anti-replay window, causing severe throughput degradation.
  • It demonstrates the first amplifying DoS attack on IPsec with a small anti-replay window, showing that incorrect window size leads to exploitable reordering vulnerabilities.
  • It reveals the first amplifying DoS attack on IPsec even with an infinitely large anti-replay window, proving that IPsec's anti-replay mechanism does not prevent performance degradation attacks.
  • The proposed firewall-based solution successfully mitigates reordering-based DoS attacks by delaying duplicate ACKs, restoring TCP performance under attack.
  • The solution requires only minimal changes to IPsec gateways and protects all hosts behind the firewall without modifying end-host TCP stacks.
  • The authors show that GRE tunneling is also vulnerable to DoS when unprotected, and that running it over IPsec does not provide sufficient protection against such attacks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.