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

# 使用 Process Explorer 观察令牌

#### 启动 Process Explorer

我们在管理员 PowerShell 会话中启动 Process Explorer：

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

然后，我们还打开一个 `cmd` 没有管理员权限。

这使我们可以比较：

* 高权限进程；
* 非高权限进程；
* 相关令牌；
* 可用的特权。

<figure><img src="/files/013fd4bd27f5873ef76f939ceb6b87fef8b9be21" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4afc5015fce61c3836771b7a4ed22634745e7f38" alt=""><figcaption></figcaption></figure>

#### 检查进程的令牌

在 Process Explorer 中：

```bash
Process -> Properties -> Security
```

在此选项卡中，你可以看到：

* 与该进程关联的用户；
* 组；
* 特权；
* 完整性级别；
* 登录会话。

#### 实验中的示例

观察到的登录会话示例：

```bash
Administrator : 登录会话 9d72b1
user1          : 登录会话 955ec3
```

这表明每个会话都有自己的安全上下文。

<figure><img src="/files/cdbc4b5cb9ab19f8ef6bad80f9dc7efd50954699" 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/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.
