> 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/ja/active-directory/kerberos/general-kerberos-flow.md).

# Kerberosの一般的な流れ

Kerberosの一般的な流れのためのActive Directoryセキュリティノート。列挙、Kerberos、資格情報、ACL悪用、ラテラルムーブメント、攻撃のワークフロー、検証手順を扱う。

### ステップ1 — AS-REQ

ユーザーがログインすると、クライアントはKDCに要求を送信します：

```bash
AS-REQ
```

この要求は、最初の認証要求に相当します。

### ステップ2 — AS-REP

認証が有効であれば、KDCは応答を返します：

```bash
AS-REP
```

この応答には特に **TGT**や **チケット授与チケット**.

TGTは、サービスチケットを要求するための汎用チケットと見なすことができます。

### ステップ3 - TGS-REQ

ユーザーがリソース、たとえばネットワーク共有にアクセスしたい場合、TGTをKDCに提示します。

その後、クライアントは次を送信します：

```bash
TGS-REQ
```

この要求は、特定のサービスのチケットを照会します。

### ステップ4 — TGS-REP

KDCはTGTを確認し、サービスチケットを返します：

```bash
TGS-REP
```

このチケットは要求されたサービス専用です。

### ステップ5 — リソースへのアクセス

クライアントはサービスチケットを対象サーバーに提示します。

たとえば、次にアクセスするには：

```bash
//WS01/C$
```

クライアントはサーバーにサービスチケットを送信します `WS01`.

チケットが有効でも、ユーザーが共有に対する必要な権限を持っていない場合、認証は成功してもSMBアクセスは拒否されることがあります。


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/ja/active-directory/kerberos/general-kerberos-flow.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
