Research of Pattern Matching Algorithm and Its Application in Snort System
- Author
- QiHuiLing
- Advisor
- TangXiaoHu
- School
- Southwest Jiaotong University
- Major
- Information Security
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 130
- Citations
- 1
Abstract
With the rapid development of network technology, the security issues of computer network have received a lot of attentions. The intrusion detection, following the firewall and other traditional security protection technology, is a new generation technology of security defends which can intercept and respond to intrusions before the network system is jeopardized. The intrusion detection has become an important part of the information and network security architecture.First of all, this thesis introduces the major theory and technology of the intrusion detection, including its concepts, principles, the module structure of intrusion detection system (IDS), and classification, etc; Next are two aspects of static and dynamic analysis of the overall structure and work process of Snort, a lightweight network intrusion detection system (NIDS), including rules of composition, processing and detection, etc; In chapter 4, this article focuses on the several single-pattern matching algorithms, which are the most popular algorithms in the network and also the most commonly used in kinds of intrusion·detection systems, including BM (Boyer-Moore) algorithm and its two classic improved algorithms. On this basis, other two improved algorithms, named BMI-1 (Boyer-Moore Improvement, BMI) and BMI-2, have been proposed. BMI-1 algorithm essentially improves the pre-process of BM, which manages to increase the distance of text string pointer shifts to the right, and reduce the number of shifts. With the same purpose, BMI-2 algorithm improves both the pre-process and the matching-process at the same time. Text test shows that BMI-1 and BMI-2 have better matching efficiency than the other three algorithms, especially the BMI-2 algorithm; Finally, combining with improved BMI-2 algorithm, this article optimizes the Snort system in depth to its internal detection processing module and match function. Experiment shows that the Snort system with BM and the improved Snort system with BMI-2 have the same results, both getting the same size of alerts. However, Snort-2.8.4 using BMI-2 instead of BM can enhance the performance of Snort.
Table of contents
Abstract 6-7
Abstract 7-10
Chapter 1 Introduction 10-15
1.1 Background and Significance 10-11
1.2 research status 11-14
1.2.1 Intrusion Detection and Research 11-12
1.2.2 of intrusion detection mechanism and product 12-13
1.2.3 mode the matching algorithm development and research status quo 13-14
1.3 thesis research the content and organizational structure 14-15
Chapter 2 Intrusion Detection System Overview 15-22
2.1 Intrusion Detection System Profile 15-16
2.2 intrusion detection system module structure 16-17
2.3 Intrusion Detection System Classification 17-19
2.3.1 network-based intrusion detection system 17-18
2.3.2 Host-based intrusion detection system 18-19
2.4 Intrusion Detection Technology 19-21
2.4.1 anomaly detection technology 19-20
2.4.2 misuse detection technology 20-21
2.5 intrusion detection system deficiencies and trends 21-22
Chapter 3 Snort system analysis 22-31
3.1 Snort 22-25
3.1.1 Snort development 22-23
3.1.2 Snort architecture 23-25
3.2 Snort rules 25-28
3.3 Snort workflow analysis 28-31
3.3.1 capture network traffic 28
3.3.2 Snort overall process 28-31
Chapter 4 pattern matching algorithm improved 31-43
4.1 pattern matching algorithm definition and classification 31-32
4.1.1 pattern matching algorithm defined 31
4.1.2 pattern matching algorithm classification 31-32
4.2 single-mode matching algorithm analysis 32-36
4.2.1 BM algorithm 32-34
4.2.2 BMH algorithm 34-35
4.2.3 BMHS algorithm 35-36
4.3 algorithm improvements 36-43
4.3.1 BMI-1 algorithm thought 36-38
4.3.2 BMI-2 algorithm thought 38-40
4.3.3 improved algorithm performance test 40-43
Chapter 5 based on improved algorithm of Snort detection engine optimization 43-52
5.1 Snort processing module 43-44
5.1.1 sp_pattern_match sub-module 43-44
5.1.2 Other processing sub-modules 44
5.2 Snort matching function 44-47
5.3 to improve the algorithm in the Snort 47-48
5.4 system test 48-52
5.4.1 datasets select 48
5.4.2 build experimental environment 48-51
5.4.3 Performance Test 51-52
concluded 52-54
Acknowledgements 54-55
the
References 55-58
the
studying for a master's degree during the published papers and participate in scientific research 58-59
Related dissertations
- Design and Implementation of Intrusion Detection System Based on Data Mining
- Design and Study of the Distributed Intrusion Detection System in Teaching Network
- An Improved Snort Intrusion Detection System
- Research of Intrusion Detection System Based on Snort
- Research and Implementation of E-Government Detection System
- Algorithm Research Based on SNORT Intrusion Detection System
- The Research of Single-Mode Matching Algorithm Based on Snort Intrusion Detection System
- Research and Implementation of Distributed Intrusion Detection System Based on the Snort
- Application of GPU-Based SVM Algorithm in Intrusion Detection
- GPU-based Intrusion Detection Technology
- Study on Rule Matching Approach for Snort Intrusion Detection System
- The Research and Design of Network Intrusion Delection System Based on WinPcap
- Network Security Research Based on Intrusion Detection
- Research on the Application of Data Mining Technique in Snort
- Study of Support Vector Machines and Its Application in Intrusion Detection Systems
- Research and Design on Intrusion Detection Methods for Industry Control System
- Research and Application of BP Neural Network Optimization Based on Improved Ant Colony Algorithm
- Research on Intrusion Detection Based on Improved Decision Tree Algorithm
- Research on Anomaly Detection Based on host behavior
- Research of Coevolutionary Algorithm Based on Immune Agent