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] AE-Net: Novel Autoencoder-Based Deep Features for SQL Injection Attack Detection
    Thalji, Nisrean
    Raza, Ali
    Islam, Mohammad Shariful
    Samee, Nagwan Abdel
    Jamjoom, Mona M.
    IEEE ACCESS, 2023, 11 : 135507 - 135516
  • [32] Neural network based single index evaluation for SQL injection attack detection in health care data
    Nagabhooshanam N.
    ganapathy N.B.S.
    Ravindra Murthy C.
    Mohammed Saleh A.A.
    CosioBorda R.F.
    Measurement: Sensors, 2023, 27
  • [33] A Countermeasure to SQL Injection Attack for Cloud Environment
    Wu, Tsu-Yang
    Chen, Chien-Ming
    Sun, Xiuyang
    Liu, Shuai
    Lin, Jerry Chun-Wei
    WIRELESS PERSONAL COMMUNICATIONS, 2017, 96 (04) : 5279 - 5293
  • [34] A Countermeasure to SQL Injection Attack for Cloud Environment
    Tsu-Yang Wu
    Chien-Ming Chen
    Xiuyang Sun
    Shuai Liu
    Jerry Chun-Wei Lin
    Wireless Personal Communications, 2017, 96 : 5279 - 5293
  • [35] SQL injection attack and guard technical research
    Xue Ping-Chen
    CEIS 2011, 2011, 15
  • [36] Research on SQL Injection Vulnerability Attack model
    Su, Guanyu
    Wang, Fang
    Li, Qi
    PROCEEDINGS OF 2018 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2018, : 217 - 221
  • [37] SQL injection attack detection:Profiling of web application parameter using the sequence pairwise alignment
    Park, Jae-Chul
    Noh, Bong-Nam
    INFORMATION SECURITY APPLICATIONS, 2006, 4298 : 74 - +
  • [38] SQL Injection Detection Based on Deep Belief Network
    Zhang, Huafeng
    Zhao, Bo
    Yuan, Hui
    Zhao, Jinxiong
    Yan, Xiaobin
    Li, Fangjun
    PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND APPLICATION ENGINEERING (CSAE2019), 2019,
  • [39] Detection of SQL Injection Attacks: A Machine Learning Approach
    Hasan, Musaab
    Balbahaith, Zayed
    Tarique, Mohammed
    2019 INTERNATIONAL CONFERENCE ON ELECTRICAL AND COMPUTING TECHNOLOGIES AND APPLICATIONS (ICECTA), 2019,
  • [40] SQL Injection Detection Using Machine Learning Techniques
    Hosam, Eman
    Hosny, Hagar
    Ashraf, Walaa
    Kaseb, Ahmed S.
    2021 8TH INTERNATIONAL CONFERENCE ON SOFT COMPUTING & MACHINE INTELLIGENCE (ISCMI 2021), 2021, : 15 - 20