Skip to main content Skip to main navigation

Publication

A Novel Approach Exploiting Machine Learning to Detect SQLi Attacks

Ashlam Ahmed Abadulla; Atta Badii; Frederic Theodor Stahl
In: Abdessattar Ben Amor; Salwa Elloumi; Samir Nejim; Nabila Dhahbi; Hassène Gritli; Naoufel Machta (Hrsg.). 5th International Conference on Advanced Systems and Emergent Technologies. International Conference on Advanced Systems and Emergent Technologies (IC_ASET-2022), March 22-25, Hammamet, Tunisia, Pages 513-517, ISBN 978-1-6654-2735-7, IEEE, 2022.

Abstract

The increasing use of Information Technology applications in the distributed environment is increasing security exploits. Information about vulnerabilities is also available on the open web in an unstructured format that developers can take advantage of to fix vulnerabilities in their IT applications. SQL injection (SQLi) attacks are frequently launched with the objective of exfiltration of data typically through targeting the back-end server organisations to compromise their customer databases. There have been a number of high profile attacks against large enterprises in recent years. With the ever-increasing growth of online trading, it is possible to see how SQLi attacks can continue to be one of the leading routes for cyber-attacks in the future, as indicated by findings reported in OWASP. Various machine learning and deep learning algorithms have been applied to detect and prevent these attacks. However, such preventive attempts have not limited the incidence of cyber-attacks and the resulting compromised database as reported by (CVE) repository. In this paper, the potential of using data mining approaches is pursued in order to enhance the efficacy of SQL injection safeguarding measures by reducing the false-positive rates in SQLi detection. The proposed approach uses CountVectorizer to extract features and then apply various supervised machine-learning models to automate the classification of SQLi. The model that returns the highest accuracy has been chosen among available models. Also a new model has been created PALOSDM (Performance analysis and Iterative optimisation of the SQLI Detection Model) for reducing false-positive rate and false-negative rate. The detection rate accuracy has also been improved significantly from a baseline of 94% up to 99%.

Weitere Links