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

# Общий поток Kerberos

Заметки по безопасности Active Directory для общего потока Kerberos, охватывающие перечисление, 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/ru/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.
