Regular Expression Matching on Graphics Hardware for Intrusion Detection

  • Authors:
  • Giorgos Vasiliadis;Michalis Polychronakis;Spiros Antonatos;Evangelos P. Markatos;Sotiris Ioannidis

  • Affiliations:
  • Institute of Computer Science, Foundation for Research and Technology --- Hellas,;Institute of Computer Science, Foundation for Research and Technology --- Hellas,;Institute of Computer Science, Foundation for Research and Technology --- Hellas,;Institute of Computer Science, Foundation for Research and Technology --- Hellas,;Institute of Computer Science, Foundation for Research and Technology --- Hellas,

  • Venue:
  • RAID '09 Proceedings of the 12th International Symposium on Recent Advances in Intrusion Detection
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The expressive power of regular expressions has been often exploited in network intrusion detection systems, virus scanners, and spam filtering applications. However, the flexible pattern matching functionality of regular expressions in these systems comes with significant overheads in terms of both memory and CPU cycles, since every byte of the inspected input needs to be processed and compared against a large set of regular expressions. In this paper we present the design, implementation and evaluation of a regular expression matching engine running on graphics processing units (GPUs). The significant spare computational power and data parallelism capabilities of modern GPUs permits the efficient matching of multiple inputs at the same time against a large set of regular expressions. Our evaluation shows that regular expression matching on graphics hardware can result to a 48 times speedup over traditional CPU implementations and up to 16 Gbit/s in processing throughput. We demonstrate the feasibility of GPU regular expression matching by implementing it in the popular Snort intrusion detection system, which results to a 60% increase in the packet processing throughput.