SQL injection attack: Detection, prioritization & prevention

被引:1
|
作者
Paul, Alan [1 ]
Sharma, Vishal [1 ]
Olukoya, Oluwafemi [1 ]
机构
[1] Queens Univ Belfast, Sch Elect Elect Engn & Comp Sci, Belfast, North Ireland
关键词
SQL injection; Web application security; HTTP requests; NetFlow; Network security; Machine learning; Threat intelligence; Vulnerability prioritization; Database attack; Deep learning; Risk modelling; CNN-LSTM MODEL;
D O I
10.1016/j.jisa.2024.103871
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Web applications have become central in the digital landscape, providing users instant access to information and allowing businesses to expand their reach. Injection attacks, such as SQL injection (SQLi), are prominent attacks on web applications, given that most web applications integrate a database system. While there have been solutions proposed in the literature for SQLi attack detection using learning-based frameworks, the problem is often formulated as a binary, single-attack vector problem without considering the prioritization and prevention component of the attack. In this work, we propose a holistic solution, SQLR34P3R, that formulates the SQLi attack as a multi-class, multi-attack vector, prioritization, and prevention problem. For attack detection and classification, we gathered 457,233 samples of benign and malicious network traffic, as well as 70,023 samples that had SQLi and benign payloads. After evaluating several machine-learning- based algorithms, the hybrid CNN-LSTM models achieve an average F1-Score of 97% in web and network traffic filtering. Furthermore, by using CVEs of SQLi vulnerabilities, SQLR34P3R incorporates a novel risk analysis approach which reduces additional effort while maintaining reasonable coverage to assist businesses in allocating resources effectively by focusing on patching vulnerabilities with high exploitability. We also present an in-the-wild evaluation of the proposed solution by integrating SQLR34P3R into the pipeline of known vulnerable web applications such as Damn Vulnerable Web Application (DVWA) and Vulnado and via network traffic captured using Wireshark from SQLi DNS exfiltration conducted with SQLMap for real-time detection. Finally, we provide a comparative analysis with state-of-the-art SQLi attack detection and risk ratings solutions.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] Detection and Prevention of SQL Injection Attacks on Web Applications
    Fouad, Yasser
    Elshazly, Khaled
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2013, 13 (08): : 1 - 7
  • [32] A Survey on SQL Injection Attacks, Detection and Prevention Techniques
    Kumar, Puspendra
    Pateriya, R. K.
    2012 THIRD INTERNATIONAL CONFERENCE ON COMPUTING COMMUNICATION & NETWORKING TECHNOLOGIES (ICCCNT), 2012,
  • [33] A novel method for SQL injection attack detection based on removing SQL query attribute values
    Lee, Inyong
    Jeong, Soonki
    Yeo, Sangsoo
    Moon, Jongsub
    MATHEMATICAL AND COMPUTER MODELLING, 2012, 55 (1-2) : 58 - 68
  • [34] Injection Attack Detection using the Removal of SQL Query Attribute Values
    Kim, Jeom Goo
    INFORMATION-AN INTERNATIONAL INTERDISCIPLINARY JOURNAL, 2011, 14 (11): : 3831 - 3841
  • [35] On Predictive Errors of SQL Injection Attack Detection by the Feature of the Single Character
    Matsuda, Takeshi
    Koizumi, Daiki
    Sonoda, Michio
    Hirasawa, Shigeichi
    2011 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2011, : 1722 - 1727
  • [36] SQL Injection Attack Detection Using Fingerprints and Pattern Matching Technique
    Appiah, Benjamin
    Opoku-Mensah, Eugene
    Qin, Zhiguang
    PROCEEDINGS OF 2017 8TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS 2017), 2017, : 583 - 587
  • [37] A Semantic Learning-Based SQL Injection Attack Detection Technology
    Lu, Dongzhe
    Fei, Jinlong
    Liu, Long
    ELECTRONICS, 2023, 12 (06)
  • [38] Detection and Prevention of SQL Injection Attacks Using Semantic Equivalence
    Narayanan, Sandeep Nair
    Pais, Alwyn Roshan
    Mohandas, Radhesh
    COMPUTER NETWORKS AND INTELLIGENT COMPUTING, 2011, 157 : 103 - 112
  • [39] A Novel Intrusion Detection and Prevention Model for SQL Injection Attacks
    Ali, Malik Rizwan
    Malik, Muhammad Sheraz Arshad
    Hameed, Noureen
    Tahir, Faizan
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2019, 19 (08): : 91 - 97
  • [40] A systematic review of detection and prevention techniques of SQL injection attacks
    Nasereddin, Mohammed
    ALKhamaiseh, Ashaar
    Qasaimeh, Malik
    Al-Qassas, Raad
    INFORMATION SECURITY JOURNAL, 2023, 32 (04): : 252 - 265