What it is
ADhammer is split into Core (the reusable libraries under
crates/*) and the CLI (the adhammer binary that drives them).
This crate is the single import surface for Core: a downstream tool
can
[]
= "1.4"
and then use adhammer_sdk::{graph, kerberos, sysvol, …} instead of
depending on each adhammer-* crate individually.
Re-exported subsystems, bottom-up:
types— core types (Sid,Guid,Snapshot,Finding,SecretString).collector— LDAP collection.checks— AD hygiene rules.graph— control-path graph + attack chains.kerberos— Kerberos verbs.ldap— raw LDAP client (relay path).sysvol— GPP + policy analysis.bloodhound— BloodHound CE v5 export.secrets— offline SAM / LSA / DCC2.report— JSON / HTML / MD / text reports.
1.4.10 additions
blackboxmodule —BlackBoxRunner,RunPolicy,ConsentPolicy,CheckSelection,RunSummary,RunnerRefusal. Runner control-plane withmax_hosts/max_duration_secsenforcement, PostCred capability gating, and cross-cutting scope excludes. The observable no-cred assessment capability the runner supports lands in 1.5.0 (WS-FOUNDATION-BLACKBOX-CLI+WS-FOUNDATION-DNS-HANDROLL).
Example
use ;
use ;
use IpAddr;
use FromStr;
let scope = new
.unwrap;
let runner = new;
Related
adhammer— the CLI itself (has its own README with quick-start + full verb table).- Sibling from-scratch protocol crates (same author):
dcerpc,smb2-client,ntlmssp,windows-sddl,ccache-io,ms-icpr, and 20+ others.
License
MIT — see LICENSE.