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:
@@ -587,6 +587,7 @@ _px_kali_tools() {
|
||||
|
||||
dir=$(mktemp -d)
|
||||
cp "$CONTENT_DIR/scripts/wordlists/norbourg.txt" "$dir/"
|
||||
cp "$CONTENT_DIR/scripts/bh_clues.py" "$dir/"
|
||||
cat > "$dir/README.txt" <<'EOF'
|
||||
Outils de l'atelier Norbourg
|
||||
============================
|
||||
@@ -697,6 +698,11 @@ fi
|
||||
if [ -n "$src" ]; then
|
||||
cp "$src" /opt/norbourg/wordlists/
|
||||
chmod 644 /opt/norbourg/wordlists/norbourg.txt
|
||||
root=$(dirname "$src")
|
||||
if [ -f "$root/bh_clues.py" ]; then
|
||||
cp "$root/bh_clues.py" /opt/norbourg/
|
||||
chmod +x /opt/norbourg/bh_clues.py
|
||||
fi
|
||||
umount /mnt/tools 2>/dev/null || true
|
||||
fi
|
||||
if ip -4 -br addr show | grep -q '10\.10\.10\.'; then echo NET_OK; else echo NET_FAIL; fi
|
||||
|
||||
Reference in New Issue
Block a user