Comments (9)
@dirkjanm: That's high praise given how many of your excellent blog posts I've read. Thanks!
As for documentation, not beyond the official (but incomplete) published ones:
- KB4490425: Updates to TGT delegation across incoming trusts in Windows Server
- Changes to Ticket-Granting Ticket (TGT) Delegation Across Trusts in Windows Server (PFE edition)
- [MS-ADTS]: trustAttributes
The catalyst for heading down this rabbit hole was PingCastle reporting my lab environment as vulnerable to cross-forest TGT delegation in contrast to Microsoft's published docs on the change in default behaviour as of the July 2019 security updates. Figuring out what was really happening was further compounded by netdom
giving me mixed messages, PowerShell's ActiveDirectory
module outright lying to me, and the undocumented (and I assume new) CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION
flag I ended up discovering. The results above are effectively the summary of my testing and some reverse engineering when I started digging in to it yesterday :)
from pingcastle.
New reply available in the thread I opened in the open specification forum.
from pingcastle.
Thanks @ralish
Program updated!
Feel free to leave any comments
from pingcastle.
Thanks for the feedback.
While working for it, I've requested an official feedback (because other users will ask me for references ...)
Here it is: https://social.msdn.microsoft.com/Forums/en-US/385d30ad-acf5-4fe6-ab5d-1ab01bb0f37f/msadts-61679-trustattributes?forum=os_windowsprotocols
from pingcastle.
@vletoux Sounds good. You can see the 0x800
bit set when you enable TGT delegation with netdom
on a patched system. The symbolic reference is displayed in ADUC and ADSI when viewing the trustAttributes attribute in the Attribute Editor. It's also referenced in ldp.exe
.
from pingcastle.
Thanks for the detailed analysis of this! Was a great read. I had a short discussion about it with Vincent and we both couldn't really figure out how the change actually worked. Out of curiosity, do you have any official or unofficial sources for this information?
from pingcastle.
You can see the change in kdcsvc
: KdcGetTicketInfoForDomain
:
from pingcastle.
Just a heads-up that it looks like MSFT may have fixed the netdom.exe
issue per my write-up in the latest cumulative updates. For example see KB4519979:
Addresses an issue that prevents netdom.exe from displaying the new ticket-granting ticket (TGT) delegation bit for the display or query mode.
from pingcastle.
Excellent
from pingcastle.
Related Issues (20)
- Broken hyperlinks in AD report HOT 1
- Add descriptive text and fix colour for MSV1_0\RestrictSendingNTLMTraffic HOT 1
- Incorrect "no applicable GPO found" detections for GPO security settings HOT 1
- Idea: Check for correct functioning of trust scanner for AD trusts HOT 9
- P-ProtectedUsers and MSA/gMSA HOT 2
- Rule S-ADRegistration wont trigger if the "ms-DS-MachineAccountQuota" is not set, but adding computers is possible.
- Pingcastle crash, probably new RPC tests
- Bug: Wrong --foreigndomain parameter ignored
- Increase points for "Check if authentication certificate templates allow users to control the subject" ? HOT 1
- GPO from forest root domain doesn't seem to be detected at child domains
- GPO Group Member/Regestry/Preference with targeting
- DHCP Admin group
- Missing Vuln Cert Template check for Domain Computers
- Question regarding TrustedToAuthenticateForDelegation
- Cannot add multiple HoneyPot Exclusions with DistinguishedName
- runnning on AD Explorer snapshot
- Feature Request: Add flag to specify alternate output path
- Reported control path does not seem exploitable
- Example Report
- Bug: Certificate-based authentication (P12) with --azuread fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingcastle.