The Research of XSS Detection and Defense Based Hash Tree Matching Model

Author
CaoWen
Advisor
GuoFan
School
Jiangxi Normal University
Major
Computer Science and Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2013
Downloads
15
Citations
0

Request the full text

Abstract

With the development of Web2.0technology, it can provide the interactiveexperience for Internet users, Web application developer largely allows the user toinput the text of embed label that is just in order to increase the configurationflexibility and user experience, but this also provide an opportunity for an attacker toinsert cross-site scripting (XSS) attacks malicious script, Web services developmentlanguage inconsistency makes it impossible to have a single guard against XSSmethods deployed in different language development platform, such as PHP, JSP,CGI, PEAL. Based on the complex diversity of the browser, the server and the clientside may resolve inconsistencies to semantic behavior of the same statement in thesame document, and a variety of confusing methods means variability of the contentXSS attacks, however client browser script interpreter engine itself can’t distinguishthe attack script, it bring difficulty to defense of XSS attacks at some extent.Therefore,how to rapidly detect XSS attack, it is important to set up the effective security XSSdefense mechanism.At present, the cross-site scripting attack prevention strategies can be dividedinto three categories: pure server prevention, pure client prevention, server and clientcollaboration prevention, which involve input and output filtering, data flow tracking,permeability etc. Related XSS prevention methods is flawed in efficiency orperformance, such as deployment of complex, slow response time, false negative rateand false positive rate, This paper proposes a fast detection model based on hash treefeature library for the shortage of traditional prevention methods, which involves thehash tree algorithm, long integers of remainder algorithm, taint tracking markeralgorithm, similarity feature vectors of the DFA algorithm, it contains stain trackingmarker algorithm for the untrusted data flow trace flag, constructing the similarity offeature vector of the untrusted data using the finite state machine model DFA andusing the hash tree improved adaptive hash tree construction algorithm of the featurelibrary for fast matching detection. The implementation of the system architecture hasthe characteristics of simple, fast and efficient deployment of detection. The architecture come across the Web language development platform withoutintegration server script language configuration, and as server Web agent moduledeployment is also quick and simple without customer-side browser support. Thispaper finally describes the architecture specific implementation process, and analyzesthe experimental detection efficiency and performance problems, the results show thatthe model can effectively prevention related types cross-site scripting attack.

Table of contents

Abstract 3-4 Abstract 4-6 catalog 6-8 Chapter 1 Introduction 8-12 <br / > 1.1 Background and Significance 8-9 1.2 current research 9-10 1.3 the main work 10 1.4 article organizational structure Summary of Related 10-12 chapter 12-20 2.1 Web application works 12-13 2.2 cross Site scripting attacks foundation 13-19 2.2.1 uniform resource Locator (URL) 13 2.2.2 HTTP protocol 13-15 2.2 .3 client script 15-17 2.2.4 DOM 17-18 2.2.5 browser works 18-19 2.3 Summary 19-20 Chapter III cross-site scripting attack and defense 20-40 3.1 XSS Overview 20-22 3.2 cross-site scripting attack scenario 22-28 3.2.1 The reflective XSS attacks 22-24 3.2.2 storage type XSS attack 24-26 3.2.3 DOM_Based type of XSS attack 26-28 3.3 cross-site scripting attacks mining 28-34 3.3.1 URL parameter mining 28- 29 3.3.2 HTTP request mining 29-30 3.3.3 XSS code injection mining 30-32 3.3.4 confuse strategy digging 32-34 3.4 cross-site scripting attack prevention 34-39 3.4.1 client defense 34-36 3.4.2 server-side defense 36-39 3.4.3 client and server-side collaboration defense 39 3.5 Summary 39-40 Chapter IV architecture research to prevent XSS attacks 40-50 4.1 architecture processes 40-41 4.2 hash tree 41-43 4.2.1 hash tree theoretical foundation 41-42 4.2.2 improved hash tree algorithm described 42-43 4.3 feature coding 43-46 4.3.1 script standardization 43-45 4.3.2 hash coding 45-46 4.4 similarity vector construct 46-48 4.5 stain marks 48-49 4.6 Chapter Summary 49-50 Chapter prevent XSS attacks architecture for 50-58 5.1 experimental Target 50 5.2 experimental environment 50-52 5.3 detection framework to achieve 52-53 5.4 results and analysis 53-57 5.4. a feasibility analysis 53-56 5.4.2 performance Analysis 56 5.4.3 security analysis 56-57 5.5 to be improved problem 57 5.6 chapter Summary 57-58 summary and Outlook 58-60 references 60-63 <br / > Thanks 63-64 papers published during the reading ( a ) and research situation 64

Related dissertations

  1. Research and Design of Intelligent Prosthetic Knee Ankle Coordinated Control System
    BaiJian ·Hebei University of Technology ·2013 ·Master's thesis
  2. Research of Hart Multiplexer and Its Software Design
  3. Design and Implementation of the Web Security System
    MiAng ·Central South University ·2013 ·Master's thesis
  4. Research and Application of Key Technology for Multimedia Player Based on Imbedded Linux System
  5. Research and Implementation of Intelligent Decision-making System in Business Simulation Game
  6. Wireless Sensor Network Based Active Logistics Status Tracking System
  7. Study on indoor localization method based on radio frequency fingerprint
  8. Study and Research of HDCP System Based on FSM
    YuHe ·Wuhan University of Technology ·2013 ·Master's thesis
  9. Motion Pattern Recognition and Control of Active Knee Prosthesis
    GengYanLi ·Hebei University of Technology ·2012 ·Doctoral dissertation
  10. The Research and Realization on a New Method of Embedded PLC Control System Fault Diagnosis
  11. Real-time Simulation System Development and Motion Characteristics Analysis of Bipedal Passive Dynamic Walking Robot
    JiangHong ·Jilin University ·2012 ·Master's thesis
  12. The Control System Designning of Wheel Mobile Robot
  13. Design and Implementation of Web Security Vulnerabilities Detection System Based on Static Source Code Analysis
  14. Research on Intelligent Crawler Technology of Web Vulnerability Scanner
  15. The Research of Multi-Pattern Matching Algorithms Based on Regular Expressions
  16. Insecure Javascript Detection and Analysis Based on Browser-Enforced Embedded Rules
    ZengPing ·Hunan University ·2011 ·Master's thesis
  17. Detection and Prevention of Malicious Websites
    FengKai ·Hunan University ·2011 ·Master's thesis
  18. The Research and Implementation of Web Security Threat Detection Tech-Nology in Browser
  19. Research and Implementation of Vulnerability Detection System Based on Symbolic Execution
    JiangShuGuang ·Hunan University ·2012 ·Master's thesis
  20. Research and Implementation of Safety and Authority Management Based on Web