tools: decode BloodHound JSON into exploitable edges
bloodhound-python only writes JSON for the GUI, so a terminal user sees a successful collection and nothing else. bh_clues.py answers the question that matters: for one account, its groups, SPNs, non-inherited ACEs and local-admin/PSRemote edges — with GetChanges+GetChangesAll collapsed into DCSync. Shipped in both tool ISOs and copied by the Kali setup; the student sheet uses it after the collector.
This commit is contained in:
@@ -124,9 +124,12 @@ smbclient //10.10.10.10/'<partage>$' -U 'NORBOURG\<user>%<pass>' -c 'ls; get <fi
|
||||
### Cartographie et permissions
|
||||
|
||||
```bash
|
||||
# collecteur BloodHound (JSON, pas besoin de l'interface)
|
||||
# collecteur BloodHound : écrit des JSON, l'interface n'est pas nécessaire
|
||||
bloodhound-python -d norbourg.lab -u '<user>' -p '<pass>' -ns 10.10.10.10 -c all
|
||||
|
||||
# quels droits ce compte peut-il réellement exercer ? (lecture des JSON)
|
||||
python3 /opt/norbourg/bh_clues.py '<user>'
|
||||
|
||||
# quels droits ce compte a-t-il sur une cible ? (module daclread de netexec)
|
||||
nxc ldap 10.10.10.10 -d norbourg.lab -u '<user>' -p '<pass>' \
|
||||
-M daclread -o TARGET='<cible>' PRINCIPAL='<user>'
|
||||
|
||||
Reference in New Issue
Block a user