> ## Documentation Index
> Fetch the complete documentation index at: https://bloodhound.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# WriteAccountRestrictions

> This edge indicates the principal has the ability to modify several properties on the target principal, most notably the msDS-AllowedToActOnBehalfOfOtherIdentity attribute.

![Applies to BloodHound Enterprise and CE](https://mintcdn.com/specterops/tTIczgde9H07oLXf/assets/enterprise-AND-community-edition-pill-tag.svg?fit=max\&auto=format\&n=tTIczgde9H07oLXf\&q=85\&s=ad49a576589f4d2a8081df77d07fdf56)

The ability to modify the `msDS-AllowedToActOnBehalfOfOtherIdentity` property allows an attacker to abuse resource-based constrained delegation to compromise the remote computer system. This property is a binary DACL that controls what security principals can pretend to be any domain user to the particular computer object.

This clip demonstrates how to abuse this edge:

[Player for 2 11 BloodHound Head to Tail Andy Robbins Rohan Vazarkar](https://www.youtube.com/embed/fqYoOoghqdE?autoplay=0\&controls=0\&disablekb=1\&playsinline=1\&cc_load_policy=0\&cc_lang_pref=auto\&amp)

## Abuse Info

See the [AllowedToAct](https://bloodhound.specterops.io/resources/edges/allowed-to-act.md) edge section for abuse info

## Opsec Considerations

See the [AllowedToAct](https://bloodhound.specterops.io/resources/edges/allowed-to-act.md) edge section for opsec considerations

## Edge Schema

Source: [User](https://bloodhound.specterops.io/resources/nodes/user.md), [Group](https://bloodhound.specterops.io/resources/nodes/group.md), [Computer](https://bloodhound.specterops.io/resources/nodes/computer.md)\
Destination: [User](https://bloodhound.specterops.io/resources/nodes/user.md), [Computer](https://bloodhound.specterops.io/resources/nodes/computer.md)\
Traversable: ✅

## References

* [https://attack.mitre.org/techniques/T1098/](https://attack.mitre.org/techniques/T1098/)
* [https://dirkjanm.io/abusing-forgotten-permissions-on-precreated-computer-objects-in-active-directory/](https://dirkjanm.io/abusing-forgotten-permissions-on-precreated-computer-objects-in-active-directory/)
* [https://docs.microsoft.com/en-us/windows/win32/adschema/r-user-account-restrictions](https://docs.microsoft.com/en-us/windows/win32/adschema/r-user-account-restrictions)
* [https://specterops.io/blog/2022/08/03/introducing-bloodhound-4-2-the-azure-refactor/](https://specterops.io/blog/2022/08/03/introducing-bloodhound-4-2-the-azure-refactor/)
