Skip to content

Add gmsaMembership.py to examples #1941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

int3x
Copy link

@int3x int3x commented Apr 5, 2025

This PR adds the script gmsaMembership.py to impacket.

The ms-DS-GroupMSAMembership attribute is used to determine if a requestor has permission to retrieve the gMSA password. It contains a security descriptor in the String(NT-Sec-Desc) format.

gmsaMembership.py can handle the ms-DS-GroupMSAMembership attribute of a target gMSA account. It can read the current entries, add a new one or remove the existing ones.

The script has been adopted from rbcd.py as the structure of ms-DS-GroupMSAMembership is similar to ms-DS-Allowed-To-Act-On-Behalf-Of-Other-Identity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant