# Kerberos Delegation

## What is Kerberos Delegation?

* Allows to "reuse the end-user credentials to access resources hosted on a different server"
* E.g. user authenticates to webserver, then webserver impersonates user to authenticate to database server
* But: Service account for web server must be trusted for delegation to impersonate user

## Authentication Process

* User provides credentials to DC
* DC returns TGT
* User requests TGS for web service on Web Server
* Web server service account uses the user's TGT to request TGS for the database server from the DC
* Web server service account connects to the database server as the user

## Types of Kerberos Delegation

### Unconstrained

* General/basic delegation
* Allows service to access any server on any computer in the domain

### Constrained

* Allows service to request access only to specified computers/resources
* If user is not using Kerberos authentication to authenticate to web server, Windows offers Protocol Transition to transition the request to Kerberos


---

# 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://wiki.bufu-sec.com/active-directory/general/kerberos_delegation.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.
