Simulated Penetration Testing as Contingent Planning


  • Dorin Shmaryahu Ben Gurion University
  • Guy Shani Ben Gurion University
  • Joerg Hoffmann Saarland University
  • Marcel Steinmetz Saarland University



pentesting, Contingent planning, partial observability, cyber security, automated planning


In penetration testing (pentesting), network administrators attack their own network to identify and fix vulnerabilities. Planning-based simulated pentesting can achieve much higher testing coverage than manual pentesting. A key challenge is for the attack planning to imitate human hackers as faithfully as possible. POMDP models have been proposed to this end, yet they are computationally very hard, and it is unclear how to acquire the models in practice. At the other extreme, classical planning models are scalable and simple to obtain, yet completely ignore the incomplete knowledge characteristic of hacking. We propose contingent planning as a new middle ground, feasible in both computation burden and model acquisition effort while allowing for a representation of incomplete knowledge. We design the model, show how to adapt available solvers, and show how to acquire the model from real network scans in practice. We experiment on real networks and show that our approach scales to practical input sizes.




How to Cite

Shmaryahu, D., Shani, G., Hoffmann, J., & Steinmetz, M. (2018). Simulated Penetration Testing as Contingent Planning. Proceedings of the International Conference on Automated Planning and Scheduling, 28(1), 241-249.