Accelerating Multipattern Matching on Compressed HTTP Traffic
- 27 October 2011
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE/ACM Transactions on Networking
- Vol. 20 (3) , 970-983
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.Keywords
This publication has 19 references indexed in Scilit:
- Efficient Processing of Multi-connection Compressed Web TrafficLecture Notes in Computer Science, 2011
- A Memory Efficient Multiple Pattern Matching Architecture for Network Security2008
- An improved algorithm to accelerate regular expression evaluation2007
- HEXA: Compact Data Structures for Faster Packet Processing2007
- A Memory-Efficient Reconfigurable Aho-Corasick FSM Implementation for Intrusion Detection Systems2007
- TriBiCa: Trie Bitmap Content Analyzer for High-Speed Network Intrusion Detection2007
- High Speed Pattern Matching for Network IDS/IPS2006
- Deterministic memory-efficient string matching algorithms for intrusion detection2005
- Let Sleeping Files Lie: Pattern Matching in Z-Compressed FilesJournal of Computer and System Sciences, 1996
- A fast string searching algorithmCommunications of the ACM, 1977