Research of High-Performance String Matching Technology for Large Scale String Set

Author
LiXue
Advisor
WangChunLu
School
Beijing University of Posts and Telecommunications
Major
Computer Applications
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2008
Downloads
340
Citations
5

Request the full text

Abstract

With the rapid development of computer networks and their applications, people can very easily obtain the required information, the computer network has become an indispensable part of people's daily lives. When we enjoy the great convenience brought by the Internet at the same time, plagued by the illegal invasion, attack, viruses, spam and other malicious behavior. Network and information security problems has become an important issue for network uptime and continue to develop. For all kinds of malicious behavior on the network, there are a lot of different defensive measures. From early firewall, the development of subsequent network intrusion detection / prevention system (IntrutionDetection / Prevention System, IDS / IPS), virus-scanning system, the spam filtering system, recently proposed unified threat management (Unified Threat Management, UTM) system . String matching technology is the core technology of the network information security systems and equipment. With the dramatic increase in the types and quantities of malicious behavior on the network, regardless of network intrusion detection / prevention systems, virus scanning system, the latest set of many features in a unified threat management system, you need to configure the number of rules the rapid growth , ranging from tens of thousands, many hundreds of thousands, which is in urgent need of string-matching techniques for large-scale feature set. Moreover, the speed of the network is getting faster and faster, the need for real-time online processing of network and information security systems, this high performance string matching algorithm. The main purpose of this paper is to propose a suitable for large-scale features of a set of high-performance string matching algorithms. Large-scale features of string-matching techniques are studied in this article, including exact matching algorithms and approximate matching algorithm. Research and analysis of the classical algorithm to find the bottleneck where its not suitable for large-scale feature set, and propose a suitable for large-scale feature set quickly and accurately matching algorithm - SRS algorithm, the performance of the algorithm in the feature set of 100,000 matching speed faster than the classical algorithm is more than 10 times; efficient approximate matching the algorithm - SrsPex algorithm suitable for large-scale feature set also gives the algorithm in the size of the approximate feature set for 10000 when , matching speeds of up to 100MB / s or more, up to almost 400MB / s. On this basis, this article is extracted from open source anti-virus software ClamAV the actual virus signatures for analysis, and then, with a the antivirus field of real virus database to verify the SRS algorithm.

Table of contents

Abstract 4-5 ABSTRACT 5-6 directory 6-8 Abbreviations 8-9 first chapter 9-13 1.1 Background 9-10 1.2 related research 10-11 1.2.1 characteristic string precise matching algorithm 10-11 1.2.2 feature string approximate matching algorithm 1.3 of this paper work and achievements 11 1.4 of this article organizational structure 11-13 the second chapter massive characteristics string exact matching technology 13-42 2.1 precise matching technology research status and trends 13-23 2.1.1 single-mode matching algorithm 13-15 2.1.2 multi-pattern matching algorithm 15-22 2.1.3 various improved algorithm 22-23 2.2 classic multi-mode matching algorithm insufficient 23-24 2.3 for large-scale feature string exactly match the improved algorithm - SRS algorithm 24-32 2.3.1 SRS algorithm thought 24-25 2.3.2 SRS algorithm structure design 25-27 2.3.3 shift table and prefix table is established 27 2.3.4 sub-shift table to establish 27-29 2.3.5 same-pos table to establish 29-31 2.3.6 SRS algorithm search process 31 2.3.7 SRS algorithm optimization - the characteristics of the collection divided 31-32 2.4 SRS algorithm module design 32-33 2.4.1 Module summary table 32 2.4.2 module relationship diagram 32-33 2.5 module detailed design 33-37 2.5.1 preprocessing module design 33-35 2.5.2 Search module design 35-37 2.6 SRS algorithm performance evaluation 37-41 2.6.1 experimental environment described 37 2.6.2 algorithm matches the performance comparison 37-41 2.7 Conclusion 41-42 The massive feature string approximately matching technology 42-64 3.1 approximate matching technology, domestic and foreign research status and trend 42-51 3.1.1 approximate matching algorithm 42 3.1.2 research status 42-44 3.1.3 Single-mode approximation characteristics matching algorithm 44-48 3.1.4 multi-mode approximation characteristics matching algorithm 48-51 3.2 classic multi-mode approximate matching algorithm insufficient 51 3.3 for large-scale feature string approximation a matching improvement the algorithm - SrsPex algorithm 51-53 3.3.1 edit distance multi-mode approximate matching algorithm 51 3.3.2 SrsPex algorithm design 51-52 3.3.3 SrsPex algorithm structure design 52-53 3.4 SrsPex algorithm module design 53-54 3.4.1 Module summary table 53 3.4.2 module relationship diagram 53-54 3.5 algorithm detailed design 54-59 3.5.1 data structure design 54-55 3.5.2 pretreatment process detailed design 55-57 3.5.3 search process detailed design 57-58 3.5.4 BPM algorithm module detailed design 58-59 3.6 SrsPex algorithm performance evaluation 59-63 3.6.1 experimental environment described 59 3.6.2 algorithm matches the performance analysis 59-63 3.7 Conclusion 63-64 Chapter of true virus signatures verified SRS algorithm 64-71 4.1 anti-virus system principle 64-65 4.2 feature code antivirus system exists 65 4.3 open source anti-virus software-ClamAV analysis 65-67 4.3.1 the ClamAV core algorithms and processes 65-66 4.3.2 ClamAV virus database analysis 66-67 4.4 the SRS algorithm in the anti-virus system applications 67-68 4.5 Performance measurement and analysis 68-70 the the 4.4.1 the ClamAV characteristics set matching speed comparison 68-69 4.4.2 ClamAV feature set take up memory 69 4.4.3 ClamAV characteristic set of pre-processing time 69-70 4.6 Conclusion 70-71 Chapter Summary and Outlook 71-72 the References 72-75 the period of study for a degree of academic papers published directory 75 the author during the study for a degree to participate in the research projects 75-77 Acknowledgements 77

Related dissertations

  1. An Algorithm for Matching Strings with Wildcards
    YunZhengJia ·Northeastern University ·2011 ·Master's thesis
  2. Research and Implementation on Efficient String Match for Ten Millions of Patterns
    CaoXiaoLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Ng Firewall System Based on Flow Identification Technology
  4. Design and Implementation of Universal Network Mapping Strategy Management System
  5. Studies on String Mathching Algorithm Based on the Character’s Law
    LiGuoHua ·Zhengzhou University ·2012 ·Master's thesis
  6. The Research for Fast Exact String Matching Algorithms
    FanHongBo ·Harbin Engineering University ·2011 ·Doctoral dissertation
  7. Research on Deep Packet Inspection Algorithm in High-speed IP Network
    ChenWei ·PLA Information Engineering University ·2011 ·Master's thesis
  8. The Substation Online Five Anti-system Software Design and Research
    HuangDong ·Zhejiang University ·2013 ·Master's thesis
  9. A Study of the Authentication Based on Online Signatures
  10. Study on the Content-Based Network Security Monitoring Model and Its Key Technology
  11. Hardware-based String Matching Algorithm in Network Content Analysis
    LiQiYue ·University of Science and Technology of China ·2008 ·Doctoral dissertation
  12. Algorithms and Implementation of String Match in Intrusion Detection System
    HuangJian ·Huazhong University of Science and Technology ·2008 ·Doctoral dissertation
  13. Key Techniques of Data Filtering on High Speed Network
  14. Research on the Copy Detection Technology for Source Code
    DengAiPing ·Hunan University ·2008 ·Master's thesis
  15. Research on the Methods of Java Code Clone Detecting
    WangGuan ·Beijing University of Technology ·2008 ·Master's thesis
  16. Research on IP Packet Classification Techniques
  17. R bits matching rule based on continuous parallel string matching research
    WangZhiGuo ·Taiyuan University of Technology ·2007 ·Master's thesis
  18. Analysis of Algorithms Based on Markov Chains Model
    WangHongBo ·Dalian University of Technology ·2007 ·Master's thesis
  19. Design and implementation of string matching algorithms based on the the network hierarchical classification system of content regulation
  20. Design and Implementation of A Chinese Character Keyboard Input Method Named "Stroke Code
    WuHaiHui ·Anhui University ·2004 ·Master's thesis