Patents
US 2010146623 A1#2681114 Most CitedPendingUnited States (USPTO)Application

Method and apparatus for pattern matching for intrusion detection/prevention systems

27Forward Citations (#2681114 Global)
1.7/yrCitation Velocity (#2826089 Global)
4.40Citation PageRank (#4087371 Global)
4Prior Art Cited
0Structured Claims
0Drawings / Sheets

Abstract

A packet is compared to a pattern defined by a regular expression with back-references (backref-regex) in a single pass of a non-deterministic finite automaton corresponding to the backref-regex (backref-NFA) that includes representations for all backref-regex's back-references. The packet's characters are sequentially selected and analyzed against the backref-NFA until a match or no-match between the packet and pattern is determined. Upon selecting a character, a corresponding configurations-set is updated, where the set includes configurations associated with respective NFA-states of the backref-NFA and indicating whether the selected character is being matched against a back-reference. With the configurations-set being updated the comparison process proceeds along backref-NFA's NFA-states. The updated configurations-set includes configurations associated with NFA-states reachable from the configurations in the pre-updated set. When the configurations-set includes a final state, a match is determined. When the configurations-set becomes empty, or upon selection of all characters lacks the final state, a no-match is determined.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 27.

Claims (0)

No claim text indexed for this record.

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • A.V. Aho et al.,"CompiJers: Principles, Techniques & Tools, Second Edition,"Addison-Wesley, 2007.
  • A.V. Aho et al.,"Compilers: Principles, Techniques & Tools, Second Edition,"Addison-Wesley, 2007.
  • Ken Thompson, "Programming Techniques, Regular Expression Search Algorithy," Communications of the ACM, Vol. 11, Number 6, June 1968 pp. 419-422.
  • Randy Smith et aI., "Backtracking Algorithmic Complexity Attacks Against a NIDS", ACSAC, 2006. AND Russ Cox, "Regular Expression Matching Can Be Simple and Fast," http://swtch.com/-rsclregexp1.html. July 28, 2008
  • Will Drewry and Tavis Ormandy, "Insecure Context Switching: Inoculating Regular Expressions for Survivability"WOOT'08: Proceedings of the 2nd Conference on USENIX Workshop on Offensive Technologies. January 2007; Michela Becchi and Patrick Crowley, "Extending Finite Automata to Efficiently match Per