• DocumentCode
    77987
  • Title

    TFA: A Tunable Finite Automaton for Pattern Matching in Network Intrusion Detection Systems

  • Author

    Yang Xu ; Junchen Jiang ; Rihua Wei ; Yang Song ; Chao, H. Jonathan

  • Author_Institution
    Polytech. Sch. of Eng., New York Univ., New York, NY, USA
  • Volume
    32
  • Issue
    10
  • fYear
    2014
  • fDate
    Oct. 2014
  • Firstpage
    1810
  • Lastpage
    1821
  • Abstract
    Deterministic finite automatons (DFAs) and nondeterministic finite automatons (NFAs) are two typical automatons used in the network intrusion detection system. Although they both perform regular expression matching, they have quite different performance and memory usage properties. DFAs provide fast and deterministic matching performance but suffer from the well-known state explosion problem. NFAs are compact, but their matching performance is unpredictable and with no worst case guarantee. In this paper, we propose a new automaton representation of regular expressions, called tunable finite automaton (TFA), to deal with the DFAs´ state explosion problem and the NFAs´ unpredictable performance problem. Different from a DFA, which has only one active state, a TFA allows multiple concurrent active states. Thus, the total number of states required by the TFA to track the matching status is much smaller than that required by the DFA. Different from an NFA, a TFA guarantees that the number of concurrent active states is bounded by a bound factor b that can be tuned during the construction of the TFA according to the needs of the application for speed and storage. Simulation results based on regular expression rule sets from Snort and Bro show that, with only two concurrent active states, a TFA can achieve significant reductions in the number of states and memory usage, e.g., a 98% reduction in the number of states and a 95% reduction in memory space.
  • Keywords
    finite automata; pattern matching; public domain software; security of data; Bro; DFA; NFA; Snort; TFA; concurrent active states; network intrusion detection systems; nondeterministic finite automatons; pattern matching; regular expression rule sets; tunable finite automaton; Automata; Bandwidth; Complexity theory; Educational institutions; Encoding; Explosions; Memory management; Regular expression; finite automaton; pattern matching; state explosion;
  • fLanguage
    English
  • Journal_Title
    Selected Areas in Communications, IEEE Journal on
  • Publisher
    ieee
  • ISSN
    0733-8716
  • Type

    jour

  • DOI
    10.1109/JSAC.2014.2358856
  • Filename
    6905778