Practical Fixed-Parameter Algorithms for Defending Active Directory Style Attack Graphs

Mingyu Guo, Jialiang Li, Aneta Neumann, Frank Neumann, Hung Nguyen

Active Directory (AD) serves as the administrative backbone for most corporate networks, making it a primary target for "identity snowball attacks." In these attacks, adversaries escalate privileges from low-level accounts to Domain Admin status. While tools like BloodHound help attackers identify these paths, the defensive task of revoking specific permissions (edges) to protect the network is a computationally daunting task. Researchers from the University of Adelaide have developed a suite of fixed-parameter algorithms to make optimal AD defense practical for large-scale networks.

The Shortest Path Edge Interdiction Problem

Defending an AD network involves the shortest path edge interdiction problem: selecting a subset of edges to block, within a limited defensive budget, to maximize the attacker's shortest path to a target. This problem is NP-hard, and real-world AD environments—often containing thousands of nodes—render standard exhaustive search methods unusable. The goal is to find an optimal set of edges to revoke that minimizes the attacker's success rate across multiple entry points.

Proposed FPT Algorithms and Heuristics

The authors model the defense as a Bayesian Stackelberg game where the defender moves first. They exploit the "tree-like" structure of AD graphs to develop three Fixed-Parameter Tractable (FPT) algorithms and one neural heuristic:

  1. BUDGETFPT: Efficient when the path length ($l$), budget ($b$), and entry nodes ($s$) are small.
  2. Tree-Decomposition DP: A dynamic programming approach optimized for acyclic, tree-like organizational structures.
  3. SPLITFPT: Targets "splitting nodes" where attackers face multiple choices.
  4. GCN Heuristic: An unsupervised Graph Convolutional Neural Network used for complex graphs where exact algorithms are too slow.
Complexity of the proposed FPT algorithms based on graph parameters.

Experimental Evaluation

The algorithms were tested on synthetic AD topologies generated by DBCreator, including the R2000 graph containing nearly 6,000 nodes and 18,000 edges. The results demonstrate that exploiting graph structure allows for near-instantaneous optimal solutions in many cases.

Performance comparison showing success rates and execution times for different defense strategies.

As shown in the performance data, the DP approach is exceptionally fast, processing large graphs in milliseconds. In scenarios with "substitutable" edges—where simple greedy algorithms often fail—the GCN heuristic and DP approach achieved a significantly lower attacker success rate (0.465) compared to the Greedy approach (0.566), where a lower rate indicates a more effective defense.

Key Insights and Future Work

A critical finding is that real-world AD structures are "structurally close to trees," which makes these NP-hard problems solvable in practice. While the current DP algorithm requires acyclic graphs, AD administrators can often convert cyclic graphs into Directed Acyclic Graphs (DAGs) with minimal impact. Future research may explore mixed strategies (probabilistic blocking) and validation on anonymized real-world corporate data to further enhance AD security postures.

Summary updated

BibTeX
@inproceedings{guo2022practical,
  author = {Mingyu Guo and Jialiang Li and Aneta Neumann and Frank Neumann and Hung Nguyen},
  title = {{Practical Fixed-Parameter Algorithms for Defending Active Directory Style Attack Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i9.21167},
}
Figure