Skip to content

Installation

belettetimoree edited this page Nov 1, 2026 · 1 revision

Installation

Soaphound.py ships on PyPI as soaphound-py. Installation targets a Debian-family Linux host (Debian, Ubuntu, Parrot, Kali). The executable is soaphound.

Prerequisites

  • Python 3.10 or later (requires-python = ">=3.10" in pyproject.toml).
  • A working pipx installation. On a fresh Debian/Parrot/Kali box:
sudo apt install -y pipx
pipx ensurepath
exec $SHELL -l
  • Network access to the DC on tcp/9389 (ADWS) and, for Default collection, tcp/445 (SMB SYSVOL).

Install from PyPI

pipx install soaphound-py

Upgrade later with:

pipx upgrade soaphound-py

Install from source

For development or to track a feature branch:

git clone https://github.com/j4s0nmo0n/Soaphound.py.git
cd Soaphound.py
pipx install -e .

The -e flag keeps the install editable so local edits in src/soaphound/ take effect without a reinstall.

Verify

soaphound --help | head -5
soaphound --help | grep -E 'enroll-ws|cert-find|trust-audit|adcap' | head

A healthy install prints the ADWS banner and lists the primitive flags.

Dependencies

Pulled automatically by pip from pyproject.toml:

Package Why
impacket>=0.11.0 SMB, Kerberos TGT, NTLM auth
dnspython>=2.0.0 DC SRV lookups
pyasn1>=0.4.8 DER/BER for Kerberos and certificates
pycryptodomex>=3.10.0 AES, DES for GPP cpassword
cryptography>=3.4.0 PKCS#10, PFX for AD CS enrollment
ldap3>=2.9.0 Shared SID/DN helpers
requests>=2.32.0 HTTPS to MS-XCEP / MS-WSTEP endpoints
requests-gssapi>=1.4.0 SPNEGO/Kerberos binding for the HTTPS session

Optional external tools

Tool Used by Install
certipy --auth-dc chaining after --enroll-ws pipx install certipy-ad

Troubleshooting install

Symptom Cause Fix
pipx: command not found pipx not on PATH after fresh install sudo apt install pipx && pipx ensurepath && exec $SHELL -l
impacket.ImportError or AES decode failures Impacket pinned below 0.11.0 by another pipx package pipx inject soaphound-py 'impacket>=0.11.0'
This project is only supported on Linux Running on macOS/Windows Use Linux (Debian-family) — SMB/Kerberos stacks assume Linux glue
certipy: not found on --auth-dc certipy not installed in PATH pipx install certipy-ad
requests_gssapi.exceptions.SPNEGOExchangeError Missing MIT Kerberos tooling sudo apt install -y krb5-user libkrb5-dev

References

Clone this wiki locally