Turning Enterprise Update Servers Into Backdoor Factories (0... - #2885
Open
carlospolop wants to merge 1 commit into
Open
carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://specterops.io/blog/2026/08/05/turning-enterprise-update-servers-into-backdoor-factories-part-1 Content Categories: Based on the analysis, this content was categorized under "Windows Hardening → Lateral Movement → WSUS Update Server Abuse, with cross-references to NTLM relay and 1433 - Pentesting MSSQL". 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
Core finding and severity. This Part 1 article describes a high-impact WSUS control-plane abuse chain rather than a named CVE. When the WSUS database is hosted on a separate standalone Microsoft SQL Server, an attacker can coerce the upstream WSUS computer account to authenticate over SMB to an attacker-controlled listener, relay that NTLM authentication to the external MSSQL server, and obtain a SQL session as the WSUS machine account, shown in the lab as
LUDUS\WSUS1$...🔧 Technical Details
External WSUS-database NTLM relay: If WSUS stores its database on a separate MSSQL server, coerce the upstream WSUS computer account to authenticate over SMB to an attacker-controlled listener, capture the NTLM exchange with
ntlmrelayx, and relay it to MSSQL. If the SQL server accepts the relayed machine-account authentication, the attacker obtains a database session without knowing the computer-account password. Relaying to another WSUS server only provides administrative lateral movement when the upstream account has sufficient rights there; relaying to the external database can still be useful when downstream WSUS administration is unavailable.Stored-procedure-only update injection: Direct table permissions are not required when an application role has
EXECUTEaccess to state-changing stored procedures. Enumerate procedure definitions throughsys.proceduresandOBJECT_DEFINITION, then call the WSUS procedure...🤖 Agent Actions
Plan:
Repository mapping is complete. I found no dedicated WSUS page, so I’m now comparing the lateral-movement index and adjacent NTLM/MSSQL abuse pages to avoid duplicating existing techniques and to match their organization and citation style.
The comparison confirms that the existing WSUS material covers client HTTP relay, not compromise of a remote
SUSDB. The closest precedent is the SCCM machine-account-to-MSSQL page, but this WSUS chain has a distinct stored-procedure write primitive and selective update-deployment workflow, so a dedicated lateral-movement page is warranted.I’m implementing a single technical page under Windows lateral movement. It will keep the relay setup as a prerequisite and focus on the new material: effective
SUSDBprocedure permissions, the parent/child metadata state machine, digest-to-URL binding, and selective deployment. The index and book summary will receive navigation links only.The page and navigation links are in place. I’m now validating the exact diff, internal relative paths, citation numbering, forbidden-source absence, Markdown constraints, and mdBook compatibility; I’ll correct any issues found before finishing.
Validation found no broken internal paths, whitespace errors, forbidden-source references, or citation-number mismatches. All five external references resolve successfully.
mdbookis not installed in the environment, so the full book build cannot run; I’m completing a final repository/diff audit instead.Implemented the HackTricks update.
Changes
src/windows-hardening/lateral-movement/wsus-external-database-relay-update-injection.mdwebServicestored-procedure permission enumerationsrc/windows-hardening/lateral-movement/README.mdsrc/SUMMARY.mdValidation
git diff --checkpasses.mdbook buildwas unavailable becausemdbookis not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.