The Agent Web Model -- Modelling web hacking for reinforcement learning

Laszlo Erdodi, Fabio Massimo Zennaro
9/23/2020
cs.CR
rl

Official code: FMZennaro/gym-agentwebmodel (5 stars, Jupyter Notebook, GPL-3.0, last commit 2021-03-29).

Abstract

Website hacking is a frequent attack type used by malicious actors to obtain confidential information, modify the integrity of web pages or make websites unavailable. The tools used by attackers are becoming more and more automated and sophisticated, and malicious machine learning agents seems to be the next development in this line.

Show full abstract

In order to provide ethical hackers with similar tools, and to understand the impact and the limitations of artificial agents, we present in this paper a model that formalizes web hacking tasks for reinforcement learning agents. Our model, named Agent Web Model, considers web hacking as a capture-the-flag style challenge, and it defines reinforcement learning problems at seven different levels of abstraction. We discuss the complexity of these problems in terms of actions and states an agent has to deal with, and we show that such a model allows to represent most of the relevant web vulnerabilities. Aware that the driver of advances in reinforcement learning is the availability of standardized challenges, we provide an implementation for the first three abstraction layers, in the hope that the community would consider these challenges in order to develop intelligent web hacking agents.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Implementation of Agent Web Model for OpenAI gym

52Jupyter Notebook, PythonSep 10, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{erdodi2020agent,
  title  = {The Agent Web Model -- Modelling web hacking for reinforcement learning},
  author = {Laszlo Erdodi and Fabio Massimo Zennaro},
  year   = {2020},
  eprint = {2009.11274},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.11274}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.11274.svg)](https://codeofpaper.com/paper/2009.11274)

Discussion