SkillAgentSearch skills...

Z Hound

browser-based Active Directory attack graph tool for SharpHound and AzureHound collection data. No server. No install. No Neo4j. Upload a ZIP, get an interactive attack graph.

Install / Use

npx skills add zrnge/Z-Hound

Installs into whichever agent you are using.

README

Z-Hound — Reforged

Live Demo License Stars No Install Offline Ready SharpHound AzureHound

Browser-based Active Directory and Azure AD attack graph tool for SharpHound and AzureHound collection data.
No server. No install. No Neo4j. Upload a ZIP or JSON, get an interactive attack graph.

Built by zrnge


Try It Now

Use it online — no download required:
https://zrnge.github.io/Z-Hound/

Or clone the repository and open index.html locally for fully offline use. All processing happens in the browser — no data ever leaves your machine either way.


What is it?

Z-Hound is a single HTML file that parses SharpHound and AzureHound ZIPs and renders an interactive attack graph of an Active Directory / Azure environment. It replaces the need to spin up Neo4j and BloodHound for quick triage, portable assessments, and client-site work where you cannot install tooling.

Built for pentesters, red teamers, and defenders who need fast, offline AD analysis with zero infrastructure.


Screen1

Quick Start

| Option | Steps | |---|---| | Online | Go to zrnge.github.io/Z-Hound → click Upload ZIP / JSON → select your SharpHound output | | Offline | Download index.html → open in browser → click Upload ZIP / JSON → select your SharpHound output |

After the CDN scripts load once (Cytoscape.js, JSZip, Tailwind), the page works fully offline on subsequent opens.


Features

Data Ingestion

  • Upload a SharpHound ZIP (all JSON files processed automatically) or individual JSON files
  • Upload AzureHound ZIP for full Azure / Entra ID analysis
  • Supports SharpHound v3 / v4 / v5 output formats and BloodHound CE graph exports
  • Parses Sessions, PrivilegedSessions, and RegistrySessions
  • Resolves SIDs and GUIDs from both Properties.objectsid and item.ObjectIdentifier
  • Auto-synthesises well-known built-in domain groups that SharpHound does not explicitly collect
  • 500 MB uncompressed / 100,000 node limit per session

Graph Visualisation

  • Interactive graph powered by Cytoscape.js
  • Five layout modes: Concentric (default), Hierarchical (Dagre), Breadth-First, Force-Directed, Grid
  • Node colour and shape coding by type: Users, Groups, Computers, Domains, OUs, GPOs, Cert Templates, and all Azure object types
  • Node size and border glow scale with risk score — the most dangerous objects stand out instantly
  • DCSync-capable principals render in red; high-value targets in gold
  • Click any node to focus and reveal its neighbourhood
  • Box-select, zoom (0.02×–12×), full pan support
  • Short / Full / Type-only label modes; SID overlay toggle Screen2

Filters & Quick Views

  • Toggle: Hide Orphans, Structure edges, ACL edges, Exec/Admin edges
  • Quick View dropdown with auto-built categories:
    • Special Analysis: DCSync Principals, High Value Targets + Paths
    • NTLM Relay: SMB Relay Targets, WebClient Hosts, Coerce → Relay Chains (appears automatically when signing/webclient props are present)
    • High-Risk ACLs, Privilege & Exec, Delegation & Trust, ADCS, GPO
    • Vulnerable Attributes (Kerberoastable, AS-REP, Unconstrained Delegation, etc.)
    • Azure / Entra ID group (appears automatically when AzureHound data is loaded)
    • Dynamic "Other Edges" group for unknown edge types

Attack Path Analysis

Pre-built Quick Queries (Paths tab)

| Button | What it finds | |---|---| | Kerberoastable | All Kerberoastable users → shortest path to DA | | AS-REP | AS-REP Roastable accounts → DA | | Unconstrained Deleg | Computers with unconstrained delegation → DA | | Constrained Deleg | Constrained delegation targets | | RBCD | WriteAccountRestrictions / AddAllowedToAct on computers | | Shadow Cred | AddKeyCredentialLink edges | | LAPS | ReadLAPSPassword edges | | GMSA | ReadGMSAPassword edges | | DCSync | All DCSync-capable principals | | Writable ACLs | GenericAll / WriteDacl / WriteOwner / GenericWrite | | Forest Trusts | Cross-forest trust edges and cross-domain DA paths | | ADCS ESC | ESC1–ESC6 certificate template vulnerabilities | | Azure GA | Azure Global Admin / Privileged Role Admin holders + on-prem → Azure GA hybrid paths | | Relay Targets | SMB signing-disabled computers → DA paths | | WebClient | WebClient-running computers (HTTP coerce candidates) → DA paths | | ⚡ Relay Chain | Full coerce → NTLMRelay → target → DA chains | | ☠ From Owned | Paths from all nodes marked as compromised |

Manual Path Finding

  • Find DA Path — BFS shortest path from any searched node to Domain Admins
  • All Paths — enumerate every User/Computer → DA path, sorted by hop count (Critical ≤2 hops, High ≤4, Medium 5+)
  • Click any path row to highlight it on the graph in red

Screen3

Risk Scoring

Every node is scored 0–100 automatically:

| Flag | Score | |---|---| | DCSync capability | +95 | | Admin / High Value | +50 | | Unconstrained Delegation | +60 | | Constrained Delegation | +30 | | AS-REP Roastable | +45 | | Kerberoastable (SPN) | +40 | | SID History present | +35 | | WebClient Running | +25 | | SMB Relay Target | +30 | | SMBv1 Enabled | +20 | | Password Never Expires | +20 | | AdminCount = 1 | +15 | | Account Disabled | −40 | | Deleted / Tombstoned | −50 |

Risk Detection

  • DCSyncGetChanges + GetChangesAll or AllExtendedRights on the domain object
  • Kerberoastablehasspn = true, account enabled
  • AS-REP Roastabledontreqpreauth = true
  • Unconstrained Delegation — computers with unrestricted delegation
  • Critical ACLsGenericAll, WriteDacl, WriteOwner, Owns, AllExtendedRights on high-value targets
  • SID History abuse paths
  • NTLM Relay Targetsigning = false or signingrequired = false on computer objects
  • WebClient Runningwebclient = true on computer objects (HTTP coerce surface)
  • SMBv1 Enabledsmb1enabled = true

Screen4

NTLM Relay Path Analysis

When SharpHound collects SMB signing and WebClient properties:

  • Relay Targets — computers where SMB signing is not required, visualised with RELAY TARGET badge in node details
  • WebClient Hosts — computers with WebDAV WebClient service running, visualised with WEBCLIENT badge
  • Relay Chain synthesis — constructs full coerce → NTLMRelay → target → DA paths including direct AdminTo relay chains
  • Relay surface shown in Computer node details panel: SMB Signing, SMB Signing Required, SMBv1, WebClient status — all colour-coded
  • NTLMRelay virtual edge type mapped to MITRE T1557.001 (Adversary-in-the-Middle: SMB Relay)

ADCS Vulnerability Detection

Automatic detection of ESC vulnerabilities from certificate template properties:

| ESC | Condition | |---|---| | ESC1 | Enrollee-supplied SAN + Client Auth EKU + no manager approval | | ESC2 | Any Purpose EKU or empty EKU, no approval | | ESC3 | Certificate Request Agent EKU | | ESC4 | Write access to template (GenericWrite / WriteProperty / WriteDacl) | | ESC6 | CA with EDITF_ATTRIBUTESUBJECTALTNAME2 flag |

Azure / Entra ID Support (Full)

Load AzureHound output alongside or separately for hybrid AD + Azure analysis.

Parsed relationship types (from AzureHound arrays): GlobalAdmins, PrivilegedRoleAdmins, Owners, Contributors, UserAccessAdmins, AddMembers, AddOwners, ResetPasswords, AddSecrets, GetSecretUsers, GetKeyUsers, GetCertificateUsers, VMAdmins, RunCommandAdmins, GrantAppRoles, AppRoleAssignments, InboundTransitiveRoles

Azure node types supported: AZUser, AZGroup, AZDevice, AZApp, AZServicePrincipal, AZTenant, AZSubscription, AZResourceGroup, AZVM, AZKeyVault, AZMgmtGroup

Azure-specific features:

  • AZTenant marked as high value (Azure equivalent of Domain root)
  • Azure GA quick query — surfaces Global Admin and Privileged Role Admin holders; finds on-prem → Azure GA hybrid attack paths
  • Azure node details panel: Tenant ID, App ID, Object ID, SP Type, roles held/granted, inbound high-risk permissions (AZAddSecret, AZExecuteCommand, AZResetPassword, AZOwns)
  • Azure section in Report panel: object inventory, GA list, Priv Role Admins, app secret access, VM execution, password resets
  • Azure findings included in HTML report export

Node Details Panel

Computer nodes:

  • NTLM Relay Surface — SMB Signing, SMB Signing Required, SMBv1, WebClient status with colour-coded risk badges
  • Local Admins (Explicit / Unrolled / Foreign)
  • Inbound Execution Rights — RDP / DCOM (direct and group-delegated)
  • SQL Admins
  • Active Sessions (clickable)

User nodes:

Related Skills

View on GitHub
GitHub Stars19
CategoryDevelopment
Updated3d ago
Forks2

Languages

HTML

Security Score

95/100

Audited on Aug 4, 2026

No findings