mirror of
https://github.com/mgeeky/Penetration-Testing-Tools.git
synced 2024-11-22 02:21:36 +01:00
Added Handy-BloodHound-Cypher-Queries.md
This commit is contained in:
parent
016fe017ac
commit
218bb0fb7d
@ -100,7 +100,7 @@ MATCH (n) WHERE n.description CONTAINS '\\\\' RETURN n.name, n.description
|
|||||||
RETURN shortestPath((O:{owned:True})-[*1..]->(H {highvalue: True}))
|
RETURN shortestPath((O:{owned:True})-[*1..]->(H {highvalue: True}))
|
||||||
```
|
```
|
||||||
|
|
||||||
- Riccardo Ancarani's cypher queries (src: [GPOPowerParser](https://github.com/RiccardoAncarani/GPOPowerParser)) useful for any lateral movement insights:
|
- [Riccardo Ancarani's](https://github.com/RiccardoAncarani) cypher queries (src: [GPOPowerParser](https://github.com/RiccardoAncarani/GPOPowerParser)) useful for any lateral movement insights:
|
||||||
- Find all the NTLM relay opportunities for computer accounts:
|
- Find all the NTLM relay opportunities for computer accounts:
|
||||||
```
|
```
|
||||||
MATCH (u1:Computer)-[:AdminTo]->(c1:Computer {signing: false}) RETURN u1.name, c1.name
|
MATCH (u1:Computer)-[:AdminTo]->(c1:Computer {signing: false}) RETURN u1.name, c1.name
|
||||||
@ -112,4 +112,4 @@ MATCH (u2)-[:MemberOf*1..]->(g:Group)-[:AdminTo]->(c2 {signing: false}) RETURN u
|
|||||||
MATCH (u:User)-[:CanRDP]->(c:Computer) WITH u,c
|
MATCH (u:User)-[:CanRDP]->(c:Computer) WITH u,c
|
||||||
OPTIONAL MATCH (u)-[:MemberOf*1..]->(g:Group)-[:CanRDP]->(c) WITH u,c
|
OPTIONAL MATCH (u)-[:MemberOf*1..]->(g:Group)-[:CanRDP]->(c) WITH u,c
|
||||||
MATCH (u)-[:CanPrivesc]->(c) RETURN u.name, c.name
|
MATCH (u)-[:CanPrivesc]->(c) RETURN u.name, c.name
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user