SQL Injections and Reinforcement Learning: An Empirical Evaluation of the Role of Action Structure
Lists
Only you see this
Abstract
Penetration testing is a central problem in computer security, and recently, the application of machine learning techniques to this topic has gathered momentum. In this paper, we consider the problem of exploiting SQL injection vulnerabilities, and we represent it as a capture-the-flag scenario in which an attacker can submit strings to an input form with the aim of obtaining a flag token representing private information. We then model the attacker as a reinforcement learning agent that interacts with the server to learn an optimal policy leading to an exploit. We compare two agents: a simpler structured agent that relies on significant a priori knowledge and uses high-level actions; and a structureless agent that has limited a priori knowledge and generates SQL statements. The comparison showcases the feasibility of developing agents that rely on less ad-hoc modeling and illustrates a possible direction to develop agents that may have wide applicability.
BibTeX
@inproceedings{verme2021sql,
author = {Manuel Del Verme and Åvald Åslaugson Sommervoll and László Erdödi and Simone Totaro and Fabio Massimo Zennaro},
title = {{SQL Injections and Reinforcement Learning: An Empirical Evaluation of the Role of Action Structure}},
booktitle = {NordSec},
year = {2021},
url = {https://openreview.net/forum?id=GlBUuwxAUm},
}Loading related content...