In this paper, we propose a formalization of the process of exploitation of SQL injection vulnerabilities. We consider a simplification of the dynamics of SQL injection attacks by casting this problem as a security capture-the-flag challenge. We model it as a Markov decision process, and we implement it as a reinforcement learning problem. We then deploy reinforcement learning agents tasked with learning an effective policy to perform SQL injection; we design our training in such a way that the agent learns not just a specific strategy to solve an individual challenge but a more generic policy that may be applied to perform SQL injection attacks against any system instantiated randomly by our problem generator. We analyze the results in terms of the quality of the learned policy and in terms of convergence time as a function of the complexity of the challenge and the learning agent's complexity. Our work fits in the wider research on the development of intelligent agents for autonomous penetration testing and white-hat hacking, and our results aim to contribute to understanding the potential and the limits of reinforcement learning in a security environment.
TPSQLi: Test Prioritization for SQL Injection Vulnerability Detection in Web Applications
National Taiwan University(台湾大学);CyberLink Corporation(网路家庭资讯事业股份有限公司);National Yang Ming Chiao Tung University(国立阳明交通大学);National Dong Hwa University(国立东华大学)
REFN: A Reinforcement-Learning-From-Network Framework against 1-day/n-day Exploitations
School of Artificial Intelligence, Hubei University(湖北大学人工智能学院);Huazhong University of Science and Technology(华中科技大学);University of Southern California(美国南加州大学)
VEXAIoT: Autonomous IoT Vulnerability EXploitation using AI Agents
Department of Computer Science Tennessee Tech University Cookeville, TN, USA;School of Interdisciplinary Informatics University of Nebraska Omaha Omaha, NE, USA;1 Department of Computer Science, Tennessee Tech University, TN, USA.;2 School of Interdisciplinary Informatics, University of Nebraska Omaha, NE, USA.;3 Dept. of Mathematics \& Computer Science, University of North Carolina at Pembroke, NC, USA.
NICE: A Framework for Declarative and Machine-Checkable Vulnerability Reproduction
SAMOVAR, Télécom SudParis, Polytechnic Institute of Paris(SAMOVAR,巴黎电信学院,巴黎理工学院);LTCI, Télécom Paris, Polytechnic Institute of Paris(LTCI,巴黎电信学院,巴黎理工学院)
Decoupling Reconnaissance and Exploitation: Measuring the Capability Boundaries of LLM-Based Web Penetration Testing
University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州先进研究院);Nanjing University of Science and Technology(南京理工大学);Research Institute, Runjian Co., Ltd(润杰有限公司研究院)
ExploitGym: Can AI Agents Turn Security Vulnerabilities into Real Attacks?
UC Berkeley(加州大学伯克利分校);Max Planck Institute for Security and Privacy(马克斯·普朗克安全与隐私研究所);UC Santa Barbara(加州大学圣巴巴拉分校);Arizona State University(亚利桑那州立大学);Anthropic(Anthropic公司);OpenAI;Google(谷歌)
K. N. Toosi University of Technology(肯恩·托基大学);Ferdowsi University of Mashhad(马什哈德费尔多西大学);Simon Fraser University(西蒙菲莎大学);Amirkabir University of Technology(阿米尔卡比尔理工大学)
ReproBench: Benchmarking LLM Agents on Reproducing Vulnerability From Scratch
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Key Laboratory of System Software (Chinese Academy of Sciences)(中国科学院系统软件重点实验室)