Research on Client-side Detection Method for Cross-Site Scripting Vulnerability and Attack

Author
GongYanLei
Advisor
SongMingQiu
School
Dalian University of Technology
Major
E-commerce and logistics management
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2011
Downloads
121
Citations
0

Request the full text

Abstract

In recent years, WEB vulnerability has become one of the Internet's most serious security risks. Caused by the vulnerability WEB injection attacks are numerous cases, repeated. Cross-site scripting attacks it is this type of injection attacks affect the widest range, the influence of one of the deepest attack. Since 2006, cross-site scripting vulnerability has been ranked first in the WEB loopholes. Therefore, the detection and prevention of the design and development of an effective cross-site scripting attacks are particularly important. In this paper, on the basis of in-depth study of the characteristics of cross-site scripting attacks, and propose a new sequence-based matching cross-site scripting attack detection method, the method can effectively identify the parameter string variant form of server-side filtering function and discover missed detections. Part of the storage type for the algorithm can not detect cross-site scripting attacks, this paper proposes a detection method based on Fuzzing test. Finally, integration of design tools based on the two detection methods as a cross-site scripting vulnerabilities and attack detection system. The experiments show that the system can effectively detect out the the WEB network in the vast majority of cross-site scripting vulnerabilities and attacks. The main work of this paper include the following four parts: the first part of the analysis of the characteristics of cross-site scripting attacks, in-depth study of the problems of domestic and international cross-site scripting attack detection method as well as the current detection method and the future trends. The second and third part introduces this paper, the design of cross-site scripting attacks and vulnerability detection methods. The second part, a detailed description based on sequence match cross-site scripting attack detection methods, including HTTP request parameters match HTTP response the untrusted string information extraction and between the two parts. The method first user-supplied parameters abstract the form of a finite automaton to identify the sequence of the parameter string combination, then HTTP response untrusted string information and finite automata sequences match, looking for those that appear in the user input the untrusted string, request and server response check these strings malicious keywords and malicious URLs. The third part, the specific cross-site scripting vulnerability detection method based on Fuzzing test. First, by analyzing the characteristics of the site pages link, the structure is able to crawl the entire website page and efficient reptiles, the injection point of the page and then accurately identify and construct a malicious string injection test, and finally by identifying the response to mining cross-site scripting hole. Part IV describes the design and implementation of cross-site scripting detection system.

Table of contents

Abstract 4-5 Abstract 5-9 1 Introduction 9-22 1.1 Background 1.2 cross-site scripting attacks Overview 9-14 1.2.1 Cross Site Scripting attack classification 9-11 1.2.2 cross-site scripting attacks occur and the popular reasons 11-12 1.2.3 cross-site scripting attacks, bypass the form of 12-14 1.3 research status 14-21 1.3.1 cross-site scripting attack detection method classification 15-19 1.3.2 problems and development direction of the current detection methods exist 19-21 1.4 thesis 21-22 2 cross-site scripting attack detection method based on sequence matching 22-38 2.1 The proposed detection method based on sequence matching 22-24 2.1.1 string matching method exists 22-24 the 2.1.2 parameter string representation of the sequence 24 2.2 overall design of the detection method based on sequence matching 24-26 2.3 HTTP request parameters and untrusted string extraction 26-28 2.3.1 HTTP request parameter extraction 26 2.3.2 untrusted string extraction 26-28 2.3.3 string decoding 28 2.4 sequence matching algorithm 28-30 2.4.1 pretreatment 28-29 2.4.2 parameters and untrusted string matching 29-30 2.4.3 threshold select 30 2.5 utilization the compression tree algorithm improvements on the above algorithm 30-34 2.5.1 compressed suffix tree construction 31-32 2.5.2 Finite Automata match in the suffix tree 32-34 2.6 algorithm performance analysis 34 2.7 to evaluate 34-37 2.7.1 on qualitative analysis detection methods based on sequence matching 34-35 2.7.2 Experimental results and analysis 35-37 2.8 This chapter Summary 37-38 3 cross-site scripting vulnerability detection method based on Fuzzing test 38-55 3.1 up to the path of thinking 39-40 3.2 robustness reptiles establish 40-45 3.3 vulnerability injection point to find 45 3.4 generation of malicious string and inject 45-49 3.5 intended behavior detection and analysis 49-51 3.6 method of evaluation 51-54 3.6.1 instance analysis 51 3.6.2 Comparison 51-54 3.7 This chapter Summary 54-55 4 cross-site scripting vulnerabilities and attack detection system design and implementation 55-59 4.1 XSS detection system to achieve foundation 55-56 4.1.1 proxy server technology to achieve 55-56 4.1.2 Web crawler technology to achieve 56 4.2 the XSS detection system's design and realization 56-58 4.2.1 system overall structure 56-58 4.2.2 system running mechanism 58 4.3 This chapter Summary 58-59 concluded 59-60 the References 60-64 during the master's degree Post academic situation 64-65 Acknowledgements 65-66

Related dissertations

  1. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  2. Research and Implementation of a Binary Program Vulnerabilities Mining Technology
  3. Research and Implementation of Vulnerability Detection System Based on Symbolic Execution
    JiangShuGuang ·Hunan University ·2012 ·Master's thesis
  4. And the system based on the PDF file format vulnerability mining
  5. A Scene Matching Approach Based on Edge Signal between IR and Visible Images
  6. Design and Implementation of Code Clone Analysis System Based on Sequence Matching
    XinTianQing ·Dalian University of Technology ·2009 ·Master's thesis
  7. The Research and Implementation of the Attacking and Defencing Technology on the Database System
    ChenLingYu ·Jiangnan University ·2008 ·Master's thesis
  8. Cross-site scripting attacks and defense technology research
    QiuYongJie ·Beijing Jiaotong University ·2010 ·Master's thesis
  9. Research on Vulnerability Discovery of Network Service Software Based on Fuzzing
    HuWenTao ·Shanghai Jiaotong University ·2009 ·Master's thesis
  10. Cross-site scripting attacks against Ajax vulnerability detection tools Punks Ⅱ Design and Implementation
  11. Software the fuzzy test technology research and application
  12. Web Application Security Testing Technique Based on Fuzzying and Implementation of the Tool
    DuJuan ·East China Normal University ·2011 ·Master's thesis
  13. The Research of XSS Detection and Defense Based Server-Client Cooperation
    XuSiYuan ·Nanjing University ·2011 ·Master's thesis
  14. Genetic algorithm - based fuzzy test data generation
    LiQiong ·Qingdao University ·2010 ·Master's thesis
  15. The Design and Implemention of Fuzzing Tool
  16. Buffer overflow vulnerability digging and exploit Methods
  17. Subsequence Matching Based Compressed XML Query
    GaoHongYuan ·Harbin Institute of Technology ·2009 ·Master's thesis
  18. Research on Software Security Vulnerability Discovery Based on Fuzzing
  19. Networking Protocol Fuzzing of Weight-based Measurement
    HuChengXiang ·Shandong University ·2011 ·Master's thesis
  20. Study of Fuzzing for Implementation of Stateful Network Protocol Based on Dynamic Taint Analysis