bloodhound

Category Enumeration

Custom Queries

Shortest path to Domain Admin

From → Enable Users

powershell
MATCH p = shortestPath((n:User {enabled: true})-[*1..]->(m:Group))
WHERE m.objectid ENDS WITH "-512"
RETURN p

From → Owned Users

powershell
MATCH p = shortestPath((n {owned: true})-[*1..]->(m:Group))
WHERE m.objectid ENDS WITH "-512"
RETURN p

From Kerberoastable

powershell
MATCH p = shortestPath((n:User {hasspn: true})-[*1..]->(m:Group))
WHERE m.objectid ENDS WITH "-512"
RETURN p
The Latest 2 Write-ups using this tool