ShotFlex: A reinforcement learning-based cyber attack path generation method for cybersecurity evaluation
Penetration testing is an important method for discovering hidden vulnerabilities and attack paths in network systems, which is of great significance for evaluating network security. However, traditional penetration testing methods can only be carried out by security analysts, and the results are unstable, requiring extra time and money. Automated penetration testing can effectively reduce reliance on manual efforts. Automated attack planning, as one of the most critical components, has garnered widespread attention from researchers. Although previous studies have explored a variety of methods to mine attack paths, most of them require prior knowledge of the network topology, which contradicts reality and thus lacks application value. To automatically find the best potential attack path in complex and unknown networks from the hacker’s perspective, this paper proposes ShotFlex: a reinforcement learning-based method that uses a quantifiable method to evaluate host and obtain rewards, which guides the agent to choose the best response action to discover attack paths from the intruder’s perspective. ShotFlex also introduces a pruning strategy based on prior knowledge to accelerate path generation. Experimental results reveal that ShotFlex can combine current information to provide an effective decision and significantly improve the efficiency of penetration testing.
Authors
- Jiawei Zhang (ORCID: https://orcid.org/0000-0001-8812-4961)
- Mingsheng Yang
- Zhuocheng Yu
- Yan Jia (ORCID: https://orcid.org/0000-0002-5446-6565)
- Weihong Han (ORCID: https://orcid.org/0000-0001-9997-1509)
- Yangyang Mei (ORCID: https://orcid.org/0000-0002-7050-4437)
Institutions
- Southern University of Science and Technology (CN)
- Peng Cheng Laboratory (CN)
Publication Details
- Journal
- Security and Safety
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1051/sands/2025006
- Primary Topic
- Information and Cyber Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00