Bloodhound Cypher Queries
Return all users
MATCH (u:User) RETURN u Return all computers
MATCH (c:Computer) RETURN cReturn the users with the name containing "ADMIN"
MATCH (u:User) WHERE u.name =~ ".ADMIN." RETURN u.nameReturn all the users and the computer they are admin to
MATCH p = (u:User)-[:AdminTo]->(c:Computer) RETURN pReturn the users with the name containing "ADMIN" and the computer they are admin to
MATCH p = (u:User)-[:AdminTo]->(c:Computer) WHERE u.name =~ ".ADMIN." RETURN p
MATCH p=shortestPath((c {owned: true})-[*1..3]->(s)) WHERE NOT c = s RETURN p
MATCH p=shortestPath((u {highvalue: false})-[1..]->(g:Group {name: 'DOMAIN [email protected]'})) WHERE NOT (u)-[:MemberOf1..]->(:Group {highvalue: true}) RETURN pList all owned users
MATCH (m:User) WHERE m.owned=TRUE RETURN mList all owned computers
MATCH (m:Computer) WHERE m.owned=TRUE RETURN mList all owned groups
List all high value targets
List the groups of all owned users
Find all Kerberostable Users
Find all users with an SPN/find all kerberostable users with passwords last set less than 5 years ago
Find kerberostable users with a path to DA
Find machines Domain Users can RDP into
Last updated