Open-source · GPL-3.0 · Go

Azurehound - Maps Azure Identity Attack Paths

Azurehound captures Microsoft Entra ID identities, Azure resources, and permission relationships for BloodHound, giving authorised security teams the evidence to trace potential attack paths and prioritise fixes across cloud environments.

20+Object types listed
5Sign-in methods
3Desktop platforms
Read-only collection
azurehound — collection
BloodHound-ready JSON
02 / Overview

What Is Azurehound?

A purpose-built collector that turns cloud identity sprawl into a graph you can actually reason about.

Azurehound attack-path graph displayed on a monitor
Entra ID + Azure Resource Manager

Azurehound is a command-line collector, written in Go by SpecterOps, that gathers identity and permission data from Microsoft Azure for analysis in BloodHound. Where the Azure portal shows you one object at a time, Azurehound records every user, group, application, service principal, role assignment and resource, together with the relationships that connect them.

The value lies in those relationships. A helpdesk account that can reset a password, which belongs to a user who owns an application, whose service principal holds a privileged Graph permission, is a chain no single portal blade will reveal. Once Azurehound output reaches BloodHound, that chain becomes a visible attack path that defenders can measure, prioritise and break.

Azurehound replaced the earlier PowerShell script, AzureHound.ps1, and is now the supported way to bring Azure data into both BloodHound Community Edition and BloodHound Enterprise.

Entra ID / AzureAzurehoundJSONBloodHound
03 / Capabilities

Azurehound Features That Matter

Everything in Azurehound is designed around one goal: a complete, accurate graph of who can do what in your cloud.

01

Dual-Plane Collection

Lists Entra ID directory objects and Azure Resource Manager resources in one run, so identity and infrastructure appear in the same graph.

02

Flexible Authentication

Sign in with a password, refresh token, JWT, client secret or certificate, which makes Azurehound practical for audits, red teams and automation alike.

03

Single Static Binary

Compiled Go means no runtime, no modules and no dependency conflicts. Copy the executable to any supported machine and it runs.

04

Granular Listing

Collect everything, only az-ad, only az-rm, or a single object type such as users, key vaults or role assignments.

05

Read-Only by Design

Azurehound only issues read requests to Microsoft Graph and Azure APIs. Nothing in your tenant is created, changed or deleted.

06

Enterprise Service Mode

The configure and start commands let Azurehound run as a scheduled collector that streams data into BloodHound Enterprise.

04 / Workflow

How Azurehound Works

From sign-in to attack path in four predictable stages.

1

Authenticate

Azurehound obtains tokens for Microsoft Graph and Azure Resource Manager using the credential you supply.

2

Enumerate

It pages through directory objects, role definitions, assignments and resources across every reachable subscription.

3

Serialise

Each object and relationship is written as structured JSON in the format BloodHound expects.

4

Analyse

BloodHound ingests the file, builds AZ nodes and edges, and lets you query the shortest paths to high-value targets.

Why the graph matters: Azure permissions are inherited through management groups, granted through directory roles, delegated through application ownership and exercised through managed identities. Azurehound captures all of these layers, which is why its output reveals paths that a permission-by-permission review routinely misses.

05 / Setup

Azurehound Install Guide

Choose the method that suits your platform. Each route ends with the same azurehound command.

# Linux / macOS — after extracting the release archive
chmod +x azurehound
./azurehound --version

# Windows PowerShell
.\azurehound.exe --version
  1. Open the Releases page of the official Azurehound GitHub repository.
  2. Download the archive for your platform, for example azurehound-windows-amd64.zip or azurehound-linux-amd64.zip.
  3. Extract it and run the version check above.
sudo apt update
sudo apt install azurehound
azurehound -h
  1. Kali Linux ships Azurehound in its official repositories.
  2. The package installs the binary on your PATH, so it runs from any directory.
  3. Pair it with the Kali BloodHound package for an all-in-one analysis machine.
brew install azurehound
azurehound --version
  1. Homebrew offers an Azurehound formula for macOS and Linux.
  2. Update later with brew upgrade azurehound.
# requires a recent Go toolchain (Go 1.25+)
unzip AzureHound-main.zip
cd AzureHound-main
go build -ldflags="-s -w" -o azurehound
./azurehound --version
  1. Use the download button on this page to get the main-branch source.
  2. Building from main gives you the newest changes, which may be less tested than a tagged release.
06 / Applications

Azurehound Use Cases

Defenders, assessors and cloud architects rely on Azurehound for different reasons.

Azurehound collection running in a terminal

Attack-Path Management

Blue teams measure how many principals can reach Global Administrator or critical subscriptions, then remove the edges that create the most exposure.

Authorised Penetration Testing

Red teams and consultants use Azurehound during scoped engagements to demonstrate realistic escalation chains to stakeholders.

Privileged Access Reviews

Identity teams compare successive collections to spot new owners, role assignments and application permissions that slipped past change control.

Mergers and Tenant Onboarding

When a new tenant joins the organisation, a single run shows exactly what risk is being inherited before trust is extended.

Incident Response

Responders map what a compromised account or service principal could have reached, which narrows scoping and speeds containment.

07 / Get It

Azurehound Download

Get the latest main-branch source of Azurehound, straight from the official GitHub repository.

The archive contains the complete Go source code, licence and documentation. Build it with a single command, or pick a pre-compiled binary from the repository's Releases page if you prefer not to compile.

Download Azurehound (ZIP)

The file is served directly by GitHub. Always verify you are downloading from the SpecterOps repository.

SoftwareAzurehound
DeveloperSpecterOps
PackageSource archive (main branch)
LanguageGo
LicenceGPL-3.0
PlatformsWindows · Linux · macOS
PriceFree
08 / Compatibility

Azurehound Compatibility & Comparison

Where Azurehound runs, and how it compares with the tools people most often weigh it against.

Windows x64 / ARM64Linux x64 / ARM64macOS Intel & Apple SiliconKali Linux packageHomebrewBloodHound CEBloodHound Enterprise
CapabilityAzurehoundAzureHound.ps1ROADtoolsScoutSuite
LanguageGo binaryPowerShellPythonPython
BloodHound-ready outputNativeLegacy formatVia pluginNo
Entra ID objectsYesYesYesPartial
Azure RM resourcesYesYesLimitedYes
Attack-path focusPrimary goalPrimary goalReconnaissanceMisconfigurations
Actively maintainedYesDeprecatedCommunityCommunity
Cross-platformYesMostly WindowsYesYes
09 / Fixes

Azurehound Troubleshooting

The issues people meet most often, and how to resolve them quickly.

Sign-in fails with an MFA or AADSTS error
Password authentication cannot answer an MFA prompt. Switch to a refresh token captured through an interactive sign-in, or use a service principal with a secret or certificate.
"azurehound: command not found"
The binary is not on your PATH. Run it with ./azurehound from its folder, move it to /usr/local/bin, or install through apt or Homebrew.
Permission denied on Linux or macOS
Mark the file as executable with chmod +x azurehound. On macOS, clear the quarantine flag with xattr -d com.apple.quarantine azurehound if Gatekeeper blocks it.
Collection finishes but Azure resources are missing
The identity lacks Azure RBAC rights. Grant the Reader role at subscription or root management-group scope so Azurehound can see resources.
Requests slow down or return 429 errors
Microsoft Graph is throttling you. Azurehound retries automatically; run during quieter hours and avoid parallel collections against the same tenant.
BloodHound will not ingest the JSON file
Confirm the collection completed, the file is not truncated, and your BloodHound version supports the current Azurehound output. Upgrading both together resolves most mismatches.
Go build fails from source
Your Go toolchain is too old. Install the version stated in the README (currently Go 1.25 or later) and run go build again.
Antivirus quarantines the executable
Security tools sometimes flag offensive-security utilities. Verify the source, then add an exclusion approved by your security team for the audit workstation.
10 / Requirements

Azurehound System Requirements

Azurehound is lightweight; tenant size matters far more than hardware.

Minimum

Small tenants

  • OSWindows 10, modern Linux, macOS 11+
  • CPU2 cores, x64 or ARM64
  • Memory4 GB RAM
  • Disk500 MB free
  • NetworkHTTPS to Microsoft APIs
Recommended

Enterprise tenants

  • OSWindows 11, Ubuntu / Kali, macOS 13+
  • CPU4+ cores
  • Memory8–16 GB RAM
  • Disk5 GB+ for output files
  • NetworkStable, low-latency link
Build & Analysis

Source + BloodHound

  • ToolchainGo 1.25 or later
  • ToolsGit or unzip
  • BloodHound CEDocker & Docker Compose
  • Memory16 GB for large graphs
  • BrowserCurrent Chrome, Edge or Firefox
11 / Trust

Is Azurehound Safe?

The tool is safe; how you handle it and its output decides the real risk.

  • Open, auditable sourceEvery line of Azurehound is public on GitHub under GPL-3.0, so its behaviour can be reviewed.
  • Read-only operationsThe collector lists data and never writes to your tenant or subscriptions.
  • Protect the outputThe JSON file is a map of your privileges. Encrypt it, restrict access and delete it when the review ends.
  • Use official sources onlyDownload from the SpecterOps repository, Kali repositories or Homebrew, never from re-uploads.
  • Authorisation firstRun Azurehound only against tenants you own or are contracted to assess.
Azurehound safety and secure collection illustration
12 / Verdict

Azurehound Pros and Cons

A balanced view to help you decide whether it fits your workflow.

+Strengths

  • Purpose-built for BloodHound. Output imports without conversion.
  • Covers identity and resources. Entra ID and Azure RM in one graph.
  • Portable. A single binary for Windows, Linux and macOS.
  • Free and open-source. Backed by an active, well-known maintainer.
  • Automation-friendly. Service principal sign-in and service mode.
VS

−Limitations

  • Command-line only. No graphical interface of its own.
  • Needs BloodHound. The JSON is of limited use without it.
  • MFA friction. Password sign-in fails on MFA-protected accounts.
  • Throttling on large tenants. Big collections can take time.
  • Sensitive output. Files must be handled with real care.

Azurehound FAQs

Azurehound is the official BloodHound data collector for Microsoft Azure. It queries Microsoft Entra ID and Azure Resource Manager, then writes the objects and relationships it finds to a JSON file that BloodHound turns into an attack-path graph.
Azurehound is developed and maintained by SpecterOps, the team behind BloodHound. The source code is published on GitHub under the GPL-3.0 licence.
Yes. Azurehound is open-source software released under GPL-3.0. You can download, build and run it at no cost. A commercial edition of BloodHound exists, but the collector itself is free.
Azurehound is a legitimate auditing tool. It is lawful to run it against tenants you own or have written authorisation to assess. Running it against an organisation without permission may breach computer-misuse laws and Microsoft's terms.
It collects users, groups, applications, service principals, devices, directory roles, role assignments, tenants, management groups, subscriptions, resource groups, virtual machines, key vaults and several other Azure resource types, along with the relationships between them.
No. Azurehound performs read-only API calls. It lists objects and permissions but does not create, modify or delete anything in Entra ID or Azure.
SharpHound collects on-premises Active Directory data from Windows domains, while Azurehound collects cloud identity and resource data from Microsoft Entra ID and Azure. Both feed the same BloodHound interface.
The download button on this page links to the main-branch source archive on GitHub. Pre-built binaries for Windows, Linux and macOS are also attached to each release in the official GitHub repository.
Kali Linux packages the tool in its repositories. Run sudo apt update followed by sudo apt install azurehound, then confirm the installation with azurehound --version.
Extract the source archive, make sure a recent Go toolchain is installed (the current README asks for Go 1.25 or later), and run go build -o azurehound inside the project folder.
No. Azurehound is written in Go and compiles to a single static binary. Python is only useful if you want to post-process the JSON output or work with Python-based companion tools.
AzureHound.ps1 was the original PowerShell collector that shipped with older BloodHound releases. It has been superseded by the Go-based Azurehound, which is faster, cross-platform and actively maintained.
Any authenticated user can read much of Entra ID by default. For complete coverage, a service principal with Directory.Read.All and RoleManagement.Read.All on Microsoft Graph plus the Reader role on your Azure subscriptions or root management group is the usual setup.
Run azurehound list with your tenant and a credential, for example azurehound list -u user@contoso.com -p password --tenant contoso.onmicrosoft.com -o output.json, then upload output.json to BloodHound.
It supports username and password, refresh tokens, existing JWT access tokens, service principal secrets and service principal certificates.
Username and password sign-in cannot satisfy multi-factor prompts. Use a refresh token obtained through an interactive sign-in, or a service principal, instead.
Small tenants finish in a few minutes. Large tenants with tens of thousands of users and many subscriptions can take considerably longer because Microsoft Graph applies throttling.
Open BloodHound Community Edition, go to the file upload area (labelled File Ingest or Upload Files depending on version) and select the JSON file. Ingestion runs in the background and the graph updates when it completes.
Yes. Use azurehound list az-ad for directory objects only, or azurehound list az-rm for Azure Resource Manager objects only. Individual object types such as users or key-vaults can also be listed separately.
ROADtools (roadrecon) is a popular Python-based option for Entra ID reconnaissance, while ScoutSuite and Prowler focus on configuration auditing. None of them produce BloodHound-ready attack paths in quite the same way.