科技报告详细信息
Fast Submatch Extraction using OBDDs
Yang, Liu ; Manadhata, Pratyusa K. ; Horne, William G. ; Rao, Prasad ; Ganapathy, Vinod
HP Development Company
关键词: Regular expression;    pattern matching;    submatch;    tagged-NFA;    Ordered Binary Decision Diagram (OBDD);   
RP-ID  :  HPL-2012-215
学科分类:计算机科学(综合)
美国|英语
来源: HP Labs
PDF
【 摘 要 】

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.

【 预 览 】
附件列表
Files Size Format View
RO201804100000143LZ 461KB PDF download
  文献评价指标  
  下载次数:13次 浏览次数:22次