Design and Implementation of a Web Application Security Vulnerability Testing Tool Punks
- Author
- PengHan
- Advisor
- LiuXiYang , SiLiXiong
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 90
- Citations
- 2
Abstract
Web application security has become the focus of the network security community , how concentrated in a short period of time while the discovery of a large number of security vulnerabilities in Web applications increasingly important security experts . Studied in the context of this type of Web application security vulnerabilities and hazards and static vulnerability detection techniques and dynamic vulnerability detection techniques , a comparison and evaluation of dynamic vulnerability testing technology is best suited for Web application security vulnerability testing method . On this basis , we designed and implemented a Web application security vulnerability testing tools Punks . Punks crawling module design and implementation are based on open source web crawler software Havestman rewritten to achieve a high - performance multi-threaded crawling . To improve performance, we designed and realized a to queue buffering mechanism and multi-threaded mechanism support injection / analysis component , and the rewritten network the crawling components and it is well integrated , to achieve a high-performance Web applications security vulnerability testing tool .
Table of contents
Abstract 3-4
Abstract 4-8
first chapter 8-12
1.1 thesis work background 8-9
1.2 research status 9-11
1.3 paper structure 11-12
second chapter Web application security vulnerability testing technology 12-18
2.1 Web application security vulnerability concept 12
2.2 Web application security vulnerabilities caused harm 12
2.3 Web application security vulnerability causes 12-13
2.4 static vulnerability detection techniques and pitfalls 13-14
2.4.1 source code scanning 13
2.4.2 disassembly scan 13
2.4.3 for static vulnerability testing technology discussions 13-14
2.5 dynamic vulnerability detection techniques (fault injection technology) 14-17
2.5.1 definition of fault injection 14
2.5.2 error injection system generally constitute 14-15
2.5.3 software error injection mode 15-17
2.6 fault injection technique has the advantage 17-18
Chapter Web application security vulnerabilities 18-26
3.1 Web application, the general architecture 18
3.2 Web server security vulnerability detection 18-20
3.2.1 directory traversal attacks 18-19
3.2.2 buffer overflow vulnerability 19
3.2.3 source code disclosure vulnerability 19-20
3.3 Web application security vulnerability detection 20-23
3.3.1 authentication mechanism vulnerability 20-21
3.3.2 authorization mechanisms vulnerability 21-22
3.3.3 input validation vulnerability 22-23
the
loopholes 3.4 Web data storage and its detection 23
3.5 This chapter Summary 23-26
Chapter Web application security vulnerability testing tools Punks overall design 26-34
4.1 Punks design ideas 26-29
4.1.1 to inject data selection 26-27
The
the 4.1.2 an interactive injected with batch-type injection 27-28
4.1.3 single thread running multithreaded 28-29
4.2 Punks the overall structure of the design 29-34
4.2.1 Web crawling component functionality 30-31
4.2.2 Injection / analysis components 31
4.2.3 Injection pattern library 31
4.2.4 Other functional components 31-32
4.2.5 module interaction and collaboration 32-34
Chapter Punks crawling the detailed design of the components 34-44
5.1 open source Web crawling software HarvestMan 34-38
5.1.1 HarvestMan overall structure 35-36
the
the 5.1.2 HarvestMan between the major class object interaction 36-37
5.1.3 Analysis Conclusion 37-38
5.2 add new functionality 38-40
5.2.1 improve the ability to extract links 38
5.2.2 increase a url filter class 38-39
5.2.3 to increase an xml file generator 39
5.2.4 allows download query type and parameter types url 39-40
5.3 Punks management module and injection module integrated 40-44
5.3.1 rewrite config.xml 40-41
5.3.2 rewrite ConfigParser class 41
5.3.3 rewrite the Registry class 41
5.3.4 rewrite HarvestManLogger Class and HarvestManStateObject of class 41-44
Chapter Punks injected into the detailed design / analysis components 44-56
6.1 class interface design 44-51
6.1.1 Header class the Body class and RequestAndResponse of class 44-45
6.1.2 Proxyconnection class, a proxy class, the Connection class 45-47
6.1.3 Urlgenerator class, Requestgenerator class RequestQueue class 47-48
6.1.4 Injector class InjectorManager classes, InjectorThread the class, InjectorThreadPool class 48-51
6.1.5 Analyser class 51
6.2 injection / analysis component object interactions 51-54
6.2.1 injection analysis component of the startup process 51-52
6.2.2 design requests generated with buffer 52-53
6.2.3 design of multi-thread injection process 53
6.2.4 design agency sent and response analysis process 53-54
6.3 injection / analysis component object the overall interaction diagram design 54-56
Chapter VII Punks realization 56-72
7.1 development language and tool selection 56
7.2 of open source crawling software HavestMan rewritten 56-58
7.3 injection / analysis module to achieve 58-68
7.3.1 multithreading mechanism to achieve 58-60
7.3.2 mutually exclusive access to critical resources 60-61
7.3.3 injection the the url generation process to achieve 61-63
7.3.4 HTTP requests construct 63-65
7.3.5 HTTP proxy implementation 65-66
7.3.6 HTTP requests to intercept and save 66-67
7.3.7 SQL injection request constructed 67-68
7.4 program running and debugging 68-72
Chapter VIII further work 72-74
8.1 vulnerability description language constructs a Web security vulnerability database 72-73
8.2 distributed Web application security vulnerability testing tools D-Punks 73-74
Conclusion 74-75
Acknowledgements 75-76
the
References 76-78
Related dissertations
- Design and Implementation of Web application security vulnerability scanning tools
- Design and Implementation of Network Information Collection and Processing System
- Design and Implementation of Information Acquisition System Based on News and Forums
- Research and Implementation of Microblog Crawler
- Design and Implementation on Microblog Data Collection System
- Web Application Firewall Applied in the E-Commerce Platform
- Software Update Manager Based on Web Monitoring Technology
- The Real-time Search Engine of Social Network Service
- Research and Implementation of Personal Literature Service Platform
- Research on Vertical Search Engine of Mobile Products Information
- The Establishment of Intelligent Search Engine Platform in Enterprise
- Research and Implementation of Internet Public Opinion Information Mining
- Design and Implementation of Web Application Security Penetration Testing Tool
- Designing and Implementation of Information Collection and Classification System Based on Web Crawler
- Research and Implementation on Trust-Based Web Crawler
- The Identification Method Research and Software Development of Key Nodes and Key Links in Microblog Networking
- Web Webpage information extraction based on template web crawler technology
- Research on Defence Technique against Web Attack Based on Script Security
- Design and Implementation of Web Application Vulnerability Detection System
- Research on Intelligent Crawler Technology of Web Vulnerability Scanner