Autonomous penetration testing using reinforcement learning: A review and perspectives
The DOI matches its Crossref record; 9 of the 9 references it cites were found in a registry or an index.
Abstract
Penetration testing (pentesting) assesses cybersecurity through controlled, authorized attacks, but traditional manual methods demand considerable human and time resources. Reinforcement learning (RL), with its agent-environment interaction paradigm, offers a promising approach for autonomous pentesting. Despite remarkable advancements in this field, there is a lack of comprehensive reviews and perspectives on RL-based autonomous pentesting. To address this gap, this paper presents a systematic review of RL-based autonomous pentesting research. We outline the key challenges faced when applying RL in autonomous pentesting and categorize the existing literature into two main areas: attack path planning and autonomous pentesting frameworks, based on the research objectives and hypotheses. Additionally, we offer an in-depth analysis of the latest advancements and limitations in this field, while proposing a perspective on future research directions in the field of RL-based autonomous pentesting. We hope that our work will provide valuable insights for researchers, contributing to the advancement of autonomous pentesting and its practical application in the complex and diverse scenarios of the real world.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Mastering the game of Go with deep neural networks and tree search
Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., et al. (2016) · Nature · doi:10.1038/nature16961 · Cited by 15,612
Curiosity-Driven Exploration by Self-Supervised Prediction
Pathak, D., Agrawal, P., Efros, A. A., & Darrell, T. (2017) · 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw.2017.70 · Cited by 1,815
A graph-based system for network-vulnerability analysis
Phillips, C., & Swiler, L. P. (1998) · Proceedings of the 1998 workshop on New security paradigms · doi:10.1145/310889.310919 · Cited by 828
Quantifying Generalization in Reinforcement Learning
Cobbe, K., Klimov, O., Hesse, C., Kim, T., & Schulman, J. (2018) · arXiv · doi:10.48550/arxiv.1812.02341 · Cited by 769
Silver, D., Singh, S., Precup, D., & Sutton, R. S. (2021) · Artificial Intelligence · doi:10.1016/j.artint.2021.103535 · Cited by 445
Deep Reinforcement Learning in Large Discrete Action Spaces
Dulac-Arnold, G., Evans, R., van Hasselt, H., Sunehag, P., Lillicrap, T., Hunt, J., Mann, T., Weber, T., Degris, T., & Coppin, B. (2015) · arXiv · doi:10.48550/arxiv.1512.07679 · Cited by 290
A Survey of Zero-shot Generalisation in Deep Reinforcement Learning
Kirk, R., Zhang, A., Grefenstette, E., & Rocktäschel, T. (2023) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.14174 · Cited by 193
Transferring policy of deep reinforcement learning from simulation to reality for robotics
Ju, H., Juan, R., Gomez, R., Nakamura, K., & Li, G. (2022) · Nature Machine Intelligence · doi:10.1038/s42256-022-00573-6 · Cited by 147
Applications of LLMs for Generating Cyber Security Exercise Scenarios
Mudassar Yamin, M., Hashmi, E., Ullah, M., & Katt, B. (2024) · IEEE Access · doi:10.1109/access.2024.3468914 · Cited by 91
Research works printed but not linked: 53
- Arulkumaran, 2017, Deep reinforcement learning: A brief survey, IEEE Signal Processing Magazine, 34, 26, 10.1109/MSP.2017.2743240 · DOI · Paper page
- Baillie, 2020, CybORG: An autonomous cyber operations research gym, CoRR, abs/2002.10667 · arXiv
- Brehmer, 2005, The dynamic OODA loop: Amalgamating boyd’s OODA loop and the cybernetic approach to command and control, Proceedings International Command &Control Research & Technology Symposium
- Chen, 2023, Gail-pt: An intelligent penetration testing framework with generative adversarial imitation learning, Computers & Security, 126, 10.1016/j.cose.2022.103055 · DOI · Paper page
- Chen, 2024, End-to-end autonomous driving: Challenges and frontiers, IEEE Transactions on Pattern Analysis and Machine Intelligence, 46, 10164, 10.1109/TPAMI.2024.3435937 · DOI · Paper page
- Chen, 2019, Learning action-transferable policy with action embedding, CoRR, abs/1909.02291 · arXiv
- Chen, 2025, Automatic penetration testing model based on reinforcement learning for complex network environments, The Journal of supercomputing, 81, 1169, 10.1007/s11227-025-07656-2 · DOI
- Chib, 2024, Recent advancements in end-to-end autonomous driving using deep learning: A survey, IEEE Transactions on Intelligent Vehicles, 9, 103, 10.1109/TIV.2023.3318070 · DOI · Paper page
- Feng, 2023, Dense reinforcement learning for safety validation of autonomous vehicles, Nature, 615, 620, 10.1038/s41586-023-05732-2 · DOI · Paper page
- Ge, 2024, MEGA-PT: A meta-game framework for agile penetration testing, vol. 14908, 24
- Happe, 2025, Benchmarking practices in LLM-driven offensive security: Testbeds, metrics, and experiment design, CoRR, abs/2504.10112 · arXiv
- Holm, 2023, Lore a red team emulation tool, IEEE Transactions on Dependable and Secure Computing, 20, 1596, 10.1109/TDSC.2022.3160792 · DOI
- Hu, 2020, Automated penetration testing using deep reinforcement learning, 2020 IEEE European Symposium on Security and Privacy Workshops (EuroS&PW), 2, 10.1109/EuroSPW51379.2020.00010 · DOI
- Li, 2025, HER-PT: An intelligent penetration testing framework with hindsight experience replay, Computers & Security, 152, 10.1016/j.cose.2025.104357 · DOI · Paper page
- Li, 2023, INNES: An intelligent network penetration testing model based on deep reinforcement learning, Applied Intelligence, 53, 27110, 10.1007/s10489-023-04946-1 · doi:10.1007/s10489-023-04946-1
- Li, 2024, Dynpen: Automated penetration testing in dynamic network scenarios using deep reinforcement learning, IEEE Transactions on Information Forensics and Security, 19, 8966, 10.1109/TIFS.2024.3461950 · DOI
- Li, 2023, A hierarchical deep reinforcement learning model with expert prior knowledge for intelligent penetration testing, Computers & Security, 132, 10.1016/j.cose.2023.103358 · doi:10.1016/j.cose.2023.103358
- Lupinacci, 2025, Arcer: An agentic RAG for the automated definition of cyber ranges, CoRR, abs/2504.12143 · arXiv
- Maeda, 2021, Automating post-exploitation with deep reinforcement learning, Computers & Security, 100, 10.1016/j.cose.2020.102108 · doi:10.1016/j.cose.2020.102108
- Masi, 2023, Securing critical infrastructures with a cybersecurity digital twin, Software and Systems Modeling, 22, 689, 10.1007/s10270-022-01075-0 · DOI
- Melo, 2001, Convergence of q-learning: A simple proof, Institute Of Systems and Robotics, Tech. Rep, 1
- Midian, 2002, Perspectives on penetration testing — black box vs. white box, Network Security, 2002, 10, 10.1016/S1353-4858(02)11009-9 · DOI
- Mnih, 2016, Asynchronous methods for deep reinforcement learning, vol. 48, 1928
- Mnih, 2015, Human-level control through deep reinforcement learning, Nature, 518, 529, 10.1038/nature14236 · DOI · Paper page
- Moskal, 2023, Llms killed the script kiddie: How agents supported by large language models change the landscape of network threat testing, CoRR
- Nguyen, 2025, Pengym: Realistic training environment for reinforcement learning pentesting agents, Computers & Security, 148, 10.1016/j.cose.2024.104140 · DOI
- Ren, 2024, E2e-Autopt: An end-to-end automated penetration testing with LSTM-PPO approach, vol. 15528, 403
- Saber, 2023, Automated penetration testing, a systematic review, 373
- Sarraute, 2013, Automated attack planning, CoRR, abs/1307.7808 · arXiv
- Sarraute, C., Buffet, O., & Hoffmann, J. (2013). Penetration testing== pomdp solving?arXiv: 1306.4714. · arXiv
- Schneier, 1999, Attack trees, Dr. Dobb’is journal, 24, 21
- Schwartz, 2020, Pomdp+ information-decay: Incorporating defender’s behaviour in autonomous penetration testing, vol. 30, 235
- Shao, 2024, Deepseekmath: Pushing the limits of mathematical reasoning in open language models, CoRR
- Skandylas, 2025, Automated penetration testing: Formalization and realization, Computers & Security, 155, 10.1016/j.cose.2025.104454 · DOI · Paper page
- Taylor, 2009, Transfer learning for reinforcement learning domains: a survey, Journal of Machine Learning Research : JMLR, 10, 1633
- Tran, K., Akella, A., Standen, M., Kim, J., Bowman, D., Richer, T., & Lin, C.-T. (2021). Deep hierarchical reinforcement agents for automated penetration testing. arXiv e-prints, arXiv: 2109.06449). 10.48550/arXiv.2109.06449. · arXiv · doi:10.48550/arxiv.2109.06449
- van Veen, 2020, An agent-based model of collective decision-making: how information sharing strategies scale with information overload, IEEE Transactions on Computational Social Systems, 7, 751, 10.1109/TCSS.2020.2986161 · DOI
- Vinyals, 2019, Grandmaster level in starcraft II using multi-agent reinforcement learning, Nature, 1
- Wang, K., Reimers, N., & Gurevych, I. (2021). Tsdae: Using transformer-based sequential denoising auto-encoderfor unsupervised sentence embedding learning. arXiv: 2104.06979. · DOI · Paper page
- Wang, 2024, A comprehensive survey of continual learning: Theory, method and application, IEEE Transactions on Pattern Analysis and Machine Intelligence, PP
- Wang, 2023, A dirichlet process mixture of robust task models for scalable lifelong reinforcement learning, IEEE Transactions on Cybernetics, 53, 7509, 10.1109/TCYB.2022.3170485 · DOI
- Weiyi, 2020, Survey on sparse reward in deep reinforcement learning, Journal of Computer Science, 47
- Wenzel, 2025, 4Seasons: Benchmarking visual SLAM and long-term localization for autonomous driving in challenging conditions, International Journal of Computer Vision, 133, 1564, 10.1007/s11263-024-02230-4 · DOI
- Wu, 2025, Automated penetration testing through hierarchical PPO with large language model enhancement, vol. 15855, 472
- Yang, 2025, Behaviour-diverse automatic penetration testing: A coverage-based deep reinforcement learning approach, Frontiers of Computer Science, 19, 10.1007/s11704-024-3380-1 · DOI · Paper page
- Zennaro, 2023, Modelling penetration testing with reinforcement learning using capture-the-flag challenges: Trade-offs between model-free learning and a priori knowledge, IET Information Security, 17, 441, 10.1049/ise2.12107 · DOI
- Zhang, 2017, Discrete-time nonzero-sum games for multiplayer using policy-iteration-based adaptive dynamic programming algorithms, IEEE Transactions on Cybernetics, 47, 3331, 10.1109/TCYB.2016.2611613 · DOI
- Zhang, 2022, Improved deep recurrent q-network of POMDPs for automated penetration testing, Applied Sciences, 12, 10.3390/app122010339 · DOI
- Zhou, 2021, Autonomous penetration testing based on improved deep q-network, Applied Sciences, 11, 10.3390/app11198823 · DOI
- Zhou, 2025, April: Towards scalable and transferable autonomous penetration testing in large action space via action embedding, IEEE Transactions on Dependable and Secure Computing, 22, 2443, 10.1109/TDSC.2024.3518500 · DOI · Paper page
- Zhou, S., Liu, J., Lu, Y., Yang, J., Zhang, Y., & Chen, J. (2024). Towards generalizable autonomous penetration testing via domain randomization and meta-Reinforcement learning. arXiv e-prints, arXiv: 2412.04078. 10.48550/arXiv.2412.04078. · arXiv · doi:10.48550/arxiv.2412.04078
- Zhou, 2025, SCRIPT: A scalable continual reinforcement learning framework for autonomous penetration testing, Expert Systems with Applications, 285, 10.1016/j.eswa.2025.127827 · DOI · Paper page
- Zhou, 2019, Nig-ap: A new method for automated penetration testing, Frontiers of Information Technology & Electronic Engineering, 20, 1277, 10.1631/FITEE.1800532 · DOI
Metadata
- Authors
- Liu, J., Zhang, Y., Zhou, S., Yang, J., Lu, Y., & Zhong, X.
- Venue
- Expert Systems with Applications
- Publisher
- Elsevier BV
- Published
- 2026-03
- Volume
- 300
- Pages
- 130219
- ISSN
- 0957-4174
- Cited by
- 10
- References
- 9
- Language
- en
- Licence
- www.elsevier.com/tdm/userlicense/1.0/ (tdm)
- www.elsevier.com/legal/tdmrep-license (tdm)
- doi.org/10.15223/policy-017 (stm-asf)
- doi.org/10.15223/policy-037 (stm-asf)
- doi.org/10.15223/policy-012 (stm-asf)
- doi.org/10.15223/policy-029 (stm-asf)
- doi.org/10.15223/policy-004 (stm-asf)
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.