Efficient hardware support for pattern matching in network intrusion detection

Nitesh B. Guinde, Sotirios G. Ziavras

Research output: Contribution to journalArticlepeer-review

17 Scopus citations

Abstract

Deep packet inspection forms the backbone of any Network Intrusion Detection (NID) system. It involves matching known malicious patterns against the incoming traffic payload. Pattern matching in software is prohibitively slow in comparison to current network speeds. Due to the high complexity of matching, only FPGA (Field-Programmable Gate Array) or ASIC (Application- Specific Integrated Circuit) platforms can provide efficient solutions. FPGAs facilitate target architecture specialization due to their field programmability. Costly ASIC designs, on the other hand, are normally resilient to pattern updates. Our FPGA-based solution performs high-speed pattern matching while permitting pattern updates without resource reconfiguration. To its advantage, our solution can be adopted by software and ASIC realizations, however at the expense of much lower performance and higher price, respectively. Our solution permits the NID system to function while pattern updates occur. An off-line optimization method first finds common sub-patterns across all the patterns in the SNORT database of signatures. A novel technique then compresses each pattern into a bit vector, where each bit represents such a sub-pattern. This approach reduces drastically the required on-chip storage as well as the complexity of pattern matching. The bit vectors for newly discovered patterns can be generated easily using a simple high-level language program before storing them into the on-chip RAM. Compared to earlier approaches, not only is our strategy very efficient while supporting runtime updates but it also results in impressive area savings; it utilizes just 0.052 logic cells for processing and 17.77 bits for storage per character in the current SNORT database of 6455 patterns. Also, the total number of logic cells for processing the traffic payload does not change with pattern updates.

Original languageEnglish (US)
Pages (from-to)756-769
Number of pages14
JournalComputers and Security
Volume29
Issue number7
DOIs
StatePublished - Oct 2010

All Science Journal Classification (ASJC) codes

  • Computer Science(all)
  • Law

Keywords

  • Field-programmable Gate Array (FPGA)
  • Network intrusion detection (NID)
  • Pattern matching
  • SNORT database

Fingerprint Dive into the research topics of 'Efficient hardware support for pattern matching in network intrusion detection'. Together they form a unique fingerprint.

Cite this