Study of Machine Learning Application on Web-Based Network Security
- Author
- YangXiaoFeng
- Advisor
- YangJingYu
- School
- Nanjing University of Technology and Engineering
- Major
- Pattern Recognition and Intelligent Systems
- Classification
- TP393.08 Computer Network Security
- Degree
- Doctoral dissertation
- Year
- 2011
- Downloads
- 39
- Citations
- 0
- Intrusion detection
- Anomaly Detection
- Web attacks
- HMM
- grammar inference
- text clustering
- feature mapping
- SVM Classifier
- kernel function
Abstract
Recent years, Web (World Wide Web) boomed for its being free of restriction by common firewalls, which stimulates the trend that most legacy applications are ported to take the form of a Web application. The popularization of Web also has its dark side, it brought about the web-based attack becoming the number one threat on the internet. Intrusion detection is the main counter-measure against attacks, however the much adopted misuse detection which encodes the features of every known attack into signatures failed to handle the sharp increase of new attacks. Anomay detection which builds patterns for normal behaviors and detects attacks which significantly deviates from the normal patterns is becoming a promising alternative. This method usually adopts models and metrics from machine learning and data mining to build its own detection model and procedure, it is also known as being able to detect new unknown attacks.A hidden markov based grammar model is presented in this paper. Hidden markov model successfully addressed applications like voice recognition and handwriting recognition, and it also proved to be a good candidate for representing a regular grammar. HMM-based grammar model effectively encodes the grammar of normal requests, and the similarity of a sample to the model is also an appropriate measurement for anomality evaluation. A maximized Bayesian post priori based principal controlling the generalization process, ensures neither over-generalization nor under-generalization of the grammar.As the HMM-based grammar model troubled by structural complexity and computational complexity in terms of learning, a DFA (Definitive Finite Automaton) model is proposed to replace the HMM model as the grammar representation. DFA is much simpler in both structural and computational complexity compared to HMM, Moreover, its self is a highly efficient classifier, which saves additional classifying mechanism. DFA proves not only to simplify the leaning and detection which is paramount in practical use, but also to retain almost as good a detection performance as HMM does.This paper also summarized and compared the much referred grammar-based models. A systematic analysis is made on inner connections between models, and a comparing experiment is carried out on the advantages and disadvantages in terms of complexity, performance and special features.Most supervised learning methods are troubled be training phase design and the laborious training samples labeling, thus the detection performance also heavily relies on the perfection of training. An unsupervised clustering based method is proposed, which works under the premise that normal samples present a great similarity with each other, and dominate in number in the normal and abnormal samples blended practical network stream. A bottom-up agglomerative clustering process sets the maximized cluster from the others, which represents the normal sample cluster and the anomaly clusters. A minimized error principal is adopted to decide the optimized stopping criteria.A single detection model models one aspect of attacks, and is hard to cope with practical network streams with variant attack types. A multi-model detection framework is proposed to map anomaly probabilities of multiple models into a unified high-dimensional feature space, and to detect with a kernel-based SVM classifier. This framework not only enhances the detection performance, but also exhibits an impressing flexibility.
Table of contents
Summary 5-7
Abstract 7-13
1 Introduction 13-23
1.1 Introduction 13-15
1.2 intrusion detection system event collection are found in 15-16
1.2.1; 15
1.2.2 Event Analysis 15-16
1.2.3 event to response 16
1.3 intrusion detection research and development with the status quo the 16-20 1.3.1 feature matching
the rule reasoning 17
1.3.2 17
1.3.3 state transfer 17
1.3.4 data mining 17-20
1.4 The main research achievements and significance 20 - 21
1.5 This chapter arrangement
21-22 1.6 Chapter Summary 22-23
background knowledge 23-41
2.1 Introduction 23
2.2 Web Application 23-25 ??
2.2.1 Web Application Architecture 24
2.2.2 an HTTP protocol 24-25
2.3 Web attacks the 2.3.1 Web attack 25-28
the 25-27 Web attack detection difficult
2.3.2 27-28
2.4 machine learning theory 28-29
2.4.1 machine learning based 28
2.4.2 intrusion detection learning 28-29
2.5 machine learning-based detection model the 29-35 2.5.1 length model (Length)
30-31
2.5.2 character distribution model (Character Distribution ) 31-32
2.5.3 NFA model 32-33
2.5.4 enumeration type (Token Finder) 33-34
2.5 .5 enumerated attribute the Attribute Presence 34
2.5.6 order of attributes (Attribute Order) 34
2.5.7 N-Grams, 34 <br / the> 2.5.8 Methods concludes 34-35
2.6 detection model and method of evaluation 35-37
2.6.1 detection rate and false alarm rate 35 - 36
2.6.2 ROC curve 36-37
2.7 set of experimental data the 37-39 2.8 Chapter Summary
39-41
HMM-based detection model 41-55
3.1 Introduction 41-42
the 3.2 the HMM theoretical foundation 42
3.3 HMM-based grammar model 42-48
3.3.1 HMM model to establish 43
3.3.2 syntax generalization 43-46
3.2.3 algorithm 46-48
3.4 detection algorithm 48-50
3.4.1 Feature Extraction 48-49
to 3.4.2 Select Category threshold 49 - 50
3.5 experiment and discussion 50-53
3.6 Chapter Summary 53-55
DFA-based detection model 55-63 <br / 4.1 Introduction 55-56
4.2 DFA mathematical model 56
4.3 DFA detection model 56-60
4.3.1 model learning 57-59
4.3.2 Model Checking 59
4.3.3 HMM comparative analysis with DFA model 59-60
4.4 experiment and discussion 60-62
4.5 This chapter Summary 62-63
5 syntax-based detection model 63-71
5.1 Introduction 63 <br / > 5.2 syntax model 63-65
5.3 experiments and discuss the 65-69
5.4 This chapter summary 69-71
6 based clustering Unsupervised detection algorithm . 71-83
6.1 Introduction 71
6.2 algorithm assumes 71-72
6.3 from the definition 72-75 the
distance between 6.3.1 sample 73-74
6.3.2 distance between the sample with the class 74
6.3.3 class distance 74 < br /> 6.3.4 class distance 74-75
6.4 detection algorithm based on clustering the 75-77 the
6.4.1 level The clustering algorithm 75 -76
the 6.4.2 iteration Clustering algorithm 76
6.4.3 choose the best program algorithm 76-77
6.4.4 detection algorithm 77
6.5 experiments and discuss 77-81
6.6 Chapter Summary 81-83
based on the SVM detection framework of the multi-model 83-93 < br /> 7.1 Introduction 83
7.2 SVM foundation the 83-84
7.3 characteristics extraction 84-88
7.3.1 Definitions and problems 84-86
the 7.3.2 model learn 86-87
7.3.3 Feature Mapping the 87-88
7.4 the SVM classifier 88 -89
7.5 Experiments and The <br 89-91 /> 7.6 Chapter Summary 91-93
Conclusion nbsp,; 93-95
Acknowledgements 95-97
Reference 97-109
Appendix 109
Related dissertations
- The Research and Application of Low-Carbon Anomaly Detection Method Based on Hidden Markov Model
- Motion Pattern Study and Analysis from Video Monitoring Trajectory
- Study on Dendritic Cell Algorithm and Its Application to Intrusion Detection in Supervisory Control System
- Research of Intrusion Detection Method Based on Biological Immunity
- Research of Intrusion Detection Model Based on Particle Swarm Optimization Algorithm and Support Vector Machine
- Measuring Semantic Relatedness between Words
- Research of Intrusion Detection System Based on Multiple-classifiers and Application on Meteorological Network Security
- Research on Kernels for Structured Data
- Contributions to Several Issues of Network Security
- Critical network security detection technology research
- Anomaly Detection Methods for Host-Based Intrusion Detection Systems
- Research on Intrusion Detection Based on Privileged Process’ Behaviors
- The Anomaly Intrusion Detection Technology Based on System Call and IDS Extension function study
- Study on Data Mining Based Intrusion Detection Approaches and System
- The New Technology of Anomaly Intrusion Detection for Web Applications
- Research on Key Techniques in Text Mining
- Research on Kernel Machine Learning Based Anomaly Detection Algorithms in Hyperspectral Imagery
- Research on Text Clustering Problems of Kernel Function and Self-definite Category Number
- Research of Anomaly Detection Algorithms of Hyperspectral Imagery
- Estimating Turning Point of Business Cycle on the Basis of Particle Filtering Algorithm