> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/active-directory/kerberos/kerberos-key-components.md).

# Kerberos 关键组件

#### KDC

该 **KDC**，或 **密钥分发中心**，安装在域控制器上。

它负责签发 Kerberos 票据。

它包含两个主要组件：

* **AS** ：身份验证服务；
* **TGS** ：票据授予服务。

#### AS — 身份验证服务

该 **AS** 是 KDC 中负责初始用户身份验证的部分。

当用户连接到域时发生。

#### TGS — 票据授予服务

该 **TGS** 是 KDC 中负责提供用于访问特定服务的票据的部分。

服务示例：

* SMB 共享；
* HTTP 服务；
* MSSQL；
* LDAP；
* CIFS；
* 内部应用程序服务。

#### krbtgt 账户

在 Active Directory 中，默认会创建一个特殊账户：

```
krbtgt
```

KDC 使用此账户对某些 Kerberos 票据进行签名和加密。

它极其敏感，因为它与域中 Kerberos 身份验证的工作方式有关。

<figure><img src="/files/7a141a6986ddb1757c65ff1d3bff8b590d245056" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/active-directory/kerberos/kerberos-key-components.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
