POMDPs Make Better Hackers: Accounting for Uncertainty in Penetration Testing
Preprint
Abstract
Penetration Testing is a methodology for assessing network security, by generating and executing possible hacking attacks. Doing so automatically allows for regular and systematic testing. A key question is how to generate the attacks. This is naturally formulated as planning under uncertainty, i.e., under incomplete knowledge about the network configuration. Previous work uses classical planning, and requires costly pre-processes reducing this uncertainty by extensive application of scanning methods. By contrast, we herein model the attack planning problem in terms of partially observable Markov decision processes (POMDP). This allows to reason about the knowledge available, and to intelligently employ scanning actions as part of the attack. As one would expect, this accurate solution does not scale. We devise a method that relies on POMDPs to find good attacks on individual machines, which are then composed into an attack on the network as a whole. This decomposition exploits network structure to the extent possible, making targeted approximations (only) where needed. Evaluating this method on a suitably adapted industrial test suite, we demonstrate its effectiveness in both runtime and solution quality.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- An algorithm to find optimal attack paths in nondeterministic scenarios2011
- Guest Editors' Introduction: Why Attacking Systems Is a Good IdeaIEEE Security & Privacy, 2004
- The Metric-FF Planning System: Translating ``Ignoring Delete Lists'' to Numeric State VariablesJournal of Artificial Intelligence Research, 2003
- Planning and acting in partially observable stochastic domainsArtificial Intelligence, 1998
- State of the Art—A Survey of Partially Observable Markov Decision Processes: Theory, Models, and AlgorithmsManagement Science, 1982
- Algorithm 447: efficient algorithms for graph manipulationCommunications of the ACM, 1973