The Implementation of a Multi-function SQL Injection Detection System and Research on Prevention
- Author
- LiuHeYe
- Advisor
- ZhangJunWen
- School
- Beijing Jiaotong University
- Major
- Computer Science and Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 385
- Citations
- 8
Abstract
With an increasingly extensive application of the network, people attach more and more importance to network security. At the same time, changes take place in the targets and methods of network attacks. At present, attacks aimed at Web applications have become a new focus of network security attack and defense. SQL injection has become a serious security risk among all the attacks against Web application. The SQL injection attack allows an attacker to access the underlying database unrestrictedly, and furthermore, retrieves the confidential information of the corporation and the network user, such as bank account number, transaction data, etc. SQL injection can cause great distress and economic losses to enterprises and Internet users, so there is an urgent requirement for comprehensive defense to SQL injection attacks. For this reason, this paper conducts an in-depth research on SQL injection and defense.Firstly, the paper elaborates the background of this subject, status and main research contents. Secondly, it explores the technical background and theory of the SQL injection attacks. The former includes rudimental knowledge about website, the method, motive, categorization and procedure of SQL injection attack, which helps to realize a multi-function SQL injection detection system. Finally, the paper puts forward a novel prevention method based on parse tree originating from the existing defense method.In this paper, it designs and realizes a multi-function SQL injection detection system, which supports both manual and automatic SQL injection. Automatic SQL injection increases the speed of SQL injection, and manual SQL injection makes SQL injection more flexible. The SQL injection attack in this system can be achieved in three ways: general injection, violence guess solution and dictionary guess solution.Meanwhile, the paper gives a novel prevention method based on parse-tree for dynamic detection of SQL injection attacks, which improves the accuracy of detection of SQL injection. This design idea of API function lightens the burden on programmer who composes filtration code, and avoid the incomplete filtration might be brought about by them.
Table of contents
Acknowledgements 5-6
Chinese Abstract 6-7
ABSTRACT 7-11
1 Introduction 11-19
1.1 This paper studies the background 11-13
1.2 research status 13-16
1.2.1 domestic research 13-14
1.2.2 China Research 14-16
1.3 main contents 16-17
1.4 structure of the paper and chapter arrangement 17-19
2 SQL injection attacks technical background 19-31
2.1 Website Overview 19-21
2.1.1 website basic architecture 19-20
2.1.2 Web application system structure 20-21
2.1.3 visit backend database 21
2.2 SQL Injection Attacks foundation 21-30
2.2.1 SQL injection attacks ways 22
2.2.2 SQL injection attacks motivation 22-24
2.2.3 SQL injection attack classification 24-26
2.2.4 SQL injection attacks processes 26-28
2.2.5 SQL injection principle 28-30
2.3 This chapter Summary 30-31
the 3 multifunction SQL injection detection system design 31-43
3.1 System Requirements Analysis 31-34
3.1.1 System Requirements 31-32
3.1.2 system design goals 32-33
3.1.3 system design principles 33-34
3.2 system development environment 34-35
3.3 system module design 35-38
3.3.1 system module design principle 35-36
the 3.3.2 system function module and its sub-modules 36-38
3.4 system process design 38-41
3.4.1 system overall process 38-39
3.4.2 Automatic injection process 39-40
3.4.3 manually injection process 40-41
3.5 This chapter Summary 41-43
4 multi-function SQL injection detection system to achieve 43-55
4.1 system parameter table 43-45
4.1.1 set up a proxy server module parameter table 43-44
the 4.1.2 website scanning module parameter table 44
4.1.3 Automatic injection module parameter table 44-45
4.1.4 manual injection module parameter table 45
4.2 system functions 45-52
4.2.1 set up a proxy server main function 46-47
The main function of the
4.2.2 website scanning 47-48
4.2.3 main function automatically injected 48-51
4.2.4 manually into the main function 51-52
the 4.3 system operation process 52-54
4.4 This chapter Summary 54-55
5 SQL injection prevention technology research and improved 55-64
5.1 Coding prevention mechanism Profile 55-58
5.1.1 coding prevention mechanism Profile 55-56
5.1.2 stored procedures 56
5.1.3 Detection / defensive coding to prevent model 56-58
5.2 vulnerability identification mechanism 58
5.3 defense mechanism 58-61
5.3.1 defense mechanism Profile 58-59
5.3.2 defense mechanism 59-61
5.4 coding to prevent new method based on the analysis of the tree 61-63
5.4.1 Introduction 61
5.4.2 principle introduced ─ ─ parse tree (Parse Tree) 61-62
5.4.3 to evaluate 62-63
5.5 This chapter Summary 63-64
6 Conclusion 64-66
6.1 Full-text work summarizes 64-65
6.2 further work outlook 65-66
the
References 66-68
of resume The 68-70
the
Dissertation datasets 70
Related dissertations
- Analysis and Research of Security of Campus Network Server
- Design and Implementation of A Network Access Monitoring System for User
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Design and Application of Higher Vocational Colleges and Universities Campus Network
- Campus intelligent network construction
- Study of Fujian Business School Campus Network Based on Engineering Design
- Research and Design of University Network Construction
- The Design of Fiber Ethernet Intelligent Splitter Based on FPGA
- Research and Implemention of IP Packet Reinstall System Based on VPN
- Research on Intrusion Detection Based on Clustering Algorithm
- Study the Technology of Extraction Situation Factor for Network Security Situation Awareness
- The Electronic Reading Room ARP Virus Detection and Localization System Research
- Study and Deployment on Communication Security and Optimizations for VPN Networks
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Network Security Risk Computation Approach Based on Attack Graphs
- University Network Security Problems and Countermeasures
- Research and Application of Network Monitor
- The Network Inside and Outside Isolation of Guizhou ATC System Design and Implementation
- Honeypot Technology in Network Security Design and Application
- Based on the Firewall and Intrusion Detection Linkage System Research and Implementation