bloodhound-export
Emit BloodHound-CE-compatible JSON from any Rust tool that collects Active Directory data. Extracted from ADhammer so LDAP scrapers, NTDS.dit walkers, and live-RPC enumerators can produce BH-ingestible ZIPs without pulling the whole ADhammer stack.
Part of the icedracon AD ecosystem.
Status
0.1.0 — first standalone release. Format targets BloodHound Community Edition ingest v5 / BloodHound ingest v5.x JSON: <domain>_users.json, <domain>_computers.json, <domain>_groups.json, <domain>_domains.json, packaged as a single ZIP.
Usage
use HashMap;
use Path;
use ;
// Build up a snapshot from whatever collection you ran.
let mut alice = default;
alice.dn = "CN=alice,CN=Users,DC=corp,DC=local".into;
alice.attrs.insert;
alice.attrs.insert;
alice.attrs.insert;
alice.bin.insert;
alice.bin.insert;
let mut domain = default;
domain.domain_dn = "DC=corp,DC=local".into;
domain.netbios = Some;
let snap = new;
export_zip.unwrap;
Then in BloodHound CE: Upload Data → drag the ZIP.
What it outputs
<domain>_users.json— one node per user (SID, name, UAC-derived flags, group membership edges).<domain>_computers.json— same shape, computers only.<domain>_groups.json— group nodes + member edges.<domain>_domains.json— the domain node + trust relationships.
ACE edges (GenericAll, WriteDacl, WriteOwner, GenericWrite, AllExtendedRights, ForceChangePassword, AddMember, ReadLAPSPassword, AllowedToDelegate, AddKeyCredentialLink) are extracted from each object's nTSecurityDescriptor bytes using [windows-sddl]. If you don't populate the SD blob, edges are just skipped — nodes still emit.
Deps
serde + serde_json (JSON) + windows-sddl (SD parse). ZIP is inline in this crate (no zip dep) — the format BloodHound accepts is deflate-optional and this crate emits STORE-method entries.
Related icedracon crates
windows-sddl— SID/GUID/SD parsersamr— live-RPC user enumeration sourcentds-parse— offline NTDS.dit source- ADhammer — full driver that produces Snapshots
License
MIT © 2026 zevs