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:
@@ -23,6 +23,7 @@ _kali_build_tools() {
|
||||
|
||||
mkdir -p "$(dirname "$iso")"
|
||||
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
|
||||
============================
|
||||
@@ -35,6 +36,8 @@ Installation dans Kali :
|
||||
sudo mkdir -p /opt/norbourg/wordlists
|
||||
sudo cp /media/cdrom/norbourg.txt /opt/norbourg/wordlists/
|
||||
sudo chmod 644 /opt/norbourg/wordlists/norbourg.txt
|
||||
sudo cp /media/cdrom/bh_clues.py /opt/norbourg/
|
||||
sudo chmod +x /opt/norbourg/bh_clues.py
|
||||
EOF
|
||||
if have_cmd genisoimage; then
|
||||
genisoimage -quiet -volid NORBOURG_TOOLS -J -R -o "$iso" "$dir"
|
||||
|
||||
Reference in New Issue
Block a user