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 条
  • [1] Regular Expression Matching in Reconfigurable Hardware
    Ioannis Sourdis
    João Bispo
    João M. P. Cardoso
    Stamatis Vassiliadis
    Journal of Signal Processing Systems, 2008, 51 : 99 - 121
  • [2] Regular expression matching in reconfigurable hardware
    Sourdis, Ioannis
    Vassiliadis, Stamatis
    Bispo, Joao
    Cardoso, Joao M. P.
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2008, 51 (01): : 99 - 121
  • [3] NFA Based Regular Expression Matching on FPGA
    Sert, Kamil
    Bazlamacci, Cuneyt F.
    PROCEEDINGS OF THE 2021 IEEE INTERNATIONAL CONFERENCE ON COMPUTER, INFORMATION, AND TELECOMMUNICATION SYSTEMS (IEEE CITS 2021), 2021, : 144 - 148
  • [4] NFA-based Pattern Matching for Deep Packet Inspection
    Sun, Yan
    Valgenti, Victor C.
    Kim, Min Sik
    2011 20TH INTERNATIONAL CONFERENCE ON COMPUTER COMMUNICATIONS AND NETWORKS (ICCCN), 2011,
  • [5] GPU-based NFA Implementation for Memory Efficient High Speed Regular Expression Matching
    Zu, Yuan
    Yang, Ming
    Xu, Zhonghu
    Wang, Lin
    Tian, Xin
    Peng, Kunyang
    Dong, Qunfeng
    ACM SIGPLAN NOTICES, 2012, 47 (08) : 129 - 139
  • [6] A Modular NFA Architecture for Regular Expression Matching
    Wang, Hao
    Pu, Shi
    Knezek, Gabriel
    Liu, Jyh-Charn
    FPGA 10, 2010, : 209 - 217
  • [7] Fast, memory-efficient regular expression matching with NFA-OBDDs
    Yang, Liu
    Karim, Rezwana
    Ganapathy, Vinod
    Smith, Randy
    COMPUTER NETWORKS, 2011, 55 (15) : 3376 - 3393
  • [8] Improving NFA-Based Signature Matching Using Ordered Binary Decision Diagrams
    Yang, Liu
    Karim, Rezwana
    Ganapathy, Vinod
    Smith, Randy
    RECENT ADVANCES IN INTRUSION DETECTION, 2010, 6307 : 58 - +
  • [9] HIGH-SPEED REGULAR EXPRESSION MATCHING ENGINE USING MULTI-CHARACTER NFA
    Yamagaki, Norio
    Sidhu, Reetinder
    Kamiya, Satoshi
    2008 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE AND LOGIC APPLICATIONS, VOLS 1 AND 2, 2008, : 131 - +
  • [10] The Regular Expression Matching Algorithm for the Energy Efficient Reconfigurable SoC
    Russek, Pawel
    Wiatr, Kazimierz
    PARALLEL PROCESSING AND APPLIED MATHEMATICS (PPAM 2013), PT I, 2014, 8384 : 545 - 556