Efficient Regular Expression Pattern Matching for Network Intrusion Detection Systems using Modified Word-based Automata

被引:0
|
作者
Kumar, Pawan [1 ]
Singh, Virendra [2 ]
机构
[1] Indian Inst Sci, Supercomp Educ & Res Ctr, Bangalore 560012, Karnataka, India
[2] Indian Inst Technol, Dept Elect Engn, Bombay DEPT ELECT, Maharashtra, India
关键词
Regular Expressions; DPI; NIDS; Pattern Matching; DFA; NFA;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Network Intrusion Detection Systems (NIDS) intercept the traffic at an organization's network periphery to thwart intrusion attempts. Signature-based NIDS compares the intercepted packets against its database of known vulnerabilities and malware signatures to detect such cyber attacks. These signatures are represented using Regular Expressions (REs) and strings. Regular Expressions, because of their higher expressive power, are preferred over simple strings to write these signatures. We present Cascaded Automata Architecture to perform memory efficient Regular Expression pattern matching using existing string matching solutions. The proposed architecture performs two stage Regular Expression pattern matching. We replace the substring and character class components of the Regular Expression with new symbols. We address the challenges involved in this approach. We augment the Word-based Automata, obtained from the re-written Regular Expressions, with counter-based states and length bound transitions to perform Regular Expression pattern matching. We evaluated our architecture on Regular Expressions taken from Snort rulesets. We were able to reduce the number of automata states between 50% to 85%. Additionally, we could reduce the number of transitions by a factor of 3 leading to further reduction in the memory requirements.
引用
收藏
页码:103 / 110
页数:8
相关论文
共 50 条
  • [21] Regular expression matching with input compression: a hardware design for use within network intrusion detection systems
    Gerald Tripp
    Journal in Computer Virology, 2007, 3 (2): : 125 - 134
  • [22] Regular expression matching with input compression: a hardware design for use within network intrusion detection systems
    Tripp, Gerald
    JOURNAL OF COMPUTER VIROLOGY AND HACKING TECHNIQUES, 2007, 3 (02): : 125 - 134
  • [23] Sampling Techniques to Accelerate Pattern Matching in Network Intrusion Detection Systems
    Ficara, Domenico
    Antichi, Gianni
    Di Pietro, Andrea
    Giordano, Stefano
    Procissi, Gregorio
    Vitucci, Fabio
    2010 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2010,
  • [24] A GPU-based Multiple-pattern Matching Algorithm for Network Intrusion Detection Systems
    Huang, Nen-Fu
    Hung, Hsien-Wei
    Lai, Sheng-Hung
    Chu, Yen-Ming
    Tsai, Wen-Yen
    2008 22ND INTERNATIONAL WORKSHOPS ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOLS 1-3, 2008, : 62 - +
  • [25] A pattern-matching co-processor for network intrusion detection systems
    Clark, CR
    Schimmel, DE
    2003 IEEE INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT), PROCEEDINGS, 2003, : 68 - 74
  • [26] Multi-pattern signature matching for hardware Network Intrusion Detection Systems
    Song, HY
    Lockwood, JW
    GLOBECOM '05: IEEE Global Telecommunications Conference, Vols 1-6: DISCOVERY PAST AND FUTURE, 2005, : 1686 - 1690
  • [27] TFA: A Tunable Finite Automaton for Pattern Matching in Network Intrusion Detection Systems
    Xu, Yang
    Jiang, Junchen
    Wei, Rihua
    Song, Yang
    Chao, H. Jonathan
    IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2014, 32 (10) : 1810 - 1821
  • [28] Efficient packet matching for gigabit network intrusion detection using TCAMs
    Gao, Ming
    Zhang, Kenong
    Lu, Jiahua
    20TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOL 1, PROCEEDINGS, 2006, : 249 - +
  • [29] Efficient Malicious Domain Detection Using Word Segmentation and BM Pattern Matching
    Gupta, Sachin
    2016 INTERNATIONAL CONFERENCE ON RECENT ADVANCES AND INNOVATIONS IN ENGINEERING (ICRAIE), 2016,
  • [30] Deafness mutation mining using regular expression based pattern matching
    Frenz, Christopher M.
    BMC MEDICAL INFORMATICS AND DECISION MAKING, 2007, 7 (1)