University of Adelaide
Algorithms and Graph Models for the Mitigation of Identity Snowball Attacks
Abstract
dc:description.abstractIn recent years, identity-based security threats have attracted growing attention. In widely adopted identity management systems such as Active Directory (AD), a threat actor gains initial access through social engineering, then moves laterally to escalate their privileges until they successfully compromise a high-value target. The discovery of new attack vectors targeting AD is ongoing. Due to the prevalence of AD and the value of information assets, AD is increasingly susceptible to ransomware attacks. The industry has reported a steep drop in the attacker’s breakout speed. In an AD attack graph that models all network objects and exploitable interrelationships, typically billions of attack paths exist. Existing solutions are either not designed to mitigate attack paths or lack scientific rigour. E”cient solutions that provide timely suggestions for rapid defence actions to prevent the attacker from reaching high-value targets are in urgent demand. The main security objective of our work is to mitigate the risks associated with lateral movements in an identity management system and reduce the likelihood of an attacker compromising high-value network entities. We strive to design algorithms that identify small numbers of network configuration changes that maximise the security benefit. By exploring various topological properties and algorithms, we examine and mitigate the attack surface from di!erent angles. In addition to e!ectiveness and e”ciency, we prioritise the practicality and adaptability of the security-hardening algorithms we develop to ensure that they can be readily adopted for real-world security applications. In graph-theoretic terms, the security risk is characterised by the connectivity between vulnerable low-privileged accounts and high-value targets. A core idea in the security-hardening strategies we propose is to remove a small number of network configurations that can mostly e!ectively reduce this graph connectivity. The connectivity is commonly measured in terms of the attack paths. The first securityhardening angle we explore is to formulate the security problem as a shortest path interdiction problem, where the attacker’s chance of success to reach high-value targets is determined by shortest paths, and the defender’s task is to minimise the attacker’s chance of success by removing misconfigurations within the defender’s budget. Each attack path’s exploitation di”culty is encoded in the path length in a non-trivial way so that shortest paths give the attacker the greatest chance of success. Under a Stackelberg game model, we propose a double oracle algorithm for solving the problem, which has significantly improved e”ciency and scalability compared with alternative solutions. The second security-hardening approach we investigate in this thesis is the identification of choke points in the AD attack graph. Identification of choke points aligns with the general principle of minimising the attack surface under a small defence budget. In the background where the severity of the attack surface is described in terms of the number of attack paths, the mitigation solutions that populate the industry frequently explore the mapping and elimination of shortest paths, where the path length is measured in terms of the number of edges. In this thesis, we provide a number of arguments on why the attack path-based definition of the attack surface is flawed. The arguments are supported by a series of experiments, a review of transcripts from interviews with white-hat hackers, and theoretical reasons showing their lack of rigour. To solve those issues, we propose a new attack path choke point metric. We define the attack surface as the number of entities with a path to the high-value target, rather than the number of attack paths. In this metric, we place more focus on the number of entities that have a path to the high-value target, replacing the uninformed and arbitrary enumeration of shortest paths. The new metric is not only better suited for mitigating identity-related security risks, but it also o!ers greater computation optimality and utility in the mitigation of the attack surface. The new choke point metric falls under the category of judicious graph partitioning problem, which is a type of graph optimisation problem where multiple variables are optimised simultaneously. The judicious graph partitioning problem we propose is a novel graph problem that was not previously investigated and had no preexisting solutions. We first provide proof that this new graph problem is NP-hard. We propose an Integer Linear Programming (ILP) solution that produces optimal results. However, ILP’s computational e”ciency su!ers on graphs of real-world network sizes. For better practicality, we investigate anytime algorithms that allow the user to balance the trade-o! between the timeliness and optimality of the defence suggestions. We develop two Monte Carlo Tree Search (MCTS) algorithms. Based on our observations about the source connectivity of subgraphs and factors limiting the e”ciency of ILP, we propose a spiral anytime algorithm, which iteratively runs the ILP with the space of variables under optimisation being built up in an informed way with a heuristic. We show that the spiral algorithm outperforms the alternative ILP and MCTS algorithms, and can guarantee greater confidence in the optimality of the result. In this thesis, we also investigate limitations inherent in the AD attack graph model and consider security loopholes rooted in those limitations. This is particularly important for domain escalation risks in Active Directory Certificate Services (ADCS), where the security risk is caused by complex combinations of vulnerabilities existing in multiple network objects. Without an accurate and expressive model for the system environment, the attack surface is inevitably underestimated, reflected in a smaller number of attack paths and fewer principals deemed risky. In our work, we investigate the use of directed hypergraphs for modelling complex ADCS domain escalation dependencies. We show that directed hypergraphs can even model ADCS escalation types that currently do not have a model. We provide hypergraph algorithms for common security queries. Using directed hypergraphs, we also uncover higherorder domain escalation pathways where multiple access permissions combined, rather than a single compromised principal, become the source of the attack path. This hypergraph-based higher-order domain escalation risk in ADCS has not been previously investigated in research.
Degree
thesis:*- College dc:contributor.school
- School of Computer and Mathematical Sciences
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Yumeng
- Advisors dc:contributor.advisor
-
- Nguyen, Hung
- Ward, Max (The University of Western Australia)
Subjects
dc:subject × 4Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/2440/152669