Azurehound / Guides / Defence

Reading Azurehound Attack Paths and Fixing What You Find

Interpret the Azure attack paths that Azurehound and BloodHound reveal, prioritise the most dangerous edges and apply practical remediation in Entra ID and Azure.

Reading Azurehound Attack Paths and Fixing What You Find

From Graph to Action

The first time you load Azurehound data into BloodHound, the result can be overwhelming. Thousands of nodes, tens of thousands of edges, and a pathfinding query that reveals dozens of routes to Global Administrator. The temptation is either to panic or to file the graph away as "interesting". Neither helps.

The real value of Azurehound lies in turning that graph into a short, prioritised list of changes that measurably reduce risk. This guide explains how to read Azure attack paths, which patterns matter most and how to fix them in a way that sticks.

Thinking in Paths, Not Permissions

Traditional access reviews ask, "Does this person need this permission?" Attack-path thinking asks, "What can this person ultimately reach?" The difference is critical. A permission that looks harmless in isolation, such as owning a small application, becomes dangerous when that application's service principal holds a powerful Graph role.

Azurehound captures the relationships that make these chains possible. BloodHound then calculates where those chains lead. Your job is to find the links that are both risky and unnecessary.

Defining Your Tier Zero

Before analysing paths, decide what you are protecting. Tier zero in Azure typically includes:

  • Global Administrator and Privileged Role Administrator roles.
  • Other roles that can grant or assume high privilege, such as Privileged Authentication Administrator.
  • Service principals with Graph application permissions capable of granting roles or permissions.
  • Owners and User Access Administrators of the root management group and critical subscriptions.
  • Identities that control hybrid synchronisation infrastructure.

Anything with a path to these targets is effectively tier zero too, whether intended or not.

Common Attack-Path Patterns

1. Application ownership chains

A regular user owns an application registration. That user can add a secret to the application (an AZAddSecret relationship) and authenticate as its service principal. If the service principal holds a high-privilege role or Graph permission, the user can effectively assume that privilege.

Fix: remove unnecessary owners from privileged applications, restrict application ownership to administrators, and review applications with powerful permissions regularly.

2. Dangerous Graph application permissions

Some Microsoft Graph application permissions allow a service principal to grant itself, or others, further rights. BloodHound represents these with edges such as AZMGGrantAppRoles and related AZMG edges.

Fix: audit all service principals with application permissions that can modify roles, app role assignments or directory objects. Remove permissions that are not strictly required and treat the remaining ones as tier-zero assets.

3. Password-reset paths

Roles such as Helpdesk Administrator or Authentication Administrator can reset passwords for certain users. If those users hold privileged roles or own privileged objects, the reset becomes an escalation path (AZResetPassword).

Fix: protect privileged accounts with role-assignable groups and administrative units where appropriate, so lower-tier administrators cannot reset them, and require phishing-resistant MFA for privileged accounts.

4. Standing privileged role assignments

Permanent Global Administrator or Privileged Role Administrator assignments create large, constant targets.

Fix: move privileged roles into Privileged Identity Management eligibility, require approval and MFA on activation, and keep a minimal set of break-glass accounts monitored closely.

5. Azure RBAC over-assignment

Owner, Contributor or User Access Administrator at broad scopes such as management groups gives control over many resources and, crucially, the ability to grant access to others.

Fix: assign the narrowest role at the narrowest scope. Prefer resource-group or resource-level assignments, use custom roles where built-in ones are too broad, and review inherited assignments from management groups.

6. Virtual machine to managed identity

A principal able to run commands on a virtual machine (AZExecuteCommand) can act as the VM's managed identity (AZManagedIdentity). If that identity holds broad rights, compute access becomes cloud control.

Fix: give managed identities least privilege, restrict who can run commands on VMs, and prefer user-assigned identities with tightly scoped roles.

7. Key vault access

Key vaults store secrets, certificates and keys, sometimes including credentials for privileged service principals. Principals with access to read secrets may inherit whatever those secrets unlock.

Fix: use Azure RBAC for key vaults with narrowly scoped secret reader roles, audit access policies and store as few high-privilege credentials as possible.

Prioritising Remediation

Not every path deserves equal attention. Prioritise using three questions:

QuestionWhy it matters
How many principals use this edge?An edge shared by many paths is a choke point
How easy is the edge to abuse?Password resets and secret additions are simple and fast
How costly is removal?Removing an unused owner is cheap; redesigning an app is not

Choke points that are easy to abuse and cheap to remove should be fixed first. BloodHound's pathfinding makes choke points visible: if many paths pass through one group or application, removing a single relationship can eliminate them all.

Making Fixes Stick

Removing an edge once is not enough if the process that created it remains. Pair every fix with a control:

  • Application governance: require approval for new applications requesting high-privilege permissions.
  • Ownership policy: restrict who can own applications and groups used for privileged access.
  • PIM everywhere it matters: make privileged roles eligible rather than active.
  • Access reviews: schedule recurring reviews for privileged groups and roles.
  • Infrastructure as code: define RBAC assignments in code so changes are reviewed.

Measuring Progress With Azurehound

Run Azurehound on a regular schedule and track a small number of metrics:

  • Number of principals with a path to Global Administrator.
  • Number of service principals with high-risk Graph permissions.
  • Number of standing privileged role assignments.
  • Number of Owner or User Access Administrator assignments at management-group scope.

These metrics turn attack-path management into a measurable programme and give leadership a clear view of progress.

Communicating Findings

Graphs persuade. A screenshot showing a helpdesk account three steps from Global Administrator often achieves what a long report cannot. When presenting Azurehound findings, show the path, explain each step in plain language, state the single recommended fix and estimate the effort. Decision-makers respond to clear cause and effect.

Building an Attack-Path Management Programme

Fixing individual paths is useful; building a programme makes the improvement permanent. An attack-path management programme gives ownership, cadence and accountability to the work Azurehound enables.

Begin by appointing an owner, typically in identity security or cloud security, who is responsible for the collection schedule and the metrics. Define a cadence, such as monthly collections with a review meeting shortly after each one. Invite representatives from identity administration, cloud platform engineering and application owners, because the fixes usually sit in their areas.

At each review, present the agreed metrics, highlight the most significant new paths, and assign each remediation to an owner with a target date. Track progress in the same ticketing system used for other security work, so attack-path findings sit alongside vulnerabilities and audit actions rather than in a separate silo.

Using exceptions wisely

Some paths cannot be removed quickly, perhaps because an application depends on a broad permission. Record these as formal risk exceptions with a named approver, compensating controls such as additional monitoring, and an expiry date. Revisit each exception at the next review. Exceptions that never expire quietly become permanent risk.

Celebrating progress

Finally, share improvements. A chart showing the number of principals with a path to Global Administrator falling from hundreds to a handful is a powerful message. It rewards the teams doing the work and demonstrates the value of investing time in Azurehound-driven analysis.

Key Takeaways

  • Define tier zero clearly before analysing attack paths.
  • Look for application ownership chains, dangerous Graph permissions and password-reset paths first.
  • Prioritise choke points that are easy to abuse and cheap to remove.
  • Pair every fix with a lasting control such as PIM, access reviews or application governance.
  • Track a handful of metrics across regular Azurehound collections to prove progress.

FAQs

It is a chain of relationships, such as ownership, role assignment or permission, that allows one principal to gain control over another object.
Start with choke points leading to Global Administrator that are easy to abuse and cheap to remove, such as unnecessary application owners.
Often, yes. Many paths share the same edges, so removing one well-chosen relationship can eliminate several paths at once.
Run Azurehound again after the change, import the new data and repeat the pathfinding query. The path should no longer appear.
Most represent real capabilities, but some depend on conditions such as Conditional Access or PIM activation. Treat each path as a risk and validate its practicality where necessary.
Monthly reviews work well for most organisations, with extra collections after major identity or infrastructure changes.

Conclusion

Azurehound and BloodHound reveal how privilege actually flows through Azure, not how it was intended to flow. By defining tier zero, recognising common patterns, prioritising choke points and pairing each fix with a lasting control, you can turn an intimidating graph into steady, measurable progress. Collect regularly, track a few clear metrics, and every cycle will leave fewer paths for an attacker to follow.