Research on Key Technologies of Web Application Security Detection

Author
WangXin
Advisor
YangYiXian
School
Beijing University of Posts and Telecommunications
Major
Signal and Information Processing
Classification
TP393.08 Computer Network Security
Degree
Doctoral dissertation
Year
2011
Downloads
437
Citations
2

Request the full text

Abstract

Though the WEB technology has been developing over just20years, it has become one of the most popular application architectures. The security issues of WEB application system have also been the key points of information security and network security concerns. With the rapid development of WEB technology in the worldwide, the traditional WEB application security detection technology can not satisfy the current detection requirements, which can be concluded as:the existing detection technologies adopt the method of complete scanning system with so many redundancy and the harvest rate and efficiency cannot adapt the increasing scale of the WEB application; The traditional detection technologies have poor abilities to interact with WEB application automatically, and cannot interact through the complex, multi-type interfaces effectively, which causes high false negative of security detection; Existing researches on detection technologies still focus on results driven method mostly and ignore the detriments to the detected objects, leading to its limitations on detecting current WEB applications; Moreover, with the rapid development of WEB technology and the diversity of security thread, existing detection tools or platforms show some shortages in many aspects, such as in expansibility.The target of the research is to solve these problems above through the follow4aspects:Firstly, for the problem of low harvest rate and detection efficiency, WEB information crawling model is proposed based on reinforcement learning. The basic idea of the model is classifying vast amounts of WEB information according to their interface relevance and then crawling WEB information selectively in accordance with the special needs of detection, targeting the information crawling process. In this model, considering the characteristics of the relationship between interfaces and links, a "combined rewards evaluation algorithm" is designed based on Q-Learning, in which immediate rewards combined with future rewards after weighted. Immediate reward and future reward are assigned with different weight in different period (Learning period/exploiting period). While detecting, WEB information crawler based on Q-learning is trained firstly and the Q-value table is established. Then the integrated Q-value is calculated according to the learning results and the link is selective required according to the integrated Q-value. At the same time with crawling, the learning rules will be optimized. Additionally, in order to make it convenient for WEB information extracting and analyzing, a web page structuring method is presented based on cluster analysis. This method analysis the tags information, content information, area information and others in web page, and generates a structured tag tree (TAG_TREE) for each web page. Then through the method of cluster analysis, the TAG_TREE will be compressed and simplified according to the area information. Finally, a compressed TAG_TREE is generated, which makes preparation for extraction of WEB page characteristics.Secondly, in order to solve the problem of auto interact through complex and variety interfaces in WEB application security detection, a method of auto interact with web application is issued based on information feedback. In this method, all types of public interfaces are modeled according to their characteristics, and are described with a unified formal expression. Meantime, a value set is built to store the interface assigning data. In the process of interaction, the structure of value set is adjusted according to the analyzed results of feedback information, which could improve the accuracy of value assignment. According to the features of interfaces, the logic units in each interface are divided into two types, finite set logic units and infinite set logic units. The former is assigned with default values of itself, and D-BPM-BM algorithm is used to assign correct value to the latter, which could make the infinite set finite through fuzzy matching characteristics and selecting the most feature similar value set. The interactive method presented would improve the success rate of automatic interaction significantly.Thirdly, a web security vulnerability detection strategy based on attacking simulation is proposed, in which a policy of "Request Rules Selection" is adopted. The detection strategy improves the problem of "testing detrimental" existing in the result driven detection method. The policy of "Request Rules Selection" has three request rules, complete rule, common rule and safe rule. According to specified requirements, suitable request rule could be applied. Based on the detection strategy proposed, detection methods for XSS vulnerability and SQL injection vulnerability are also studied, and bypassing technology is adopted in the former and strategy of vulnerability confirming based on multi process analysis is used in latter.Finally, with the purpose of adapting to the rapid development of WEB technologies and the variety of WEB application security thread, WEB application security detection platform architecture based on "three-lays&two sides" is designed. In the architecture, detection, analysis and management are distinguished strictly, and broad interfaces ensure data exchange among modules. The platform architecture greatly improves the expansibility of detection platform.The feasibility of the models and methods is proofed through many experiments. And the improvement of effectiveness of WEB application security detection is verified by practical experiments.

Table of contents

Summary 4-6 ABSTRACT 6-9 directory 9-12 first chapter 12-22 <br / > 1.1 Background of this study importance 12-15 1.1.1 WEB application security testing technology 12-13 1.1.2 existing WEB application security testing technical 13-15 1.2 significance of this study challenge 15-18 1.2.1 WEB application features and security detection systems face 15-16 1.2.2 limitations of existing detection techniques 16-18 research with the main contribution of this paper 1.3 18-20 1.4 papers organizational structure 20-22 Chapter II review of key technologies WEB application security testing 22-35 2.1 Introduction 22 2.2 WEB application security threat classification 22-25 2.2.1 WEB application system based on the classification hierarchy 23-24 2.2.2 attack type classification based 24-25 2.3 WEB application security testing technology 25-30 2.3.1 source code analysis technology 25-26 2.3.2 penetration Testing technology 26 - 29 performance 2.3.3 source code analysis technology and penetration testing techniques compare 29-30 2.4 has detection model and related systems 30-34 2.4. a security vulnerability detection method based on an index of reptiles 30-31 2.4.2 full crawl mechanism 31 2.4.3 interface function model 31 <br / > 2.4.4 negative response extraction technology 31-32 2.4.5 correlation detection systems and tools 32 deficiencies of the prior art methods 2.4.6 32-34 2.5 Summary 34-35 Chapter grab information model based on enhanced WEB learning 35-57 3.1 Introduction 35-36 3.2 pages structural model based on cluster analysis 36-42 3.2.1 page structure model framework 36-38 3.2. 2 tag-based page structure tree representation 38-39 3.2.3 page block division method 39-42 3.3 based on reinforcement learning to crawl model information 42-47 3.3.1 reinforcement learning 42-43 3.3.2 interface-related evaluation model based on a comprehensive return 43-46 3.3. 3 RLC interfaces crawling algorithm 46-47 3.4 link feature modeling 47-50 3.4.1 linked structured 47-48 <br / > 3.4.2 link abstract representation 48-49 3.4.3 link feature extraction algorithm 49-50 3.5 experimental demonstration analysis 50-56 3.5.1 experimental scene design 50-51 3.5.2 RLC parameters and key validation indicators 51-52 3.5.3 simulation results and analysis 52-56 3.6 Summary 56-57 Chapter IV WEB application system automatically interact method 57-74 4.1 Introduction 57-58 4.2 WEB application system interface features analysis and research 58-62 4.2.1 Interface modeling 58-59 4.2.2 interface model extraction 59-62 4.3 Interface automation assignment feedback based approach 62-70 4.3.1 Interface assignment data collection model 62-64 <br / > 4.3.2 Interface assignment constructor 64-66 4.3.3 D-BPM-BM theme features a string matching algorithm 66-68 4.3.4 response information analysis and feedback 68-70 4.4 experimental demonstration analysis 70-73 4.4.1 experimental scene design 70 4.4.2 validation indicators 70-71 4.4.3 analysis 71-73 4.5 Summary 73-74 Chapter injection vulnerability detection type nbsp strategy ; 74-89 5.1 Introduction reason 74 5.2 injection type vulnerabilities arising 74-77 5.2.1 injection vulnerability types and characteristics of the criminal 75-76 5.2.2 WEB application security technologies and security vulnerabilities 76-77 5.3 vulnerability detection strategies based on injection -type attacks simulated 77-86 5.3.1 simulated attack detection based on the principle of 77-80 5.3.2 XSS vulnerability detection 80-82 5.3.3 SQL injection Vulnerability detection 82-86 5.4 experimental demonstration analysis 86-88 5.4.1 experimental environment 86-87 5.4.2 experimental data vulnerability detection performance analysis 87-88 5.5 Summary design and implementation of Chapter VI 88-89 WEB application security testing platform 89-98 6.1 introduction 89 overall 6.2 RLC-VDP platform introduces 89-92 6.2.1 design 89-90 6.2 .2 platform architecture achieve 90-92 6.3 RLC-VDP platform 92-95 6.3.1 WEB information Handling module design and implementation 92 -94 6.3.2 design and implementation of automatic interaction module design and implementation of 94 6.3.3 vulnerability detection engine 94-95 6.4 analysis of experimental demonstration 95-97 6.4.1 experimental environment 95-96 6.4.2 experimental results and analysis 96-97 6.5 Summary 97-98 Chapter VII summary and Outlook 98-100 7.1 thesis summary 98-99 7.2 the next step 99 -100 References 100-113 Thanks 113-114 Appendix 1 for a library book search site interface source code 114-116 Appendix 2 section vulnerability test results 116-118 Appendix 3 PhD hiring period , published papers 118-119 Appendix 4 to participate during PhD research 119