Catch Me if You Can: Effective Honeypot Placement in Dynamic AD Attack Graphs

Huy Quang Ngo, Mingyu Guo, Hung X. Nguyen

Abstract

We study a Stackelberg game between an attacker and a defender on large Active Directory (AD) attack graphs where the defender employs a set of honeypots to stop the attacker from reaching high-value targets. Contrary to existing works that focus on small and static attack graphs, AD graphs typically contain hundreds of thousands of nodes and edges and constantly change over time. We consider two types of attackers: a simple attacker who cannot observe honeypots and a competent attacker who can. To jointly solve the game, we propose a mixed-integer programming (MIP) formulation. We observed that the optimal blocking plan for static graphs performs poorly in dynamic graphs. To solve the dynamic graph problem, we re-design the mixed-integer programming formulation by combining m MIP (dyMIP(m)) instances to produce a near-optimal blocking plan. Furthermore, to handle a large number of dynamic graph instances, we use a clustering algorithm to efficiently find the m-most representative graph instances for a constant m (dyMIP(m)). We prove a lower bound on the optimal blocking strategy for dynamic graphs and show that our dyMIP(m) algorithms produce close to optimal results for a range of AD graphs under realistic conditions.

Introduction

Presented at AAAI 2024, this research addresses the high-stakes game of cat-and-mouse played within enterprise networks. Specifically, it focuses on Active Directory (AD), the directory service used by most organizations to manage identities and permissions. AD has become a primary target for attackers seeking "Domain Admin" privileges, which grant total control over the network. The authors propose a scalable, game-theoretic framework for placing honeypots in massive, dynamic AD attack graphs to thwart these efforts.

The Challenge of Dynamic Attack Graphs

In a typical AD attack, hackers use tools like BloodHound to map out "attack graphs"—visual representations of how they can hop from a compromised low-privilege account to a high-value target through various exploits and permissions. Defenders use honeypots (decoy nodes) to trip up these attackers. However, two major hurdles exist:

  1. Scale: Real-world AD graphs are enormous, often containing hundreds of thousands of nodes and millions of potential attack paths.
  2. Dynamism: These graphs are not static. When a user logs onto a workstation, a "HasSession" edge is created, potentially opening a new shortcut for an attacker. When they log off, that path disappears.
A dynamic Active Directory attack graph showing how 'HasSession' edges create paths toward the Domain Admin (DA) target.

Existing research on honeypot placement usually focuses on small, static graphs. This paper addresses the gap by creating a solution that scales to enterprise-level networks and accounts for the constant "churn" of user sessions.

Methodology: dyMIP(m) and Clustering

The researchers model the interaction as a Stackelberg game: the defender places honeypots first, and the attacker (observing the network but perhaps not the honeypots) chooses the best path. To solve this at scale, they introduced several key innovations:

  • Dual Attacker Models: They consider "Simple Attackers" (who take the shortest path) and "Competent Attackers" (who can detect honeypots and route around them). The defense is optimized for a mix of both.
  • dyMIP(m): A dynamic Mixed-Integer Programming formulation that considers $m$ different snapshots of the network to find a "robust" placement strategy.
  • Clustering-based Heuristic: To solve the scalability issue, they use k-means clustering to find "representative" graph states. By solving the MIP only for these cluster centroids, they drastically reduce computation time while maintaining high security.

Datasets and Evaluation

The authors evaluated their approach using a mix of synthetic and real-world data:

  • Synthetic Graphs: Ranging from 1,600 to 137,000 nodes. The largest (ADU100) mimics a large university network.
  • AuthOrg (Real-world): An anonymized dataset containing 102 days of authentication events (14,249 sessions) from a real organization, used to simulate realistic, time-varying edges.

Key Results

The study found that static defenses fail in dynamic environments; a robust strategy looking across multiple possible states is required.

  • Massive Scalability: The algorithm successfully handled the ADU100 graph, featuring 137,315 nodes and nearly 1.5 million edges—orders of magnitude larger than previous methods.
  • High Effectiveness: On the real-world AuthOrg data, the system achieved a low attacker success rate of just 5.83% using a budget of only 10 honeypots.
  • Near-Optimality: The clustering-based heuristic stayed very close to the theoretical "Optimal Lower Bound," with optimality gaps as small as 0.0129 in some scenarios.
The success rate of attackers over time for different honeypot budgets (b=6, 8, 10), demonstrating consistent protection.

Conclusion and Future Work

This framework provides a practical way to secure massive enterprise networks against sophisticated identity-based attacks. While highly effective, the authors note that periodic retraining is necessary as networks evolve. Future work may explore "honey-edges" or more complex decoy types, as well as attackers who learn and adapt to the defender's placement over time.

Summary updated

BibTeX
@inproceedings{ngo2024catch,
  author = {Huy Quang Ngo and Mingyu Guo and Hung X. Nguyen},
  title = {{Catch Me if You Can: Effective Honeypot Placement in Dynamic AD Attack Graphs}},
  booktitle = {INFOCOM},
  year = {2024},
  url = {https://openreview.net/forum?id=DIGiWXZdCM},
}
Figure