Fast submatch extraction using OBDDs

  • Liu Yang
  • , Pratyusa Manadhata
  • , William Horne
  • , Prasad Rao
  • , Vinod Ganapathy

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Network-based intrusion detection systems (NIDS) commonly use pattern languages to identify packets of interest. Similarly, security information and event management (SIEM) systems rely on pattern languages for real-time analysis of security alerts and event logs. Both NIDS and SIEM systems use pattern languages extended from regular expressions. One such extension, the submatch construct, allows the extraction of substrings from a string matching a pattern. Existing solutions for submatch extraction are based on non-deterministic finite automata (NFAs) or recursive backtracking. NFA-based algorithms are time-inefficient. Recursive backtracking algorithms perform poorly on pathological inputs generated by algorithmic complexity attacks. We propose a new approach for submatch extraction that uses ordered binary decision diagrams (OBDDs) to represent and operate pattern matching. Our evaluation using patterns from the Snort HTTP rule set and a commercial SIEM system shows that our approach achieves its ideal performance when patterns are combined. In the best case, our approach is faster than RE2 and PCRE by one to two orders of magnitude.

Original languageAmerican English
Title of host publicationANCS 2012 - Proceedings of the 8th ACM/IEEE Symposium on Architectures for Networking and Communications Systems
Pages163-173
Number of pages11
DOIs
StatePublished - 2012
Event8th ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2012 - Austin, TX, United States
Duration: Oct 29 2012Oct 30 2012

Publication series

NameANCS 2012 - Proceedings of the 8th ACM/IEEE Symposium on Architectures for Networking and Communications Systems

Other

Other8th ACM/IEEE Symposium on Architectures for Networking and Communications Systems, ANCS 2012
Country/TerritoryUnited States
CityAustin, TX
Period10/29/1210/30/12

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Hardware and Architecture

Keywords

  • ordered binary decision diagram (OBDD)
  • pattern matching
  • regular expression
  • submatch
  • tagged-nfa

Fingerprint

Dive into the research topics of 'Fast submatch extraction using OBDDs'. Together they form a unique fingerprint.

Cite this