Evaluation of Reinforcement Learning for Autonomous Penetration Testing using A3C, Q-learning and DQN
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 11 of its 23 references that are in the map. First posted on arXiv 22 Jul 2024.
Builds on
11 of 23 references.
References · 11
- 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
- 2018Quantifying Generalization in Reinforcement Learningcited by 345
- 2018Generalization and Regularization in DQNcited by 117
- 2021CybORG: A Gym for the Development of Autonomous Cyber Agentscited by 58
- 2019ChainerRL: A Deep Reinforcement Learning Librarycited by 51
- 2023NASimEmu: Network Attack Simulator & Emulator for Training Agents Generalizing to Novel Scenarioscited by 20
- 2021Deep hierarchical reinforcement agents for automated penetration testingcited by 19
- 2021CyGIL: A Cyber Gym for Training Autonomous Agents over Emulated Network Systemscited by 11
- 2022Behaviour-Diverse Automatic Penetration Testing: A Curiosity-Driven Multi-Objective Deep Reinforcement Learning Approachcited by 7
- 2022A Layered Reference Model for Penetration Testing with Reinforcement Learning and Attack Graphscited by 4
- 2020Modeling Penetration Testing with Reinforcement Learning Using Capture-the-Flag Challenges: Trade-offs between Model-free Learning and A Priori Knowledgecited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.