RTFM_ security field notes

Persistence

Create users, change groups and modify attributes in the directory with bloodyAD.

bloodyAD

bloodyAD performs Active Directory actions from the command line. It can, for example:

  • Create users
  • Modify groups
  • Modify attributes

Usage

Its syntax is simple:

# Password authentication
bloodyAD --host $TargetIP -u $User -p "$Password" -d $Domain <command> <object>
# Pass the hash authentication
bloodyAD --host $TargetIP -u $User -p ":$HASH" -d $Domain <command> <object>
# Kerberos authentication
bloodyAD --host $TargetIP -u $User -k -d $Domain <command> <object>

Commands can be of the following types:

  • get
  • set
  • add
  • remove

There are many more objects; the list is available in the project documentation.

Useful commands

# Create a user
bloodyAD --host $TargetIP -u $User -p "$Password" -d $Domain add user <user_to_create> <user_password>
# Add the user to a group
bloodyAD --host $TargetIP -u $User -p "$Password" -d $Domain add membership <group_name> <user_to_add>
# List the groups of a user
bloodyAD --host $TargetIP -u $User -p "$Password" -d $Domain get membership <user>
Provenance and confidence
Version
2
Sources reviewed
2026-11-23
Confidence
medium — Legacy RTFM; v2 editorial review on 2026-11-23 separates concatenated Kerberos/domain flags. Legacy tool syntax and outcomes were not tested.

Also searched as: persistance, persistance active directory, bloodyad, création de compte, modification de groupe