Denial of Service via Algorithmic Complexity Attacks

dvanhorn <[email protected]>
Newsgroups gmane.org.ballistichelmet.lambda
Message-ID <[email protected]>
Denial of Service via Algorithmic Complexity Attacks

http://www.cs.rice.edu/~scrosby/hash/

Authors: Scott A Crosby and Dan S Wallach

Abstract
We present a new class of low-bandwidth denial of service attacks that exploit
algorithmic deficiencies in many common applications' data structures.
Frequently used data structures have ``average-case'' expected running time
that's far more efficient than the worst case. For example, both binary trees
and hash tables can degenerate to linked lists with carefully chosen input. We
show how an attacker can effectively compute such input, and we demonstrate
attacks against the hash table implementations in two versions of Perl, the
Squid web proxy, and the Bro intrusion detection system. Using bandwidth less
than a typical dialup modem, we can bring a dedicated Bro server to its knees;
after six minutes of carefully chosen packets, our Bro server was dropping as
much as 71% of its traffic and consuming all of its CPU. We show how modern
universal hashing techniques can yield performance comparable to commonplace
hash functions while being provably secure against these attacks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.