Repository navigation
Home
belettetimoree edited this page Nov 3, 2026
·
3 revisions
Soaphound.py is an ADWS-first offensive toolkit for Active Directory written in Python. It talks to the DC through the Active Directory Web Services endpoint on tcp/9389 (and HTTPS for AD CS enrollment), with no reliance on LDAP or DCOM.
The project started as a port of FalconForce's SoapHound .NET BloodHound ingestor and has grown into a general-purpose ADWS toolbox:
- BloodHound collection over ADWS with
DefaultorStealthpresets - AD CS discovery, enrollment and ESC chains over SOAP (MS-XCEP + MS-WSTEP, no DCOM)
- BadSuccessor orchestration via three authored WS-Transfer
Putwrites - MS-ADCAP TopologyManagement primitives (RSAT PowerShell equivalents from Linux)
- Trust auditing with Sandker's trustAttributes decoding and Almond's reversibility checks
- Privilege rights auditing against SYSVOL assignments with Potato-family precondition detection
- AD CS Enumeration -
--cert-find - AD CS Enrollment -
--enroll-ws,--list-policies-ws - MS-ADCAP TopologyManagement -
--adcap-* - BadSuccessor Orchestrator -
--badsuccessor - Trust Audit -
--trust-audit - Privilege Rights Audit -
--priv-rights-audit
ADWS is historically underrepresented in open-source offensive tooling and in SIEM detection stacks. Soaphound.py exists to document what is reachable from an attacker's Linux host when the only Microsoft management port exposed on a DC is tcp/9389 - and, by consequence, what defenders should expect in their telemetry.
- Original SoapHound .NET ingestor - FalconForce
- MS-NMF / MS-NNS internals and WSTEP primitives - inspired by Logan Goins' SOAPy
- ADWS collection methodology - SpecterOps / FalconForce prior work