Accelerating multipattern matching on compressed HTTP traffic

  • Authors:
  • Anat Bremler-Barr;Yaron Koral

  • Affiliations:
  • Efi Arazi School of Computer Science, The Interdisciplinary Center, Herzlia, Israel;Blavatnik School of Computer Sciences, Tel-Aviv University, Tel-Aviv, Israel

  • Venue:
  • IEEE/ACM Transactions on Networking (TON)
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Current security tools, using "signature-based" detection, do not handle compressed traffic, whose market-share is constantly increasing. This paper focuses on compressed HTTP traffic. HTTP uses GZIP compression and requires some kind of decompression phase before performing a string matching. We present a novel algorithm, Aho-Corasick-based algorithm for Compressed HTTP (ACCH), that takes advantage of information gathered by the decompression phase in order to accelerate the commonly used Aho-Corasick pattern-matching algorithm. By analyzing real HTTP traffic and real Web application firewall signatures, we show that up to 84% of the data can be skipped in its scan. Surprisingly, we show that it is faster to perform pattern matching on the compressed data, with the penalty of decompression, than on regular traffic. As far as we know, we are the first paper that analyzes the problem of "on-the-fly" multipattern matching on compressed HTTP traffic and suggest a solution.