DeepSQLi: Deep Semantic Learning for Testing SQL Injection

arXiv:2005.11728 First posted 2020-05-24 v1
Cite this paper ×
BibTeX
@misc{liu2020deepsqli,
  title = {DeepSQLi: Deep Semantic Learning for Testing SQL Injection},
  author = {Muyang Liu and Ke Li and Tao Chen},
  year = {2020},
  eprint = {2005.11728},
  archivePrefix = {arXiv},
  primaryClass = {cs.SE},
  url = {https://arxiv.org/abs/2005.11728}
}
APA
Liu, M., Li, K., & Chen, T. (2020). DeepSQLi: Deep Semantic Learning for Testing SQL Injection [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2005.11728
GB/T 7714
LIU M, LI K, CHEN T. DeepSQLi: Deep Semantic Learning for Testing SQL Injection[EB/OL]. (2020-05-24)[2026-11-29]. https://arxiv.org/abs/2005.11728.

Abstract

Security is unarguably the most serious concern for Web applications, to which SQL injection (SQLi) attack is one of the most devastating attacks. Automatically testing SQLi vulnerabilities is of ultimate importance, yet is unfortunately far from trivial to implement. This is because the existence of a huge, or potentially infinite, number of variants and semantic possibilities of SQL leading to SQLi attacks on various Web applications. In this paper, we propose a deep natural language processing based tool, dubbed DeepSQLi, to generate test cases for detecting SQLi vulnerabilities. Through adopting deep learning based neural language model and sequence of words prediction, DeepSQLi is equipped with the ability to learn the semantic knowledge embedded in SQLi attacks, allowing it to translate user inputs (or a test case) into a new test case, which is semantically related and potentially more sophisticated. Experiments are conducted to compare DeepSQLi with SQLmap, a state-of-the-art SQLi testing automation tool, on six real-world Web applications that are of different scales, characteristics and domains. Empirical results demonstrate the effectiveness and the remarkable superiority of DeepSQLi over SQLmap, such that more SQLi vulnerabilities can be identified by using a less number of test cases, whilst running much faster.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!