SqliGPT: Evaluating and Utilizing Large Language Models for Automated SQL Injection Black-Box Detection
Applied Sciences · 07.08.2024 · 14 (16) · 6929
DOI: 10.3390/app14166929 ↗Kurz gefasst
Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 07.08.2024. Verfasst von Zhiwen Gui und 7 weiteren Autor:innen. Die Arbeit wurde bisher 16-mal zitiert (Crossref) und nennt 52 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
SQL injection (SQLI) black-box detection, which simulates external attack scenarios, is crucial for assessing vulnerabilities in real-world web applications. However, existing black-box detection methods rely on predefined rules to cover the most common SQLI cases, lacking diversity in vulnerability detection scheduling and payload, suffering from limited efficiency and accuracy. Large Language Models (LLMs) have shown significant advancements in several domains, so we developed SqliGPT, an LLM-powered SQLI black-box scanner that leverages the advanced contextual understanding and reasoning abilities of LLMs. Our approach introduces the Strategy Selection Module to improve detection efficiency and the Defense Bypass Module to address insufficient defense mechanisms. We evaluated SqliGPT against six state-of-the-art scanners using our SqliMicroBenchmark. Our evaluation results indicate that SqliGPT successfully detected all 45 targets, outperforming other scanners, particularly on targets with insufficient defenses. Additionally, SqliGPT demonstrated excellent efficiency in executing detection tasks, slightly underperforming Arachni and SQIRL on 27 targets but besting them on the other 18 targets. This study highlights the potential of LLMs in SQLI black-box detection and demonstrates the feasibility and effectiveness of LLMs in enhancing detection efficiency and accuracy.
Zitieren
APA
Gui, Z., Wang, E., Deng, B., Zhang, M., Chen, Y., Wei, S., Xie, W., & Wang, B. (2024). SqliGPT: Evaluating and Utilizing Large Language Models for Automated SQL Injection Black-Box Detection. Applied Sciences, 14(16), 6929. https://doi.org/10.3390/app14166929
Vancouver
Gui Z, Wang E, Deng B, Zhang M, Chen Y, Wei S, et al. SqliGPT: Evaluating and Utilizing Large Language Models for Automated SQL Injection Black-Box Detection. Applied Sciences. 2024;14(16):6929. doi:10.3390/app14166929
BibTeX
@article{Gui2024,
author = {Gui, Zhiwen and Wang, Enze and Deng, Binbin and Zhang, Mingyuan and Chen, Yitao and Wei, Shengfei and Xie, Wei and Wang, Baosheng},
title = {SqliGPT: Evaluating and Utilizing Large Language Models for Automated SQL Injection Black-Box Detection},
journal = {Applied Sciences},
year = {2024},
volume = {14},
number = {16},
pages = {6929},
doi = {10.3390/app14166929}
}
EUVIMED