Title :
Decompression-free inspection: DPI for shared dictionary compression over HTTP
Author :
Bremler-Barr, Anat ; David, Shimrit Tzur ; Hay, David ; Koral, Yaron
Author_Institution :
Interdiscipl. Center, Hertzelia, Israel
Abstract :
Deep Packet Inspection (DPI) is the most time and resource consuming procedure in contemporary security tools such as Network Intrusion Detection/Prevention System (NIDS/IPS), Web Application Firewall (WAF), or Content Filtering Proxy. DPI consists of inspecting both the packet header and payload and alerting when signatures of malicious software appear in the traffic. These signatures are identified through pattern matching algorithms. The portion of compressed traffic of overall Internet traffic is constantly increasing. This paper focuses on traffic compressed using shared dictionary. Unlike traditional compression algorithms, this compression method takes advantage of the inter-response redundancy (e.g., almost the same data is sent over and over again) as in nowadays dynamic Data. Shared Dictionary Compression over HTTP (SDCH), introduced by Google in 2008, is the first algorithm of this type. SDCH works well with other compression algorithm (as Gzip), making it even more appealing. Performing DPI on any compressed traffic is considered hard, therefore today´s security tools either do not inspect compressed data, alter HTTP headers to avoid compression, or decompress the traffic before inspecting it. We present a novel pattern matching algorithm that inspects SDCH-compressed traffic without decompressing it first. Our algorithm relies on offline inspection of the shared dictionary, which is common to all compressed traffic, and marking auxiliary information on it to speed up the online DPI inspection. We show that our algorithm works near the rate of the compressed traffic, implying a speed gain of SDCH´s compression ratio (which is around 40%). We also discuss how to deal with SDCH compression over Gzip compression, and show how to perform regular expression matching with about the same speed gain.
Keywords :
Internet; computer network security; data compression; pattern matching; transport protocols; Gzip compression; HTTP; Internet traffic; SDCH-compressed traffic inspection; Web application firewall; compression algorithm; content filtering proxy; decompression-free inspection; deep packet inspection; hypertext transfer protocol; inter-response redundancy; malicious software; network intrusion detection system; network intrusion prevention system; packet header; pattern matching algorithm; payload; regular expression matching; security tool; shared dictionary compression; Automata; Dictionaries; Doped fiber amplifiers; Google; Pattern matching; Security; Servers;
Conference_Titel :
INFOCOM, 2012 Proceedings IEEE
Conference_Location :
Orlando, FL
Print_ISBN :
978-1-4673-0773-4
DOI :
10.1109/INFCOM.2012.6195576