A Multi-Agent Reinforcement Learning Approach for Dynamic Information Flow Tracking Games for Advanced Persistent Threats

Dinuka Sahabandu, Shana Moothedath, Joey Allen, Linda Bushnell, Wenke Lee, Radha PoovendranarXiv 2020

Introduction

Advanced Persistent Threats (APTs) represent one of the most significant challenges in modern cybersecurity. Unlike traditional malware, APTs are characterized by their stealth, longevity, and high level of sophistication. These attackers often remain embedded within a network for months, moving laterally to exfiltrate sensitive data. To counter these threats, defenders utilize Dynamic Information Flow Tracking (DIFT), a technique that "taints" data from untrusted sources and monitors its propagation through system processes.

While DIFT is highly effective, it introduces a significant trade-off: the computational overhead of tracking every data flow and performing security checks can severely degrade system performance. This paper proposes a game-theoretic approach to optimize DIFT deployment, modeling the interaction between a defender and an APT as a strategic game to balance security efficacy with resource consumption.

Problem Formulation

The fundamental challenge in DIFT-based defense is finding a policy that is both resource-efficient and robust against adaptive adversaries. The authors model this interaction as a two-player, nonzero-sum, infinite-horizon, average reward stochastic game.

This model addresses several real-world complexities:

  1. Information Asymmetry: The defender cannot perfectly distinguish between malicious and benign flows, and the attacker lacks full visibility into where the defender has placed security checks.
  2. Incomplete Information: The transition probabilities—such as the likelihood of a false alarm or a missed detection—are typically unknown in real-world environments.
  3. Resource Constraints: Every security check incurs a cost, while every successful exploit by the attacker incurs a penalty for the defender.

The RL-ARNE Algorithm

To solve this game under conditions of uncertainty, the authors introduce RL-ARNE (Reinforcement Learning for Average Reward Nash Equilibrium). This novel algorithm utilizes a multiple-time scale stochastic approximation method to ensure stability and convergence in a multi-agent environment where both players are learning simultaneously.

The algorithm operates across three distinct time scales:

  • Fast Time Scale: Updates value functions and gradient estimates.
  • Intermediate Time Scale: Estimates the average rewards for both the defender and the attacker.
  • Slow Time Scale: Updates the actual strategies (policies) of the agents.

By updating policies more slowly than the value estimates, the algorithm mitigates the "non-stationarity" problem common in multi-agent reinforcement learning, where the environment appears to change because the opponent is also adapting. The authors mathematically prove that this separation of scales allows the system to converge to an Average Reward Nash Equilibrium (ARNE).

Experimental Methodology

The researchers validated the RL-ARNE framework using a real-world ransomware attack dataset. The data was collected via the Refinable Attack INvestigation (RAIN) framework, which captures system-level logs from a Linux environment.

These logs were transformed into an Information Flow Graph (IFG), representing the movement of data between network sockets, files, and processes. To maintain computational feasibility for the simulation, the graph was pruned to 18 critical nodes and 29 edges, focusing on high-value targets such as the /etc/shadow file and the sudo process. This graph served as the state space for the stochastic game.

Key Results and Discussion

The experimental results confirm that RL-ARNE effectively identifies optimal defense strategies. The Temporal Difference (TD) error for both agents converged toward zero, indicating that a stable Nash Equilibrium was reached.

When compared against standard defense baselines, the ARNE policy demonstrated superior performance:

  • Defender Reward: The ARNE policy achieved a reward of 7.45, significantly higher than a uniform policy (5.48), which checks all flows equally, and a "cut" policy (4.44), which only monitors critical bottlenecks.
  • Attacker Suppression: The ARNE policy was highly effective at minimizing the attacker's utility, reducing the attacker's reward to -9.06. This suggests that the learned policy successfully identifies and protects the most vulnerable paths in the information flow graph.

Conclusion and Future Work

This research demonstrates that multi-agent reinforcement learning can effectively optimize DIFT-based defenses against APTs. By modeling the problem as a stochastic game, defenders can mathematically balance the costs of monitoring against the risks of intrusion.

However, several challenges remain for future exploration. The current RL-ARNE algorithm requires an offline training phase; transitioning this to an online, decentralized model would be necessary for real-time deployment. Additionally, scaling the game-theoretic model to enterprise-level networks with millions of nodes and accounting for multiple concurrent attackers remain critical areas for future research.

Summary updated

BibTeX
@misc{sahabandu2020multi,
  author = {Dinuka Sahabandu and Shana Moothedath and Joey Allen and Linda Bushnell and Wenke Lee and Radha Poovendran},
  title = {{A Multi-Agent Reinforcement Learning Approach for Dynamic Information Flow Tracking Games for Advanced Persistent Threats}},
  year = {2020},
  eprint = {2007.00076},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.00076},
}
Figure