IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v11y2023i15p3286-d1203001.html
   My bibliography  Save this article

Deep Learning Architecture for Detecting SQL Injection Attacks Based on RNN Autoencoder Model

Author

Listed:
  • Maha Alghawazi

    (Information Systems Department, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 80200, Saudi Arabia)

  • Daniyal Alghazzawi

    (Information Systems Department, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 80200, Saudi Arabia)

  • Suaad Alarifi

    (Information Systems Department, Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah 80200, Saudi Arabia)

Abstract

SQL injection attacks are one of the most common types of attacks on Web applications. These attacks exploit vulnerabilities in an application’s database access mechanisms, allowing attackers to execute unauthorized SQL queries. In this study, we propose an architecture for detecting SQL injection attacks using a recurrent neural network autoencoder. The proposed architecture was trained on a publicly available dataset of SQL injection attacks. Then, it was compared with several other machine learning models, including ANN, CNN, decision tree, naive Bayes, SVM, random forest, and logistic regression models. The experimental results showed that the proposed approach achieved an accuracy of 94% and an F1-score of 92%, which demonstrate its effectiveness in detecting QL injection attacks with high accuracy in comparison to the other models covered in the study.

Suggested Citation

  • Maha Alghawazi & Daniyal Alghazzawi & Suaad Alarifi, 2023. "Deep Learning Architecture for Detecting SQL Injection Attacks Based on RNN Autoencoder Model," Mathematics, MDPI, vol. 11(15), pages 1-12, July.
  • Handle: RePEc:gam:jmathe:v:11:y:2023:i:15:p:3286-:d:1203001
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/11/15/3286/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/11/15/3286/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:11:y:2023:i:15:p:3286-:d:1203001. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.