QFlip: An Adaptive Reinforcement Learning Strategy for the FlipIt Security Game

Lisa Oakley, Alina Oprea
6/27/2019
cs.CRcs.GTcs.LG

Official code: lisaoakley/gym-flipit (4 stars, last commit 2019-12-18). 1 more implementation below.

Abstract

A rise in Advanced Persistent Threats (APTs) has introduced a need for robustness against long-running, stealthy attacks which circumvent existing cryptographic security guarantees. FlipIt is a security game that models attacker-defender interactions in advanced scenarios such as APTs. Previous work analyzed extensively non-adaptive strategies in FlipIt, but adaptive strategies rise naturally in practical interactions as players receive feedback during the game. We model the FlipIt game as a Markov Decision Process and introduce QFlip, an adaptive strategy for FlipIt based on temporal difference reinforcement learning. We prove theoretical results on the convergence of our new strategy against an opponent playing with a Periodic strategy. We confirm our analysis experimentally by extensive evaluation of QFlip against specific opponents. QFlip converges to the optimal adaptive strategy for Periodic and Exponential opponents using associated state spaces. Finally, we introduce a generalized QFlip strategy with composite state space that outperforms a Greedy strategy for several distributions including Periodic and Uniform, without prior knowledge of the opponent's strategy. We also release an OpenAI Gym environment for FlipIt to facilitate future research.

View on arXivView PDF

Code Implementations(2)

40PythonJan 16, 20196 years ago
41PythonJun 26, 20196 years ago

Cite this paper

@article{oakley2019qflip,
  title  = {QFlip: An Adaptive Reinforcement Learning Strategy for the FlipIt Security Game},
  author = {Lisa Oakley and Alina Oprea},
  year   = {2019},
  eprint = {1906.11938},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.11938}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.11938.svg)](https://codeofpaper.com/paper/1906.11938)

Discussion