A Method of SQL Injection Attack Detection Based on Large Language Models

SQL injection attacks are a serious threat to the security of cyberspace. In view of the problems with traditional SQL injection attack detection methods, such as high false positive rates and insufficient generalization, this paper proposes a new detection method based on large language models (LLMs). Through prompt engineering and instruction tuning technologies, a dedicated large language model for SQL injection attack detection is constructed. The experimental results show that the proposed method achieves an accuracy of 99.85% and a false positive rate of 0.26% on general benchmark datasets, which verifies the effectiveness of large language models in the field of SQL injection attack detection.

Authors

Institutions

Publication Details

Published
2024-12-06
DOI
https://doi.org/10.1109/cnteie66268.2024.00035
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Method of SQL Injection Attack Detection Based on Large Language Models

Shenghan Lou, Yingying Zhang, Zutao Jiang, Zhuang Tian et al.
Network Security and Intrusion Detection
article

A Method of SQL Injection Attack Detection Based on Large Language Models

Shenghan Lou, Yingying Zhang, Zutao Jiang, Zhuang Tian, Han Wu, Xingkai Cheng
article en

Abstract

SQL injection attacks are a serious threat to the security of cyberspace. In view of the problems with traditional SQL injection attack detection methods, such as high false positive rates and insufficient generalization, this paper proposes a new detection method based on large language models (LLMs). Through prompt engineering and instruction tuning technologies, a dedicated large language model for SQL injection attack detection is constructed. The experimental results show that the proposed method achieves an accuracy of 99.85% and a false positive rate of 0.26% on general benchmark datasets, which verifies the effectiveness of large language models in the field of SQL injection attack detection.

National Computer Network Emergency Response Technical Team/Coordination Center of Chinar (CN)
Openalex Percentile: Top 65%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.