Simulating Legitimate Active Directory Services on the Netwo... - #2773
Open
carlospolop wants to merge 1 commit into
Open
Simulating Legitimate Active Directory Services on the Netwo...#2773carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://synacktiv.com/en/publications/simulating-legitimate-active-directory-services-on-the-network-the-case-of-gpo.html Content Categories: Based on the analysis, this content was categorized under "Windows Hardening > Active Directory Methodology > Group Policy/GPO Abuse, with cross-references from Abusing Active Directory ACLs/ACEs, NTLM Relay, LDAP, SMB, and Kerberos". 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
Overview
Synacktiv presents reusable Python implementations of authenticated SMB and LDAP services designed to impersonate legitimate Active Directory services. The implementations build on Scapy and Gabriel Potter's Windows protocol layers, and are integrated into GPOddity and OUned. The SMB server supports multiple authenticated SMB sessi...
🔧 Technical Details
Authenticated GPC/GPT redirection through
gPCFileSysPath: If a principal can modify a GPO's LDAP-based GPC, directly or through an LDAP relay, it can replacegPCFileSysPathwith an attacker-controlled UNC path. The remote SMB server must genuinely validate the incoming domain identity, derive the correct session key, and sign SMB traffic because modern Windows clients reject anonymous remote SMB and Secure Negotiate checks that authentication succeeded. The server can then return a malicious GPT containing an Immediate Task or Scheduled Task that the privileged Group Policy client executes as SYSTEM.SMB2 session multiplexing for user GPO attacks: Post-MS16-072 user-policy retrieval creates two authenticated SMB sessions inside one TCP connection: the user retrieves
GPT.INI, and the machine account retrieves policy files such asScheduledTasks.xml. Every session has a distinct SMB2 🤖 Agent ActionsUpdated:
src/windows-hardening/active-directory-methodology/acl-persistence-abuse/README.mdAdded concise technical coverage of:
gPCFileSysPathpoisoning with GPOdditygPLinkpoisoning with OUnedValidation:
git diff --checkpasses. Full mdBook build was unavailable becausemdbookis not installed.This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.