Knowledge-Informed Auto-Penetration Testing Based on Reinforcement Learning with Reward Machine
Not on the map. Why?
Abstract (arXiv)
Automated penetration testing (AutoPT) based on reinforcement learning (RL) has proven its ability to improve the efficiency of vulnerability identification in information systems. However, RL-based PT encounters several challenges, including poor sampling efficiency, intricate reward specification, and limited interpretability. To address these issues, we propose a knowledge-informed AutoPT framework called DRLRM-PT, which leverages reward machines (RMs) to encode domain knowledge as guidelines for training a PT policy. In our study, we specifically focus on lateral movement as a PT case study and formulate it as a partially observable Markov decision process (POMDP) guided by RMs. We design two RMs based on the MITRE ATT&CK knowledge base for lateral movement. To solve the POMDP and optimize the PT policy, we employ the deep Q-learning algorithm with RM (DQRM). The experimental results demonstrate that the DQRM agent exhibits higher training efficiency in PT compared to agents without knowledge embedding. Moreover, RMs encoding more detailed domain knowledge demonstrated better PT performance compared to RMs with simpler knowledge.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 8 of its 27 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
8 of 27 references.
References · 8
- 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
- 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 183
- 2019Deep Reinforcement Learning for Cyber Securitycited by 92
- 2019A Survey of Deep Reinforcement Learning in Video Gamescited by 73
- 2021Deep Multiagent Reinforcement Learning: Challenges and Directionscited by 42
- 2019Autonomous Penetration Testing using Reinforcement Learningcited by 33
- 2021Deep hierarchical reinforcement agents for automated penetration testingcited by 19
- 2021Learning Reward Machines: A Study in Partially Observable Reinforcement Learningcited by 16
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025RefPentester: A Knowledge-Informed Self-Reflective Penetration Testing Framework Based on Large Language Modelscited by 2
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluationcited by 2
- 2025A Unified Modeling Framework for Automated Penetration Testingcited by 1
- 2025Learning Robust Penetration Testing Policies under Partial Observability: A systematic evaluation24 Sep 2025
- 2025RefPentester: A Knowledge-Informed Self-Reflective Penetration Testing Framework Based on Large Language Models11 May 2025
- 2025A Unified Modeling Framework for Automated Penetration Testing17 Feb 2025