Introduction
Active Directory (AD) networks serve as the backbone of Windows domain security, utilized by approximately 90% of Fortune 500 companies. However, these networks are prime targets for "identity snowball" attacks, where attackers escalate privileges from low-level accounts to reach the "Domain Admin" (DA) account. Researchers have developed new, highly scalable algorithms to protect these environments by strategically revoking user permissions. By exploiting the "tree-like" structure of real-world organizational networks, these algorithms can find optimal defense strategies for massive graphs with tens of thousands of nodes—a task previously considered computationally infeasible.
The Challenge: Identity Snowball Attacks
In an identity snowball attack, a hacker starts with a low-privilege account and hops through a series of exploits or existing permissions to reach the keys to the kingdom. Security professionals use tools like BloodHound to map these attack paths.
To defend, they must "block" edges (e.g., revoke a specific access right), but they face a limited budget and cannot disrupt business operations. This is modeled as a "Stackelberg game": the defender moves first to block edges, and a strategic attacker then chooses the path with the highest success probability. Finding the best edges to block is an NP-hard problem, meaning it becomes exponentially harder as the network grows.
Proposed Methods
The authors propose two main approaches based on the structural properties of AD graphs:
- TDCYCLE (Tree Decomposition Dynamic Programming): AD graphs often mirror organizational charts, making them "tree-like." The authors use tree decomposition to break large graphs into smaller, manageable "bags" of nodes. To handle memory constraints on complex graphs, they developed a method to convert the DP state-space into a Reinforcement Learning (RL) environment, allowing an agent to search for near-optimal solutions in an "anytime" fashion.
- Kernelization & MIP: Observing that most nodes in AD have only one outgoing "privilege escalation" edge, the authors defined non-splitting paths (#NSP). By collapsing long chains of single-exit nodes, they "kernelize" (shrink) the graph significantly. This smaller model is then solved using Mixed-Integer Programming (MIP).
- Mixed Strategy Defense: Unlike previous work focusing on "pure" strategies, this paper handles mixed strategies (blocking an edge with a certain probability) using a logarithmic transformation to linearize the problem.
Datasets and Evaluation
The study uses synthetic AD graphs from industry-standard tools:
- DBCREATOR: Generates realistic AD environments like "R2000" (~6k nodes) and "R4000" (~12k nodes).
- ADSIMULATOR: Generates more complex, denser graphs like "ADS10" (~3k nodes).
Key Results and Insights
The proposed algorithms demonstrated exceptional scalability and speed. The Kernelization/MIP approach was particularly fast, often finding optimal solutions in 0.01 to 0.10 seconds for graphs where traditional DP struggled.
Key insights include:
- Structure is Key: The "tree-likeness" (treewidth) and the lack of "splitting" nodes in AD are the specific keys to scalability.
- The Power of Kernelization: Focusing on "block-worthy" edges allows reducing a massive network into a tiny core solvable in milliseconds.
- Bridging DP and RL: The DP-to-RL conversion provides a robust alternative when exact mathematical solutions are too computationally expensive. The RL-based algorithm achieved optimal results in 10 out of 10 trials for the R2000 dataset.
Limitations and Future Work
While highly effective, the TDCYCLE algorithm still faces challenges with high-treewidth graphs. Additionally, the model assumes static edge failure rates, whereas real-world attackers might evolve. Future work aims to explore more complex attacker models and apply the DP-to-RL technique to other combinatorial problems.
Summary updated