My Tools

BashHound-CE

Cheatsheet complete de `bashhound-ce` avec toutes les options du help, classees par section et expliquees.

Installation

Copy command
curl -LO https://github.com/0xbbuddha/BashHound-CE/releases/download/r40.521ddae/bashhound-ce.tar.gz
tar -xzf bashhound-ce.tar.gz
cd bashhound-ce
chmod +x bashhound-ce

Description: Recupere la release tar.gz, extrait les fichiers et rend le binaire executable.

Copy command
curl -LO https://github.com/0xbbuddha/BashHound-CE/releases/download/r40.521ddae/bashhound-ce.zip
unzip bashhound-ce.zip
cd bashhound-ce
chmod +x bashhound-ce

Description: Alternative en ZIP si tu preferes ce format d'archive.

Copy command
yay -S bashhound-ce-git

Description: Installation directe via AUR sur Arch Linux.

Verify + Syntax

Copy command
./bashhound-ce --help

Description: Affiche l'aide complete et verifie que le binaire est fonctionnel.

Copy command
./bashhound-ce -V

Description: Affiche la version installee de BashHound-CE.

Copy command
./bashhound-ce [options]

Description: Syntaxe generale du collecteur.

Mandatory

Copy command
./bashhound-ce -d domain.local

Description: Le domaine AD est obligatoire pour lancer la collecte.

Optional - Auth & Target

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD

Description: Authentification LDAP standard avec identifiants explicites.

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -f dc01.domain.local

Description: Force un DC/FQDN LDAP specifique au lieu de l'auto-decouverte.

Optional - Output

Copy command
./bashhound-ce -d domain.local -o bloodhound_custom.json

Description: Definit le nom du fichier JSON de sortie.

Copy command
./bashhound-ce -d domain.local -o bloodhound_custom.json --zip-only

Description: Genere le ZIP puis supprime les JSON pour reduire les traces locales.

Optional - Transport LDAP/LDAPS

Copy command
./bashhound-ce -d domain.local --port 389

Description: Force LDAP en clair sur le port 389.

Copy command
./bashhound-ce -d domain.local --ldaps

Description: Active LDAPS/TLS (equivalent a `--port 636`).

Copy command
./bashhound-ce -d domain.local --port 636 --no-tls

Description: Force explicitement l'absence de TLS meme sur 636 (cas de labo/legacy).

Optional - Runtime

Copy command
./bashhound-ce -d domain.local -v

Description: Mode verbeux pour suivre toutes les etapes de collecte.

Copy command
./bashhound-ce -d domain.local -h

Description: Affiche l'aide courte sans lancer de collecte.

Collection Methods - All

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c All

Description: Collecte complete BloodHound CE (methode par defaut).

Collection Methods - DCOnly

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c DCOnly

Description: Collecte centree DC, sans collecte de sessions.

Collection Methods - Session

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c Session

Description: Recupere uniquement les sessions utilisateurs.

Collection Methods - Trusts

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c Trusts

Description: Collecte uniquement les relations de confiance AD.

Collection Methods - ACL

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c ACL

Description: Collecte uniquement les ACLs pour analyse des abuse paths.

Collection Methods - Group

Copy command
./bashhound-ce -d domain.local -u USERNAME -p PASSWORD -c Group

Description: Collecte les memberships de groupes AD uniquement.

Variables a remplacer : `domain.local`, `USERNAME`, `PASSWORD`, `dc01.domain.local`.