期刊文献+

大规模复杂规则匹配技术研究 被引量:3

Research on complex rules matching on a large scale
下载PDF
导出
摘要 针对当前安全系统对复杂规则的需求和复杂规则匹配技术的状况,提出了一种新的规则表示方式——字符串表达式,并给出了对应的匹配方法——基于扩展的有限状态自动机(XFA)实现大规模复杂规则匹配的算法。字符串表达式可以描述多个精确字符串之间的逻辑关系与空间位置关系,从而满足安全系统对复杂特征的描述需求。匹配使用二维结构来完成,首先用经典串匹配算法进行字符串的存在性验证,然后将其结果作为输入,驱动以表达式中字符串为"字符"的XFA完成逻辑关系的验证。基于XFA的匹配方法的空间效率和时间效率都接近多模精确串匹配算法。实验结果表明,文中提出的方法既能满足安全系统对关联特征的描述需求,又能提供高效的匹配性能,较好地解决了大规模(万条)的复杂规则匹配问题。 In view of current security systems' needs for complex rules and the present state of the complex rules matching, this paper proposes the concept of the string expression, a new type of rule expression, and correspondingly, gives its matching method, an algorithm for complex rules matching on a large scale based on the extended finite automation. String expression can describe the logical relation and the position relation between multiple strings. The matching is achieved by using the two-level matching structure. First, it checks the existing of each string using the classical string matching algorithm, and then drives the extended finite automaton using the previous checking results. Its time complexi- ty and space complexity are near to the classical string matching algorithm. The experimental result shows that the string expression and its matching method can provide a high matching ef^ciency as well as satisfy the complex request on se- mantic of security systems. It resolves the complex rules matching problem on the scale of 10000 better.
出处 《高技术通讯》 EI CAS CSCD 北大核心 2010年第12期1217-1223,共7页 Chinese High Technology Letters
基金 863计划(2009AA01Z437 2007AA01Z442 2007AA010501 2007AA01Z474) 973计划(2007CB311101) 国家自然科学基金(60903209)资助项目
关键词 串匹配 正则表达式 字符串表达式 扩展字符串匹配 扩展有限自动机 string matching, regular expression, string expression, extending string matching, extended finite automaton
  • 相关文献

参考文献15

  • 1Snort 2.8.x[EB/OL].http://www.snort.org,2009.
  • 2Application Layer Packet Classifier for Linux.http://l7-filter.sourceforge.net/,2009.
  • 3Aho A,Corasick M.Efficient string matching:an aid to bibliographic search.Communications of the ACM.1975,18(6):333-340.
  • 4Wu S,Manber U.A fast algorithm for multi-pattern searching.Technical Report:TR-94-17,Department of Computer Science,University of Arizona,Tucson,AZ,1994.
  • 5Allauzen C,Raffinot M.Factor Oracle of a Set of Words.Technical Report,Institute Gaspard-Monge,University,1999.99-11.
  • 6Fang Y,Zhifeng C,Yanlei D,et al.Fast and memory-efficient regular expression matching for deep packet inspection.In:Proceedings of the IEEE/ACM Architecture for Networking and Communications Systems,San Jose,USA:ACM,2006.93-102.
  • 7Becchi M,Cadambi S.Memory-efficient regular expression search using state merging.In:Proceedings of the 26th IEEE International Conference on Computer Communications,Anchorage,Alaska,USA:IEEE,2007.1064-1072.
  • 8Kumar S,Dharmapurikar S,Yu F,et al.Algorithms to accelerate multiple regular expressions matching for deep packet inspection.In:Proceedings of the 2006 Conference on Applications,Technologies,Architectures,and Protocols for Computer Communications,Pisa,Italy:ACM,2006.339-350.
  • 9陈曙晖,苏金树,范慧萍,侯婕.一种基于深度报文检测的FSM状态表压缩技术[J].计算机研究与发展,2008,45(8):1299-1306. 被引量:16
  • 10Smith R,Estan C,Jha S.XFA:Faster signature matching with extended automata.In:Proceedings of the IEEE Symposium on Security and Privacy,Oakland,USA,2008.158-172.

二级参考文献32

  • 1李伟男,鄂跃鹏,葛敬国,钱华林.多模式匹配算法及硬件实现[J].软件学报,2006,17(12):2403-2415. 被引量:42
  • 2Snort 2.4.x[EB/OL].http://www.snort.org.
  • 3ClamAV[EB/OL].http://www.clamav.org.
  • 4NAVARRO G,RAFFINOT M.New techniques for regular expression searching[J].Algorithmica,2004,41(2):89-116.
  • 5AHO A,CORASICK M.Efficient string matching:an aid to bibliographic search[J].Communications of the ACM,1975,18(6):333-340.
  • 6ALLAUZEN C,RAFFINOT M.Factor oracle of a set of words[R].[S.l.]:Institute Gaspard-Monge,University de Marne-la-vallee,1999.
  • 7KYTOJOKI J,SALMELA L,TARHIO J.Tuning string matching for huge pattern sets[C]//Proc of CPM2003.2003:211-224.
  • 8LIU Ping.Research of string matching for internet content Filtering[D].Beijing:Institute of Computing Technology,Chinese Academy of Sciences,2005:21-27.
  • 9NAVARRO G,RAFFINOT M.Flexible pattern matching in strings[M].[S.l.]:Cambridge University Press,2002:69-76.
  • 10NORTON M.Optimizing pattern matching for intrusion detection[R].Columbia:Sourcefire Inc,2004.

共引文献19

同被引文献12

引证文献3

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部