fix: AllowedToDelegate Edge not getting created when user has msDS-AllowedToDelegateTo values BED-7625#304
Conversation
…elegation) for users and computers because it doesn't matter if it's true or false, we still need to collect msDS-AllowedToDelegateTo values and draw AllowedToDelegate edges
…ToAuthForDelegation) set to false because it doesn't matter if its true or false to add delegates to allowedtodelegate property
WalkthroughThis PR removes a UAC flag condition from LDAP delegate property processing. The ChangesLDAP Delegate Processing Refactor
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Removed the
TrustedToAuthForDelegationflag check from bothReadUserPropertiesandReadComputerProperties, soAllowedToDelegateedges are emitted whenevermsDS-AllowedToDelegateTois populated.Updated tests to allow UAC flag check for
TrustedToAuthForDelegationto be false.Motivation and Context
If a user or computer has
msDS-AllowedToDelegateTopopulated, it doesn’t matter ifTrustedForDelegationorTrustedToAuthForDelegationis true or false, there should be an AllowedToDelegate edge drawn from the user/computer to the destination computerThis PR addresses: BED-7625
How Has This Been Tested?
Tested in GOAD lab
Testing Instructions on ticket https://specterops.atlassian.net/browse/BED-7625
Screenshots (if appropriate):
Types of changes
Checklist: