Updated Handy BloodHound Cypher Queries.
This commit is contained in:
parent
65a392f671
commit
5b085f89f4
|
@ -317,6 +317,13 @@ MATCH (u)-[:CanPrivesc]->(c) RETURN u.name, c.name
|
|||
|
||||
## CREATE Nodes and Edges
|
||||
|
||||
- Mark nodes as Owned:
|
||||
```
|
||||
MATCH (u) WHERE toLower(u.name) = "user1@contoso.com" SET u.owned RETURN 1 UNION
|
||||
MATCH (u) WHERE toLower(u.name) = "group2@contoso.com" SET u.owned RETURN 1 UNION
|
||||
MATCH (u) WHERE toLower(u.name) = "computer3@contoso.com" SET u.owned RETURN 1
|
||||
```
|
||||
|
||||
- Mark High Value all members of High Value groups:
|
||||
```
|
||||
MATCH (u)-[:MemberOf]->(n {highvalue: true}) SET u.highvalue = true
|
||||
|
|
Loading…
Reference in New Issue