Optimizing intelligent penetration path planning using reinforcement learning: A focus on valid action masking and sample enhancement
Abstract
As penetration testing is a crucial technique for the rapid evolution of cybersecurity to identify system vulnerabilities, traditional penetration testing methods face the difficulty of large amounts of manual labor and professional knowledge, which makes them difficult to scale. This paper proposes a highly automated and efficient penetration testing approach based on the MASK-SALT-DQN algorithm. MASK-SALT-DQN is a reinforcement learning model that effectively optimizes penetration path planning by valid action masking and sample enhancement. Through valid action masking, the MASK-SALT-DQN model filters out redundant and invalid actions in the solution space, reducing the complexity of the action space and improving the convergence speed and efficiency. In addition, the sample enhancement method increases the frequency of critical exploitation actions and positive rewards in the sparse-reward environment, speeding up the learning process of the agent. Experiments have been conducted on the NASim attack simulation network to demonstrate the advantages of the proposed model over the baseline method. The experimental results show that our model has a significant performance advantage over baseline methods in large networks, and it can be applied to the field of scalable and efficient automated penetration testing.
References
- Altulaihan, Esra Abdullatif, Abrar Alismail, and Mounir Frikha. "A survey on web application penetration testing." Electronics 12.5 (2023): 1229.
- Greco, Claudia, et al. "AI-enabled IoT penetration testing: state-of-the-art and research challenges." Enterprise Information Systems 17.9 (2023): 2130014.
- Heiding, Fredrik, et al. "Penetration testing of connected households." Computers & Security 126 (2023): 103067.
- Ghanem, Mohamed C., Thomas M. Chen, and Erivelton G. Nepomuceno. "Hierarchical reinforcement learning for efficient and effective automated penetration testing of large networks." Journal of Intelligent Information Systems 60.2 (2023): 281-303.
- Almazrouei, Omar, et al. "Penetration Testing for IoT Security: The Case Study of a Wireless IP Security CAM." 2023 IEEE 2nd International Conference on AI in Cybersecurity (ICAIC). IEEE, 2023.
- Ojha, Avinash, and Praveen Aggarwal. "Durability performance of low calcium Flyash-Based geopolymer concrete." Structures. Vol. 54. Elsevier, 2023.
- Shakya, Ashish Kumar, Gopinatha Pillai, and Sohom Chakrabarty. "Reinforcement learning algorithms: A brief survey." Expert Systems with Applications 231 (2023): 120495.
- Moerland, Thomas M., et al. "Model-based reinforcement learning: A survey." Foundations and TrendsĀ® in Machine Learning 16.1 (2023): 1-118.
- Casper, Stephen, et al. "Open problems and fundamental limitations of reinforcement learning from human feedback." arXiv preprint arXiv:2307.15217 (2023).
- Ball, Philip J., et al. "Efficient online reinforcement learning with offline data." International Conference on Machine Learning. PMLR, 2023.