
Rust attack-path analysis for AD, ADCS and Entra ID
Open-source Active Directory, ADCS and Entra ID / Azure attack-path analysis, built in Rust for very large environments. CopperHound ingests SharpHound, bloodhound-python, ldapdomaindump and AzureHound output, raw LDIF dumps, Sysinternals AD Explorer snapshots and Windows / Defender logon data into a memory-mapped graph store and runs path, exposure and CHQL queries directly on it, with no graph database. One container serves the web UI and REST API.

![]() |
![]() |
![]() |
Screenshots use fabricated demo data (scripts/demo_data.py).
Documentation: User guide · Deployment · Data sources · REST API · CHQL · Edge reference · OT · Performance · Architecture · Changelog
docker compose up -d --build
docker compose logs copperhound | grep "Initial admin password"
Open http://127.0.0.1:8090, sign in as admin, drop your SharpHound /
AzureHound .zip or .json files on the Data tab and press Rebuild
graph. COPPERHOUND_ADMIN_PASSWORD sets the password, and
COPPERHOUND_PORT / COPPERHOUND_HOST change the published address (default
127.0.0.1:8090, so it can run next to BloodHound on 8080).
No data yet? python scripts/demo_data.py demo/ writes a fabricated
environment (AD, ADCS and Entra ID with deliberate weaknesses) to upload; see
Try it with demo data.
Without Docker: cd web && npm ci && npm run build, then
cargo run --release -- serve (defaults: 127.0.0.1:8080, data in ./data,
UI from ./web/dist).
Accounts, API tokens, the watch folder, scheduled reports, change alerts, HTTPS and single sign-on (OpenID Connect, SAML 2.0): docs/DEPLOYMENT.md.
Computed in the background after every ingest:
scripts/Export-CopperHoundLogons.ps1) or Defender
XDR DeviceLogonEvents. Every session records when it was first and last
seen; old ones can age out.cheapestPath(), stealthiestPath() and cost(p).CanProgram edges from an
asset inventory (OpenGraph). OT findings, zone templates and queries then find
paths from IT into the plant. Two more inputs are optional: fix costs for
maintenance windows, and network conduits so paths respect the firewall.
See docs/OT.md.CLI equivalents: copperhound findings corp.chg, copperhound plan corp.chg --steps 10.
A WebGL graph canvas (sigma.js) with search, pathfinding, node details, "How was this derived?" for every derived edge, the CHQL editor and query library, and pages for findings, remediation, zones, posture, reports, data and administration. Walkthrough with screenshots: docs/USER_GUIDE.md.

Open-source XDR and SIEM platform for threat detection, log analysis, file integrity monitoring, vulnerability assessment, and compliance management across endpoints and cloud workloads.

Open-source network IDS/IPS/NSM engine for real-time traffic inspection, intrusion detection and prevention, protocol analysis, and rule-based threat hunting.

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know.