# Resource Based Constrained Delegation (RBCD)

## Resource-based Constrained Delegation (RBCD)

RBCD is different from the classic constrained delegation. There are two major differences.&#x20;

* Delegation authority has changed from domain admin to resource owner.
* The delegation is configured on the service than the web server. So the attribute of the service controls who can delegate to it.

In most cases, we have to configure RBCD on the target and then abuse it.

To abuse RBCD in the most effective form, we just need two privileges.

1. Write permissions over the target service or object to configure `msDSAllowedToActOnBehalfOfOtherIdentity`.
2. Control over an object which has SPN configured (like admin access to a domain joined machine or ability to join a machine to domain - ms-DSMachineAccountQuota is 10 for all domain users)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://playbook.sidthoviti.com/active-directory-pentest/domain-privilege-escalation/kerberos-delegation/resource-based-constrained-delegation-rbcd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
