Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQN
<|reference_start|>Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQN: Penetration testing is the process of searching for security weaknesses by simulating an attack. It is usually performed by experienced professionals, where scanning and attack tools are applied. By automating the execution of such tools, the need for human interaction and decision-making could be reduced. In this work, a Network Attack Simulator (NASim) was used as an environment to train reinforcement learning agents to solve three predefined security scenarios. These scenarios cover techniques of exploitation, post-exploitation and wiretapping. A large hyperparameter grid search was performed to find the best hyperparameter combinations. The algorithms Q-learning, DQN and A3C were used, whereby A3C was able to solve all scenarios and achieve generalization. In addition, A3C could solve these scenarios with fewer actions than the baseline automated penetration testing. Although the training was performed on rather small scenarios and with small state and action spaces for the agents, the results show that a penetration test can successfully be performed by the RL agent.<|reference_end|>
@article{becker2024evaluation,
    title={Evaluation of Reinforcement Learning for Autonomous Penetration Testing
  using A3C, Q-learning and DQN},
    author={Norman Becker, Daniel Reti, Evridiki V. Ntagiou, Marcus Wallum, Hans
  D. Schotten},
    journal={arXiv preprint arXiv:2407.15656},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.15656},
    primaryClass={cs.CR cs.AI}
}