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 条
  • [31] Deafness mutation mining using regular expression based pattern matching
    Christopher M Frenz
    BMC Medical Informatics and Decision Making, 7
  • [32] FPGA-Based Parallel Pattern Matching Algorithm for Network Intrusion Detection System
    Yu, Jing
    Yang, Bo
    Sun, Ruiyuan
    Chen, Zhenxiang
    MINES 2009: FIRST INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION NETWORKING AND SECURITY, VOL 2, PROCEEDINGS, 2009, : 458 - 461
  • [33] A fast pattern matching algorithm for network processor-based intrusion detection system
    Liu, RT
    Huang, NF
    Kao, CN
    Chen, CH
    CONFERENCE PROCEEDINGS OF THE 2004 IEEE INTERNATIONAL PERFORMANCE, COMPUTING, AND COMMUNICATIONS CONFERENCE, 2004, : 271 - 275
  • [34] A Memory-Efficient Bit-Split Parallel String Matching Using Pattern Dividing for Intrusion Detection Systems
    Kim, Hyun Jin
    Kim, Hong-Sik
    Kang, Sungho
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2011, 22 (11) : 1904 - 1911
  • [35] Memory-Efficient String Matching for Intrusion Detection Systems using a High-Precision Pattern Grouping Algorithm
    Vakili, Shervin
    Langlois, J. M. Pierre
    Boughzala, Bochra
    Savaria, Yvon
    PROCEEDINGS OF THE 2016 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS'16), 2016, : 37 - 42
  • [36] Real-Time Hybrid Compression of Pattern Matching Automata for Heterogeneous Signature-Based Intrusion Detection
    Pungila, Ciprian
    Negru, Viorel
    INTERNATIONAL JOINT CONFERENCE: CISIS'15 AND ICEUTE'15, 2015, 369 : 65 - 74
  • [37] Pattern-Based DFA for Memory-Efficient and Scalable Multiple Regular Expression Matching
    Jiang, Junchen
    Xu, Yang
    Pan, Tian
    Tang, Yi
    Liu, Bin
    2010 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, 2010,
  • [38] A Non-Computational Intensive Pre-filter for Pattern Matching in Network Intrusion Detection Systems
    Huang, Nen-Fu
    Chu, Yen-Ming
    Tzang, Yih-Jou
    Chen, Jian-Lin
    Hun, Hsien-Wei
    Shih, Ming-Chang
    Kao, Chia-Nan
    GLOBECOM 2006 - 2006 IEEE GLOBAL TELECOMMUNICATIONS CONFERENCE, 2006,
  • [39] A Reconfigurable Multi-Byte Regular-Expression Matching Architecture for Signature-Based Intrusion Detection
    Badran, Tamer F.
    Ahmad, Hany H.
    Abdelgawad, Mohamad
    2008 3RD INTERNATIONAL CONFERENCE ON INFORMATION AND COMMUNICATION TECHNOLOGIES: FROM THEORY TO APPLICATIONS, VOLS 1-5, 2008, : 2571 - 2574
  • [40] High throughput token driven FSM based regex pattern matching for network intrusion detection system
    Nagaraju, S.
    Shanmugham, B.
    Baskaran, K.
    MATERIALS TODAY-PROCEEDINGS, 2021, 47 : 139 - 143