Methods and systems for multi-pattern searching
Abstract
Embodiments of the present invention relate to systems and methods for optimizing and reducing the memory requirements of state machine algorithms in pattern matching applications. Memory requirements of an Aho-Corasick algorithm are reduced in an intrusion detection system by representing the state table as three separate data structures. Memory requirements of an Aho-Corasick algorithm are also reduced by applying a banded-row sparse matrix technique to the state transition table of the state table. The pattern matching performance of the intrusion detection system is improved by performing a case insensitive search, where the characters of the test sequence are converted to uppercase as the characters are read. Testing reveals that state transition tables with sixteen bit elements outperform state transition tables with thirty-two bit elements and do not reduce the functionality of intrusion detection system using the Aho-Corasick algorithm.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for searching for search patterns in a text sequence using a state table of a state machine algorithm in an intrusion detection system, wherein the state table includes a state transition table and an array of per state pattern matching lists, comprising: reading a character from the text sequence as a search pattern; reading an element of a current state vector of a current state of the state transition table that corresponds to the character, the state transition table and the array of per state pattern matching lists being separate data structures; checking a pattern matching eleme
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Efficient String Matching: An Aid to Bibliographic Search", By: Aho & Corasick; Published 1975 http://delivery.acm.org/10.1145/370000/360855/p333-aho.pdf?key1=360855&key2=6208390031&coll=DL&dl=ACM&ip=151.207.242.4&CFID=14947222&CFTOKEN=99671516.
- "Enhanced Operating System Identification with Nessus," Tenable Network Security (2007), obtained from: http://blog.tenablesecurity.com/2009/02/enhanced-operat.html, posted by R. Gula on Feb. 16, 2009 (3 pp. total).
- "Snort(TM) Users Manual 2.2.0RC1," The Snort Project, Jun. 28, 2004, Retrieved from the Internet: URL:http://cvs.snort.org/viewcvs.cgi/*checkout*/snort/doc/snort-manual.pdf?rev=1.25&content-type=application/pdf [retrieved on Nov. 18, 2010] (XP002610157).
- "Snort™ Users Manual 2.2.0RC1," The Snort Project, Jun. 28, 2004, Retrieved from the Internet: URL:http://cvs.snort.org/viewcvs.cgi/*checkout*/snort/doc/snort—manual.pdf?rev=1.25&content-type=application/pdf [retrieved on Nov. 18, 2010] (XP002610157).
- "Snort™ Users Manual 2.6.0," The Snort Project (May 23, 2006), pp. 1-126.