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
相关论文
共 23 条
  • [1] [Anonymous], P 3 ACM IEEE S ARCH
  • [2] [Anonymous], P 9 ANN IEEE S FIELD
  • [3] Baker ZacharyK., 2006, Proceedings of Field Programmable Logic and Applications (FPL), P1
  • [4] Scalable Lookahead Regular Expression Detection System for Deep Packet Inspection
    Bando, Masanori
    Artan, N. Sertac
    Chao, H. Jonathan
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2012, 20 (03) : 699 - 714
  • [5] Regular expression matching for reconfigurable packet inspection
    Bispo, Joao
    Sourdis, Ioannis
    Cardoso, Joao M. P.
    Vassiliadis, Stamatis
    [J]. 2006 IEEE INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE TECHNOLOGY, PROCEEDINGS, 2006, : 119 - 126
  • [6] A Survey on the Application of FPGAs for Network Infrastructure Security
    Chen, Hao
    Chen, Yu
    Summerville, Douglas H.
    [J]. IEEE COMMUNICATIONS SURVEYS AND TUTORIALS, 2011, 13 (04): : 541 - 561
  • [7] Clark CR, 2004, ANN IEEE SYM FIELD P, P249, DOI 10.1109/fccm.2004.50
  • [8] Floyd R. W., 1980, P ANN S FDN COMP SCI, P260
  • [9] Assisting network intrusion detection with reconfigurable hardware
    Hutchings, BL
    Franklin, R
    Carver, D
    [J]. 10TH ANNUAL IEEE SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES, PROCEEDINGS, 2002, : 111 - 120
  • [10] Kumar F. Y. P. C. S., 2006, P 2006 C APPL TECHN, P339