> 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/credentials/token-observation-with-process-explorer.md).

# Наблюдение токенов с помощью Process Explorer

#### Запустить Process Explorer

Мы запускаем Process Explorer в сеансе PowerShell администратора:

```powershell
./procexp64.exe
```

Затем мы также открываем `cmd` без прав администратора.

Это позволяет нам сравнить:

* процесс с повышенными правами;
* процесс без повышенных прав;
* связанные токены;
* доступные привилегии.

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

<figure><img src="/files/cff237b1af38e28306d24d6c26c2f5481917713a" alt=""><figcaption></figcaption></figure>

#### Проверить токен процесса

В Process Explorer:

```bash
Процесс -> Свойства -> Безопасность
```

На этой вкладке вы можете увидеть:

* пользователя, связанного с процессом;
* группах;
* привилегии;
* уровень целостности;
* сеанс входа в систему.

#### Пример в лаборатории

Примеры наблюдаемых сеансов входа в систему:

```bash
Administrator : Сеанс входа 9d72b1
user1          : сеанс входа 955ec3
```

Это показывает, что у каждого сеанса есть свой собственный контекст безопасности.

<figure><img src="/files/fa31bc6b170bb9c27ddd8f949ad0a14dff865a94" 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/ru/active-directory/credentials/token-observation-with-process-explorer.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.
