Research on Defend and Detection of WEB Scripting Attacks
- Author
- SongZuo
- Advisor
- LiJianHua
- School
- Shanghai Jiaotong University
- Major
- Communication and Information System
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 196
- Citations
- 1
Abstract
With the development of Internet technology, a variety of Web applications based on the HTTP protocol is changing the way we live. However, the various security issues in the development of Web technology also attracted a wide range of concerns. In many other Web security issues, the most important and common problem from the Web application itself. The interpreted scripting technology due to the special nature of the Web architecture and interactive features, a wide range of applications to the Web application development. Web script development, programmers negligence often give the attacker left a variety of scripting vulnerabilities, these vulnerabilities allow an attacker to take advantage of access to Web applications and the user confidential information. Therefore, how to improve immunity Web application scripting attacks, safeguard the security of Web applications become the current problems to be solved. This paper begins with the related technologies of Web applications, this paper introduces the HTTP protocol, Web functionality and Web scripting. , And make targeted analysis, to explore the core security problem facing Web applications. On this basis, by way of example analysis of several common Web scripting attack techniques, including injection attacks, cross-site scripting attacks and cross-site request forgery attacks. A core content of this article is to study Web scripting attack prevention. Firstly defense system around the core of Web applications to study and elaborate on this basis for a variety of common Web scripting attack techniques, this paper studied the prevention mechanism, and explains the relevant examples. Web scripting vulnerability detection is another major research focus of this article. In this paper, from the software testing white box and black box testing methods to detect Web application scripting vulnerabilities exist. The use of white box code review methods for detection, the paper first studies the characteristics of various Web scripting vulnerability vulnerability, and server-side scripting and client-side script code review elaborated on this basis. Black box penetration testing method for detection, the paper first analyzes the deficiencies of the existing testing tools, a Web scripting vulnerability penetration testing method model, and each model specific methods to achieve the module. The interception proxy function penetration testing to establish a middleman agency Web scripting attacks to create a theoretical basis, this article detailed study of the structure and implementation of the system in the attack, make a comprehensive evaluation of the method of attack, and given the number of defense method.
Table of contents
Abstract 5-7
ABSTRACT 7-12
first chapter 12-17
1.1 Introduction 12
1.2 Background 12-16
1.2.1 Web architecture 12-13
1.2.2 HTTP protocol model 13-15
1.2.3 Web security issues 15
1.2.4 Web application security issues 15-16
organizational structure
1.3 papers 16
1.4 This chapter Summary 16-17
WEB application technology foundation 17-27
2.1 HTTP protocol foundation 17-22
2.1.1 HTTP request and response 17-18
2.1.2 HTTP GET and POST method 18-19
2.1.3 Cookies 19-21
2.1.4 HTTPS 21-22
2.2 WEB functionality and web scripting language 22-26
2.2.1 scripting language meaning 22-23
2.2.2 client functions and scripting language 23-24
2.2.3 server-side function scripting language 24-26
2.3 This chapter Summary 26-27
the
the third chapter WEB script attack techniques 27-48
3.1 WEB Application Security Overview 27-30
3.1.1 SSL and Web application security 27
3.1.2 core security issues 27-28
3.1.3 key issues factors 28-29
3.1.4 Web scripting attacks 29-30
3.2 common injection attacks 30-34
3.2.1 to injection attacks 30
3.2.2 SQL injection attacks 30-33
3.2.3 server script injection attacks 33-34
3.3 cross-site scripting attacks 34-43
3.3.1 reflective type XSS 34-39
3.3.2 save type XSS 39-41
3.3.3 to the DOM XSS 41-43
3.4 cross-site request forgery attacks 43-46
3.4.1 CSRF example 44-45
3.4.2 CSRF and XSS 45-46
3.5 This chapter Summary 46-48
Chapter WEB scripting attack defense 48-64
4.1 Web application core defense mechanism 48-55
4.1.1 handle user access 48-50
4.1.2 handle user input 50-53
4.1.3 processing attacks 53-55
4.2 defensive common injection attacks 55-58
4.2.1 defense against SQL injection attacks 55-58
4.2.2 server of defense script injection attacks 58
4.3 defense cross-site scripting attack 58-62
4.3.1 defense the reflective type save type XSS 58-60
4.3.2 defense based on the DOM XSS 60-62
4.3.3 HttpOnly Cookies 62
4.4 defense cross-site request forgery attacks 62-63
4.5 of this chapter Summary 63-64
Chapter WEB scripting vulnerability code review 64-72
5.1 code review meaning 64-65
5.1.1 black box testing and white box testing 64
5.1.2 code review methods 64-65
5.2 common vulnerability characteristics 65-68
5.2.1 SQL injection 65-66
5.2.2 cross-site scripting 66
5.2.3 phishing redirect 66-67
5.2.4 source code annotation 67-68
5.3 client script code review 68
5.4 server script code review 68-71
5.4.1 determine the user submits the data 69
5.4.2 session interaction 69-70
5.4.3 potentially dangerous API 70-71
5.4.4 configuration scripting environment 71
5.5 This chapter Summary 71-72
Chapter penetration testing in the detection WEB scripting vulnerabilities 72-89
The meaning of the penetration testing
6.1 72
6.2 WEB scripting vulnerabilities common tools for penetration testing 72-75
6.2.1 Web browser 72-73
6.2.2 interception proxy-based integrated test suite 73-74
6.2.3 vulnerability scanner and its defects 74-75
6.3 WEB scripting vulnerabilities penetration testing methods 75-78
the 6.3.1 Web scripting vulnerabilities penetration test model 75-77
6.3.2 Web scripting vulnerabilities the penetration testing general specification 77-78
6.4 WEB scripting vulnerabilities penetration testing process to achieve 78-81
6.4.1 testing based on input processing vulnerability 78-80
6.4.2 the check session management and CSRF 80-81
6.5 based on the agent middleman WEB scripting attacks achieve 81-88
the 6.5.1 system architecture and attack processes 81-83
6.5.2 main function to achieve 83-85
6.5.3 attack evaluation and aggressive defense 85-88
6.6 Chapter Summary 88-89
Chapter VII Conclusion 89-91
7.1 main conclusions 89
7.2 Research Prospects 89-91
the
References 91-94
Acknowledgements 94-95
the
pursuing a master's degree during been published or accepted papers 95-98
The
Journal of Shanghai Jiaotong University Respondent resolution books 98
Related dissertations
- College Students' information management and analysis system
- Web Based on ArcGIS Geographic Information Service System Research and Implementation
- The Military Communication Network Security Research Based on Automated Penetration Testing
- Analysis and Design of the Security Penetration Testing Methods in Web System
- Research on Network Penetration Testing Based on Trojan Horse
- Design and Implimentation of a Training Platform for Penetrationg Testing
- Research of Penetration Test Model Base on Minimal Attack Graph
- Network Security Penetration Testing Model Based on Social Engineering
- Research on Unit Test Methods of Special Transformer Acquisition Terminal Based on Embedded Linux
- The Design and Implementation of Assignment Labor Management System for QingZhou
- Study and Pratice of Requirements Engineering Methods Towards Web Applications
- Researching the Maintenance Phase Reliability Based Weh Logs Analysis
- Designing and Implementation of Electronic Deductions System
- Sichuan Electric Power Construction Company Design and Achivement of Human Resourse Managment System
- AJAX-based Design and Realization of Enterprise Personnel Management System
- Design and Implementation of the Comprehensive Information System for Enterprise Based on ASP.NET
- The Method of Network Penetration Testing Based on Flaw Hyothesis and Colored Petri Net
- The Relationship between Penetration Modulus and Rut Modulus
- Research on Uniaxial Penetration Modulus and Dynamic Creep Modulus of the Asphalt Mixture
- Research on Testing Technolgy of Web Applications