SSQLi: A Black-Box Adversarial Attack Method for SQL Injection Based on Reinforcement Learning

Author:

Guan Yuting1,He Junjiang1,Li Tao1,Zhao Hui1,Ma Baoqiang1

Affiliation:

1. School of cyber Science and Engineering, Sichuan University, Chengdu 610065, China

Abstract

SQL injection is a highly detrimental web attack technique that can result in significant data leakage and compromise system integrity. To counteract the harm caused by such attacks, researchers have devoted much attention to the examination of SQL injection detection techniques, which have progressed from traditional signature-based detection methods to machine- and deep-learning-based detection models. These detection techniques have demonstrated promising results on existing datasets; however, most studies have overlooked the impact of adversarial attacks, particularly black-box adversarial attacks, on detection methods. This study addressed the shortcomings of current SQL injection detection techniques and proposed a reinforcement-learning-based black-box adversarial attack method. The proposal included an innovative vector transformation approach for the original SQL injection payload, a comprehensive attack-rule matrix, and a reinforcement-learning-based method for the adaptive generation of adversarial examples. Our approach was evaluated on existing web application firewalls (WAF) and detection models based on machine- and deep-learning methods, and the generated adversarial examples successfully bypassed the detection method at a rate of up to 97.39%. Furthermore, there was a substantial decrease in the detection accuracy of the model after multiple attacks had been carried out on the detection model via the adversarial examples.

Funder

National Key Research and Development Program of China

National Natural Science Foundation of China

China Postdoctoral Science Foundation

Fundamental Research Funds for the Central Universities

Publisher

MDPI AG

Subject

Computer Networks and Communications

Reference34 articles.

1. OWASP (2022, June 04). OWASP Top Ten. Available online: https://owasp.org/.

2. Clay Keller (2021, March 20). Vulnerability Dstribution of CVE Security Vulnerabilities by Types. Available online: https://www.cvedetails.com/vulnerabilities-by-types.php.

3. An ensemble classification-based approach to detect attack level of SQL injections;Kasim;J. Inf. Secur. Appl.,2021

4. SQLiGoT: Detecting SQL injection attacks using graph of tokens and SVM;Kar;Comput. Secur.,2016

5. LSTM-based SQL injection detection method for intelligent transportation system;Li;IEEE Trans. Veh. Technol.,2019

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. SqliGPT: Evaluating and Utilizing Large Language Models for Automated SQL Injection Black-Box Detection;Applied Sciences;2024-08-07

2. Comparative analysis of adversarial AI injection attacks: A preliminary study;2024 International Conference on Artificial Intelligence, Computer, Data Sciences and Applications (ACDSA);2024-02-01

3. Analysis of SQL injection attacks in the cloud and in WEB applications;SECURITY AND PRIVACY;2024-01-18

4. Increase The SQLi Attack Success Rate using SqlMap with the use of Tamper Selection Scripts;2023 International Conference on Technology, Engineering, and Computing Applications (ICTECA);2023-12-20

5. Comparing Machine Learning for SQL Injection Detection in Web Systems;2023 10th International Conference on Soft Computing & Machine Intelligence (ISCMI);2023-11-25

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3