Efficient network attack path optimization method based on prior knowledge-based PPO algorithm

Abstract With the increasing complexity of network system architectures and the advancements in artificial intelligence, automated penetration testing holds crucial significance in enhancing network security. Attack path optimization is the key to automated penetration testing. However, existing methods mostly focus on maximizing the attack gain, overlooking the impact of the attack path length. To address this issue, we propose a bi-objective attack path optimization problem based on attack graphs, aiming to maximize attack gains while minimizing the attack path length. We model the problem as a Markov decision process and theoretically analyze the selection of the discount factor to ensure the consistency between the goal of the MDP and the optimization objective. To address the issues of excessive invalid actions and poor training effect of current deep reinforcement learning-based attack path optimization methods, we propose a Prior Knowledge-based Proximal Policy Optimization (PKPPO) algorithm. The algorithm first designs action filtering rules based on prior knowledge extracted from the attack graph. Based on these rules, action mask vectors are generated before each action sampling phase to modify the distribution of the output of the policy network. Through this approach, the action space is effectively pruned, thereby enhancing the performance and efficiency of the algorithm in large-scale, complex network scenarios. The experimental results show that the PKPPO algorithm can converge within 100 training episodes in all test scenarios. The convergence speed and stability of PKPPO are significantly better than the baselines, and it remains effective in large-scale network environments with greater adaptability.

Authors

Institutions

Publication Details

Journal
Cybersecurity
Published
2025-03-01
DOI
https://doi.org/10.1186/s42400-024-00288-8
Citations
4
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
5.95
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient network attack path optimization method based on prior knowledge-based PPO algorithm

Jianping Wu, Q. Y. Li
4 citations
Cybersecurity
Network Security and Intrusion Detection
5.95
article

Efficient network attack path optimization method based on prior knowledge-based PPO algorithm

Jianping Wu, Q. Y. Li
article en
4 citations

Abstract

Abstract With the increasing complexity of network system architectures and the advancements in artificial intelligence, automated penetration testing holds crucial significance in enhancing network security. Attack path optimization is the key to automated penetration testing. However, existing methods mostly focus on maximizing the attack gain, overlooking the impact of the attack path length. To address this issue, we propose a bi-objective attack path optimization problem based on attack graphs, aiming to maximize attack gains while minimizing the attack path length. We model the problem as a Markov decision process and theoretically analyze the selection of the discount factor to ensure the consistency between the goal of the MDP and the optimization objective. To address the issues of excessive invalid actions and poor training effect of current deep reinforcement learning-based attack path optimization methods, we propose a Prior Knowledge-based Proximal Policy Optimization (PKPPO) algorithm. The algorithm first designs action filtering rules based on prior knowledge extracted from the attack graph. Based on these rules, action mask vectors are generated before each action sampling phase to modify the distribution of the output of the policy network. Through this approach, the action space is effectively pruned, thereby enhancing the performance and efficiency of the algorithm in large-scale, complex network scenarios. The experimental results show that the PKPPO algorithm can converge within 100 training episodes in all test scenarios. The convergence speed and stability of PKPPO are significantly better than the baselines, and it remains effective in large-scale network environments with greater adaptability.

CybersecurityVol. 8(1)
Tsinghua University (CN)
Openalex Percentile: Top 4%
Network Security and Intrusion Detection
5.95
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.