pentesting, updated

Build and analyze the attack graph

Collect the domain's full object/permission graph and query it for concrete paths to Domain Admin.

Goal

Turn raw enumeration data into a graph that shows exactly which accounts, ACLs and group memberships chain into a path to a privileged objective.

How to test

# collect, from a domain-joined host or remotely with valid creds: see [BloodHound](/docs/pentest-cheatsheets/tools/active-directory/bloodhound)
SharpHound.exe -c All
bloodhound-python -u jdoe -p Password1 -d corp.local -ns 10.10.10.5 -c All   # collector from Linux

# then in the BloodHound UI, run:
#   "Shortest Paths to Domain Admins"
#   "Find Principals with DCSync Rights"
#   "Shortest Paths from Kerberoastable Users"

What to look for

Any path of 1–3 hops from a low-privilege account you already control to Domain Admins or Enterprise Admins — the shorter the path, the higher priority the finding.

Notes

Collection is noisy on an EDR-monitored environment — the Python collector is quieter than SharpHound.exe but still generates a large volume of LDAP/SMB queries.

References

§ home
~/knubertus/home/
1,1 Top