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 条
  • [21] 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
  • [22] 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
  • [23] A Semantic Learning-Based SQL Injection Attack Detection Technology
    Lu, Dongzhe
    Fei, Jinlong
    Liu, Long
    ELECTRONICS, 2023, 12 (06)
  • [24] 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
  • [25] LsSQLIDP : Literature survey on SQL injection detection and prevention techniques
    Varshney, Karishma
    Ujjwal, R. L.
    JOURNAL OF STATISTICS & MANAGEMENT SYSTEMS, 2019, 22 (02) : 257 - 269
  • [26] 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
  • [27] SQL Filtering: An Effective Technique to Prevent SQL Injection Attack
    Dubey, Rhythm
    Gupta, Himanshu
    2016 5TH INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (TRENDS AND FUTURE DIRECTIONS) (ICRITO), 2016, : 312 - 317
  • [28] SQL Injection Prevention System
    Voitovych, O. P.
    Yuvkovetskyi, O. S.
    Kupershtein, L. M.
    2016 International Conference Radio Electronics & Info Communications (UkrMiCo), 2016,
  • [29] SQL INJECTION - PREVENTION AND DEFENSE
    Ljubicic, Nikolina
    Jaksic, Danijela
    Poscic, Patrizia
    ZBORNIK VELEUCILISTA U RIJECI-JOURNAL OF THE POLYTECHNICS OF RIJEKA, 2020, 8 (01): : 313 - 330
  • [30] Enhancing the Performance of SQL Injection Attack Detection through Probabilistic Neural Networks
    Alarfaj, Fawaz Khaled
    Khan, Nayeem Ahmad
    APPLIED SCIENCES-BASEL, 2023, 13 (07):