Additional Organizational Units ACLs #118
Merged
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.
Description
This pull request adds the collection of two ACLs related to Organizational Units: GenericWrite and Manage Group Policy Links. The motivation behind the pull request is described in the following article: https://www.synacktiv.com/publications/ounedpy-exploiting-hidden-organizational-units-acl-attack-vectors-in-active-directory
Motivation and Context
This is a new feature adding two potentially exploitable OU ACLs to the collector. Note that a similar pull request was created for the python collector BloodHound.py. An additional pull request was created for the Specterops BloodHound GUI, in order to create two new edges associated with the GenericWrite and Manage Group Policy Links OU ACLs.
How Has This Been Tested?
Various domain extracts with the SharpHound binary built with the modified SharpHoundCommon DLL have been performed and result in the collection of the GenericWrite and Manage Group Policy Links permissions on OUs as expected.
Types of changes
Checklist:
About this part, I do not think that documentation updates are necessary, nor the addition of tests, but feel free to correct me if I am wrong !
I am at your disposal for any further information