Skip to content

Instantly share code, notes, and snippets.

View ThunderGunExpress's full-sized avatar

TGE ThunderGunExpress

View GitHub Profile
@rboddy
rboddy / customCipherQuery.json
Created June 19, 2020 19:52
Mass import owned users in BloodHound and find paths from owned users to privileged groups
{
"name": "Find Owned Users with a path to DA",
"queryList": [
{
"final": true,
"query": "MATCH (u:User {owned:true}) MATCH (g:Group) WHERE g.objectid ENDS WITH '-512' MATCH p = shortestPath( (u)-[*1..]->(g) ) RETURN p"
}
]
}