journal article·2023Open access

Injections Attacks Efficient and Secure Techniques Based on Bidirectional Long Short Time Memory Model

Abdulgbar A. R. Farea, Gehad Abdullah Amran, Ebraheem Farea, Amerah Alabrah, Ahmed A. Abdulraheem, Muhammad Mursil, Mohammed A. A. Al-qaness

Computers, Materials & Continua· Volume 76· Issue 3

Abstract

E-commerce, online ticketing, online banking, and other web-based applications that handle sensitive data, such as passwords, payment information, and financial information, are widely used. Various web developers may have varying levels of understanding when it comes to securing an online application. Structured Query language SQL injection and cross-site scripting are the two vulnerabilities defined by the Open Web Application Security Project (OWASP) for its 2017 Top Ten List Cross Site Scripting (XSS). An attacker can exploit these two flaws and launch malicious web-based actions as a result of these flaws. Many published articles focused on these attacks’ binary classification. This article described a novel deep-learning approach for detecting SQL injection and XSS attacks. The datasets for SQL injection and XSS payloads are combined into a single dataset. The dataset is labeled manually into three labels, each representing a kind of attack. This work implements some pre-processing algorithms, including Porter stemming, one-hot encoding, and the word-embedding method to convert a word’s text into a vector. Our model used bidirectional long short-term memory (BiLSTM) to extract features automatically, train, and test the payload dataset. The payloads were classified into three types by BiLSTM: XSS, SQL injection attacks, and normal. The outcomes demonstrated excellent performance in classifying payloads into XSS attacks, injection attacks, and non-malicious payloads. BiLSTM’s high performance was demonstrated by its accuracy of 99.26%.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Web Application Security Vulnerabilities · Software Engineering Research

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (31)

Show source-provided references
1. Approaches to detect SQL injection and XSS in web applications
2. A survey on web application vulnerabilities (SQLIA, XSS) exploitation and security engine for SQL injection
3. A comparative analysis of cross site scripting (XSS) detecting and defensive techniques
4. Evaluation of SQL injection prevention methods
5. Cross-site scripting (XSS) attacks and defense mechanisms: Classification and state-of-the-art10.1007/s13198-015-0376-0 ↗
6. CODDLE: Code-injection detection with deep learning10.1109/ACCESS.2019.2939870 ↗
7. OWASP Top 10 2017
8. DeepXSS: Cross site scripting detection based on deep learning
9. Detection of SQL injection based on artificial neural network10.1016/j.knosys.2020.105528 ↗
10. Detecting SQL injection on web application using deep learning techniques: A systematic literature review
11. SQL injection attack detection and prevention techniques using deep learning
12. A study on XSS attacks: Intelligent detection methods
13. SQL injection detection for web applications based on elastic-pooling CNN10.1109/ACCESS.2019.2947527 ↗
14. Detection of SQL injection attacks: A machine learning approach
15. An efficient model to detect and prevent SQL injection attack
16. Machine learning based intrusion detection system for web-based attacks
17. Detecting blind cross-site scripting attacks using machine learning
18. Anomaly-based web attack detection: A deep learning approach
19. APMSA: Adversarial perturbation against model stealing attacks10.1109/TIFS.2023.3246766 ↗
20. Estimating web attack detection via model uncertainty from inaccurate annotation
21. Security and privacy in new computing environments
22. Bl-IDS: Detecting web attacks using Bi-LSTM model based on deep learning
23. Cross Site Scripting XSS Dataset for Deep Learning
24. SQL Injection Dataset
25. SQL Injection Payload List
26. A survey on word embedding techniques and semantic similarity for paraphrase identification10.1504/IJCSYSE.2019.098417 ↗
27. Bidirectional recurrent neural networks10.1109/78.650093 ↗
28. Bidirectional long short-term memory networks for relation classification
29. LSTM can solve hard long time lag problems
30. Bidirectional LSTM with attention mechanism and convolutional layer for text classification10.1016/j.neucom.2019.01.078 ↗
31. M. Grandini, E. Bagli and G. Visani, “Metrics for multi-class classification: An overview,” arXiv: 2008.05756, 2020.