Litcius/Paper detail

Modelling penetration testing with reinforcement learning using capture‐the‐flag challenges: Trade‐offs between model‐free learning and a priori knowledge

Fabio Massimo Zennaro, László Erdődi

2023IET Information Security39 citationsDOIOpen Access PDF

Abstract

Abstract Penetration testing is a security exercise aimed at assessing the security of a system by simulating attacks against it. So far, penetration testing has been carried out mainly by trained human attackers and its success critically depended on the available expertise. Automating this practice constitutes a non‐trivial problem because of the range and complexity of actions that a human expert may attempt. The authors focus their attention on simplified penetration testing problems expressed in the form of capture the flag hacking challenges, and analyse how model‐free reinforcement learning algorithms may help solving them. In modelling these capture the flag competitions as reinforcement learning problems the authors highlight the specific challenges that characterize penetration testing. The authors show how this challenge may be eased by relying on different forms of prior knowledge that may be provided to the agent. Since complexity scales exponentially as soon as the set of states and actions for the reinforcement learning agent is extended, the need to restrict the exploration space by using techniques to inject a priori knowledge is highlighted, thus making it possible to achieve solutions more efficiently.

Topics & Concepts

Reinforcement learningComputer scienceA priori and a posterioriArtificial intelligenceHackerPenetration (warfare)Machine learningFlag (linear algebra)Computer securityOperations researchEngineeringMathematicsPure mathematicsAlgebra over a fieldEpistemologyPhilosophyAdversarial Robustness in Machine LearningSoftware Testing and Debugging TechniquesAdvanced Malware Detection Techniques