Guthound
BloodHound Datenanalyse-Tool für Active Directory Sicherheitsbewertung - Essential Befehle und Nutzungsmuster.
Überblick
Goodhound ist eine aktive Verzeichnissicherheit, die für die Bluthound-Datenanalyse verwendet wird. Dieses Betrugsblatt deckt die am häufigsten verwendeten Befehle und Workflows ab.
Platform Support: Cross-Plattform Kategorie: Sicherheit
Installation
Linux/Ubuntu
```bash
Package manager installation
sudo apt update sudo apt install goodhound
Alternative installation methods
wget -O goodhound https://github.com/example/goodhound/releases/latest chmod +x goodhound sudo mv goodhound /usr/local/bin/ ```_
macOS
```bash
Homebrew installation
brew install goodhound
Manual installation
curl -L -o goodhound https://github.com/example/goodhound/releases/latest chmod +x goodhound sudo mv goodhound /usr/local/bin/ ```_
Windows
```powershell
Chocolatey installation
choco install goodhound
Scoop installation
scoop install goodhound
Manual installation
Download from official website and add to PATH
```_
Grundlegende Befehle
| | Command | Description | |
| --- | --- |
| | goodhound --help
| Display help information | |
| | goodhound --version
| Show version information | |
| | goodhound init
| Initialize goodhound in current directory | |
| | goodhound status
| Check current status | |
| | goodhound list
| List available options/items | |
Gemeinsame Operationen
Basisnutzung
```bash
Start goodhound
goodhound start
Stop goodhound
goodhound stop
Restart goodhound
goodhound restart
Check status
goodhound status ```_
Konfiguration
```bash
View configuration
goodhound config show
Set configuration option
goodhound config set
Reset configuration
goodhound config reset ```_
Erweiterte Operationen
```bash
Verbose output
goodhound -v
Debug mode
goodhound --debug
Dry run (preview changes)
goodhound --dry-run
Force operation
goodhound --force
Dateioperationen
| | Command | Description | |
| --- | --- |
| | goodhound create <file>
| Create new file | |
| | goodhound read <file>
| Read file contents | |
| | goodhound update <file>
| Update existing file | |
| | goodhound delete <file>
| Delete file | |
| | goodhound copy <src> <dst>
| Copy file | |
| | goodhound move <src> <dst>
| Move file | |
Netzwerkaktivitäten
```bash
Connect to remote host
goodhound connect
Listen on port
goodhound listen --port
Send data
goodhound send --data "" --target
Receive data
goodhound receive --port
Sicherheitsmerkmale
Authentication
```bash
Login with credentials
goodhound login --user
Logout
goodhound logout
Change password
goodhound passwd
Generate API key
goodhound generate-key ```_
Verschlüsselung
```bash
Encrypt file
goodhound encrypt
Decrypt file
goodhound decrypt
Generate certificate
goodhound cert generate
Verify signature
goodhound verify
Fehlerbehebung
Gemeinsame Themen
*Issue: Befehl nicht gefunden ```bash
Check if installed
which goodhound
Reinstall if necessary
sudo apt reinstall goodhound ```_
Issue: Genehmigung verweigert ```bash
Run with sudo
sudo goodhound
Fix permissions
chmod +x /usr/local/bin/goodhound ```_
*Issue: Konfigurationsfehler ```bash
Reset configuration
goodhound config reset
Validate configuration
goodhound config validate ```_
Debug Befehle
| | Command | Description | |
| --- | --- |
| | goodhound --debug
| Enable debug output | |
| | goodhound --verbose
| Verbose logging | |
| | goodhound test
| Run self-tests | |
| | goodhound doctor
| Check system health | |
Best Practices
Sicherheit
- Prüfsummen beim Herunterladen immer überprüfen
- Verwenden Sie starke Authentifizierungsmethoden
- Regelmäßig auf die neueste Version aktualisieren
- Prinzip der Mindestberechtigung
Leistung
- geeignete Puffergrößen verwenden
- Ressourcennutzung überwachen
- Optimieren Sie die Konfiguration für Ihren Anwendungsfall
- Regelmäßige Wartung und Reinigung
Wartung
```bash
Update goodhound
goodhound update
Clean temporary files
goodhound clean
Backup configuration
goodhound backup --config
Restore from backup
goodhound restore --config
Integration
Schrift
```bash
!/bin/bash
Example script using goodhound
Check if goodhound is available
if ! command -v goodhound &> /dev/null; then echo "goodhound is not installed" exit 1 fi
Run goodhound with error handling
if goodhound
API Integration
```python
Python example
import subprocess import json
def run_goodhound(command): try: result = subprocess.run(['goodhound'] + command.split(), capture_output=True, text=True) return result.stdout except Exception as e: print(f"Error: \\{e\\}") return None ```_
Umweltvariablen
| | Variable | Description | Default | |
| --- | --- | --- |
| | GOODHOUND_CONFIG
| Configuration file path | ~/.goodhound/config
| |
| | GOODHOUND_HOME
| Home directory | ~/.goodhound
| |
| | GOODHOUND_LOG_LEVEL
| Logging level | INFO
| |
| | GOODHOUND_TIMEOUT
| Operation timeout | 30s
| |
Datei konfigurieren
```yaml
~/.goodhound/config.yaml
version: "1.0" settings: debug: false timeout: 30 log_level: "INFO"
network: host: "localhost" port: 8080 ssl: true
security: auth_required: true encryption: "AES256" ```_
Beispiele
Basis-Workflow
```bash
1. Initialize
goodhound init
2. Configure
goodhound config set host example.com
3. Connect
goodhound connect
4. Perform operations
goodhound list goodhound create example
5. Cleanup
goodhound disconnect ```_
Erweiterter Workflow
```bash
Automated deployment
goodhound deploy \ --config production.yaml \ --environment prod \ --verbose \ --timeout 300
Monitoring
goodhound monitor \ --interval 60 \ --alert-threshold 80 \ --log-file monitor.log ```_
Ressourcen
Offizielle Dokumentation
- offizielle Website
- [Dokumentation](_LINK_9 -%20[API%20Reference](LINK_9
%20Gemeinschaft
-%20GitHub%20Repository - Issue Tracker - [Gemeinschaftsforum](LINK_9
%20Anleitungen
-%20(LINK_9) - Erweiterte Verwendung - Beste Praktiken
--
Letzte Aktualisierung: 2025-07-05