Accelerating Multi-Patterns Matching on Compressed HTTP Traffic
Authors:
- A. Bremler-BarrABA. Bremler-Barr
- Y. KoralYKY. Koral
- 1 April 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 397-405
Abstract
One of the fundamental technique which is used today by network security tools to detect malicious activities is 'signature based' detection. Today, the performance of the security tools is dominated by the speed of the string-matching algorithms that detect these signatures. Currently these security tools do not deal with compressed traffic, which becomes more and more common in HTTP. HTTP protocol uses the GZIP compression, which first requires some kind of decompression phase before performing the multi-patterns matching task. Thus, there is a high performance penalty in pattern matching on compressed data. In this paper 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. We show by analyzing real HTTP traffic and real WAF signatures patterns, that we can skip scanning up to 75% of the data. Surprisingly, we show that in some situations, it is faster to do pattern matching on the compressed data, with the penalty of decompression, than doing pattern matching on regular traffic. As far as we know we are the first paper, that analyzes the problem of 'on-the-fly' multi-patterns matching algorithms on compressed HTTP traffic and suggest a solution.Keywords
This publication has 15 references indexed in Scilit:
- A Memory Efficient Multiple Pattern Matching Architecture for Network Security2008
- A Memory-Efficient Reconfigurable Aho-Corasick FSM Implementation for Intrusion Detection Systems2007
- High-Performance Pattern-Matching for Intrusion Detection2006
- A new compression method for compressed matching2002
- Compression: a key for next-generation text retrieval systemsComputer, 2000
- A General Practical Approach to Pattern Matching over Ziv-Lempel Compressed Text1999
- Shift-And Approach to Pattern Matching in LZW Compressed Text1999
- A text compression scheme that allows fast searching directly in the compressed fileACM Transactions on Information Systems, 1997
- Let Sleeping Files Lie: Pattern Matching in Z-Compressed FilesJournal of Computer and System Sciences, 1996
- String matching in Lempel-Ziv compressed strings1995