SQL injection attack defense methods study

Author
GaoShaoJie
Advisor
HaoLin
School
Yunnan University
Major
Applied Computer Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2010
Downloads
191
Citations
3

Request the full text

Abstract

With the development of Internet, the application of dynamic Web site based on B/S model is favored by various sectors of society. However, the programmers with weak safety and immature defense technology have taken a lot of insecurity to such Web site. SQL injection attacks is one of the most common form attacks against the scripting system, and also one of the most harmful attacks. The use of SQL injection vulnerabilities, an attacker can manipulate the background database, leading sensitive information leaked, database content and structure destroyed, and even use the extensions of database to control server operating system, destroy hard disk data, and even paralyze the entire system .In the current domestic dynamic Web site, IIS + ASP + Access or SQL Server has been the common model to build a Web site, and widely used in a variety of Internet applications, the advantage is simple, easy to use, development of high efficiency, practical, would not disclose the source code and support for virtual directories etc, has been recognized the best development tools for dynamic Web site under Windows platform; disadvantage is that over-reliance on the programmer, if the server does not properly set up or inappropriate programming, will lead to greater risk of vulnerability and threat to the security of the site. In order to reduce or even eliminate SQL injection vulnerabilities, improve site and system security, urgently need for researchers to design a SQL injection attacks defense system.Firstly, this paper analyzes the web site architecture and data transfer process, as well as SQL and ASP technology, on these bases, detailed describes SQL injection attacks on principle, characteristics, processes, attack methods and defense methods; then uses ISAPI filter to design a SQL injection attacks defense system; by analyzing the advantages and disadvantages of the common anti-SQL injection system and the SQL auto-defense model, I make improvements and design a new general anti-SQL injection system.ISAPI filter is located between the Web server and the client, it can filter the data between the server and the client. Therefore, by configuring the ISAPI filter to filter special characters and keywords used in SQL injection attacks, and limit some IP addresses to access web pages, protect .mdb files from downloading, prevent from storm database attacks, so as to achieve the effect of defense. ISAPI filter is a dynamic library file, just configure the server side and simply load the library files, no need to change the ASP page document.On the network, the popular common SQL injection defense system is ASP page document, before accessing server database will call this file. Because of its over-emphasis on security, it has a certain false alarm rate. So, in the paper, the author improved the Common SQL injection defense system. About Common SQL injection defense system, author narrowed the scope of SQL filter keywords and added names used in Web site database to the filter keywords, converted the special symbols in the data submitted by a user, for malicious database attackers, would stop their IP addresses from accessing Web site when the number of attacks was more than 3 times, as well, added functions of sending E-mail and system sounds alarm in the system, which not only reduced false alarm rate but also enabled administrators to detect attacks in time.

Table of contents

Abstract 3-5 Abstract 5-9 first chapter 9-14 1.1 Background topics 9-11 1.2 Current research status quo 11-12 1.3 research content and chapters arrangements 12-14 The chapter SQL injection attack techniques theory 14-33 2.1 Website Technical Overview 14-17 2.1.1 site architecture 14-15 2.1.2 through the process of the website to access the database 15 2.1.3 Structured Query Language 15-16 2.1.4 ASP Overview 16-17 2.2 SQL injection attacks Overview 17-31 2.2.1 SQL Injection attacks target 18-19 2.2.2 SQL Injection Attacks principle 19-20 2.2.3 SQL injection attacks Features 20 2.2.4 SQL injection attacks processes 20-21 2.2.5 SQL injection attack methods 21-31 2.3 storms library vulnerability to attack 31 2.4 This chapter Summary 31-33 Chapter ISAPI Filter technology-based SQL injection attack defense research 33-47 3.1 ISAPI Filter Technology Overview 33-34 3.2 System Requirements Analysis 34 3.3 system design goals 34-35 3.4 system environment 35-36 3.5 system structure and function 36-37 3.6 system processes 37-39 3.7 system 39-43 3.8 system test 43-46 3.8.1 to configure IIS server and setting.ini of system configuration files 43-44 3.8.2 the simulated attack Testing 44-46 3.9 This chapter Summary 46-47 the fourth SQL generic anti-injection system 47-60 4.1 and solve 47-51 4.1.1 SQL general anti-injection systems 47-49 the 4.1.2 SQL generic anti-injection system problems to solve 49-50 4.1.3 the SQL automatically defense model problem and solve 50-51 4.2 Design and Implementation 51-57 4.2.1 design goals 51 4.2.2 improved the structure and working process 51-53 4.2.3 function module division and achieve 53-57 4.3 simulated attack test 57-59 4.4 This chapter Summary 59-60 Chapter V Conclusion 60-62 the References 62-64 studying for a master's degree during the completion of the thesis 64-65 Acknowledgements 65

Related dissertations

  1. Design and implementation of B/S model in Higher Vocational Employment Information System Based on
    ShaDi ·Heilongjiang University ·2013 ·Master's thesis
  2. Identity Authentication System Based on ISAPI
    XieKunXuan ·Wuhan University of Technology ·2012 ·Master's thesis
  3. The Design and Implement of Hulunbeier Dongshan International Airport Card Production System
    WuLan ·Jilin University ·2012 ·Master's thesis
  4. Development and Application of the Branch Office Automation System Based on B/S Structure
    GaoZuo ·Jilin University ·2013 ·Master's thesis
  5. Research on Decision Tree Based Tickets Information Mining and Design and Implementation of Air Tickets Reservation System
    LiuZuo ·Jilin University ·2012 ·Master's thesis
  6. The Design and Development of Online Selling Books System
    DiYuZhu ·Jilin University ·2012 ·Master's thesis
  7. The Design and Implementation of Ordering Service System for Weifang Vocational College
    XuChunXia ·Shandong University ·2012 ·Master's thesis
  8. Research on Key Techniques of Radio Resource Allocation in Relay-enhanced Cellular Networks
  9. The Design and Implementation of Shaoshan Meteorological Website
  10. The development of government website based on ASP
  11. Design and Implementation of the Web Security System
    MiAng ·Central South University ·2013 ·Master's thesis
  12. Research and Implementation of Web Application Firewall Based on Feature Matching
    FangShuang ·Anhui University ·2014 ·Master's thesis
  13. The Design and Implementation of Network Courseware of VFP Database Application
    LiangLi ·Chang'an University ·2013 ·Master's thesis
  14. The Design and Realization of Middle School Educational Administration System Based on Data Mining
    YangHua ·Yanshan University ·2012 ·Master's thesis
  15. Design and Implementation of Student Archives Management System in Higher Vocational Colleges
  16. Design and Implementation of Civil Affairs Departments’ Work System at the Grass-roots Level on the Base of the ASP
  17. The Design and Implementation of the Hlgher Vocational College Graduates Employment Information System Based on B/S Structure
    ZhangJianHua ·Ocean University of China ·2013 ·Master's thesis
  18. The Design and Realization of Anhui Vocational and Technical College’s Logistical Management System
  19. The Information Management System of Moral Education in Secondary Vocational Schools
  20. Design and Implementation of Office Automation Information System Based on ASP