ENREM: An efficient NFA-based regular expression matching engine on reconfigurable hardware for NIDS

被引:14
|
作者
Tran Trung Hieu [1 ]
Tran Ngoc Thinh [1 ]
Tomiyama, Shigenori [2 ]
机构
[1] HCM Univ Technol HCMUT, Dept Comp Engn, Ho Chi Minh City, Vietnam
[2] Tokai Univ, Sch Informat & Telecommun Engn, Tokyo 151, Japan
关键词
DFA; DPI; NFA; NIDS; PCRE; Regular expression;
D O I
10.1016/j.sysarc.2013.03.013
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Regular expression is a critical mechanism in modern network security and widely used in network intrusion detection system to describe malicious patterns. In order to speed up the pattern matching process, a number of studies have been investigated to implement regular expression matching on reconfigurable hardware. Several optimizations have been proposed, however the problem of sharing sub-patterns between multiple regular expressions is not solved completely. In this paper we present ENREM, an Efficient NFA-based Regular Expression Matching Engine on reconfigurable hardware. We introduce a new infix and suffix sharing architecture and employ it along with several techniques to optimize the required area of pattern matching circuits. In addition we developed tools for automatically generating the Verilog HDL source code of ENREM circuit from any given set of Perl compatible regular expression patterns. In order to evaluate proposed architecture, we exploit Snort rules and implement ENREM on Xilinx Virtex-II Pro XC2VP-50 FPGA. The system is tested on NetFPGA platform with DARPA intrusion detection as input data to verify the accuracy of circuit. The experimental results show that ENREM can reduce 42% LUTs and 32% FlipFlops compared with previous approaches while maintains high-speed matching throughput from 1.45 to 2.35 Gbps. (c) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:202 / 212
页数:11
相关论文
共 50 条
  • [21] Regular Expression Matching for Reconfigurable Constraint Repetition Inspection
    Faezipour, Miad
    Nourani, Mehrdad
    GLOBECOM 2008 - 2008 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, 2008,
  • [22] Leftmost Longest Regular Expression Matching in Reconfigurable Logic
    Atasu, Kubilay
    2015 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY (FPT), 2015, : 17 - 23
  • [23] Reconfigurable Constraint Repetition Unit for Regular Expression Matching
    Faezipour, Miad
    Nourani, Mehrdad
    PROCEEDINGS OF THE SIXTEENTH IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, 2008, : 279 - 280
  • [24] Pattern-Unit Based Regular Expression Matching with Reconfigurable Function Unit
    Cong, Ming
    An, Hong
    Cao, Lu
    Liu, Yuan
    Li, Peng
    Wang, Tao
    Yu, Zhi-hong
    Liu, Dong
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2010, PT 4, PROCEEDINGS, 2010, 6019 : 427 - +
  • [25] Regular Expression Matching on Graphics Hardware for Intrusion Detection
    Vasiliadis, Giorgos
    Polychronakis, Michalis
    Antonatos, Spiros
    Markatos, Evangelos P.
    Ioannidis, Sotiris
    RECENT ADVANCES IN INTRUSION DETECTION, PROCEEDINGS, 2009, 5758 : 265 - 283
  • [26] Efficient Regular Expression Matching Based on Positional Inverted Index
    Qiu, Tao
    Yang, Xiaochun
    Wang, Bin
    Wang, Wei
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2022, 34 (03) : 1133 - 1148
  • [27] Analyzing Matching Time Behavior of Backtracking Regular Expression Matchers by Using Ambiguity of NFA
    Weideman, Nicolaas
    van der Merwe, Brink
    Berglund, Martin
    Watson, Bruce
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2016, 9705 : 322 - 334
  • [28] A Novel Compiler for Regular Expression Matching Engine Construction
    Jin, Xin
    Lin, Jun
    Wang, Zhongfeng
    2018 IEEE ASIA PACIFIC CONFERENCE ON CIRCUITS AND SYSTEMS (APCCAS 2018), 2018, : 251 - 256
  • [29] Hardware Architecture for High-Performance Regular Expression Matching
    Lee, Tsern-Huei
    IEEE TRANSACTIONS ON COMPUTERS, 2009, 58 (07) : 984 - 993
  • [30] Efficient Regular Expression Matching on Compressed Strings
    Han, Yutong
    Wang, Bin
    Yang, Xiaochun
    Zhu, Huaijie
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2017), PT II, 2017, 10178 : 219 - 234