sopa — A practical client for ADWS in Golang#1966
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://github.com/Macmod/sopa Content Categories: Based on the analysis, this content was categorized under "Windows Hardening -> Active Directory Methodology (new page: "ADWS (Active Directory Web Services) Enumeration & Abuse"), cross-linked from Network Services Pentesting -> 389 LDAP and from Kerberos Authentication". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
sopa (GitHub: https://github.com/Macmod/sopa)
What it is
sopa is a Golang command-line client that implements the Active Directory Web Services (ADWS) protocol stack: MS-NNS + MC-NMF + SOAP. It exposes common Active Directory operations via web-service s...
🔧 Technical Details
Use ADWS as an alternative control plane to LDAP for AD operations: Implement MS-NNS + MC-NMF + SOAP and use WS-Enumeration (
Enumerate+Pull) to run LDAP-style filters with scope/pagination, while using WS-Transfer (Get/Put/Delete/ResourceFactory) to retrieve, modify, delete, or create directory objects. This enables recon and directory changes over ADWS, which may resemble legitimate AD management traffic depending on the environment.Kerberos targeting correctness when a DC is specified by IP: When Kerberos is enabled and the target is an IP (
--dc <ip>), perform a reverse PTR lookup to obtain the DC’s FQDN so the Kerberos SPN/KDC addressing aligns with Kerberos expectations. Ensure SRV/PTR/forward lookups all use a controlled resolver (e.g., the DC’s DNS) via--dns, optionally forcing DNS over TCP with--dns-tcpwhen UDP is blocked or resp...🤖 Agent Actions
Updated the existing ADWS page with detailed
sopaoperational notes (protocol mapping, mex, DNS/DC discovery and Kerberos targeting, auth material options, and custom template creation) and added the repo to references.Modified
src/windows-hardening/active-directory-methodology/adws-enumeration.mdTests not run (not requested).
If you want, I can also add a short note about ADWS port 9389 discovery or integrate a minimal
sopaworkflow snippet into the “Stealth AD Collection Workflow” section.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.