> 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/windows-vulnerabilities/groups-and-integrity-levels/windows-integrity-levels.md).

# Windows 完整性级别

Windows 完整性级别 (`低`, `中等`, `高`, `系统`) 控制进程如何与其他进程和可保护对象交互。一个 `高` 完整性上下文在服务权限也允许时可以启用本地管理操作。

## 检测

```powershell
whoami /groups
```

<figure><img src="/files/b8e314a59a5fff4f59b33c80e6a40f066ddae9b0" alt="Windows integrity level in whoami /groups output"><figcaption></figcaption></figure>

## 服务权限检查

更高的完整性上下文可能允许在普通中等完整性 shell 中会失败的操作。当涉及服务权限时，先确认完整性级别，然后再转到专门的服务错误配置工作流。

<figure><img src="/files/4c5fe6dcfd1316f57c78910c0db7a35e4cb144e2" alt="Windows service permission review"><figcaption></figcaption></figure>

{% content-ref url="/pages/5a456efa7687249621b2d022236fb095719c88ec" %}
[Windows 服务错误配置](/zh/windows-vulnerabilities/vulnerable-services-and-processes/windows-service-misconfigurations.md)
{% endcontent-ref %}

## 关键要点

* 仅有完整性级别还不够；服务权限也很重要。
* 在宣称存在提权路径之前，务必先确认服务执行上下文。
* 如果路径是服务配置，请将利用说明保留在服务部分，以避免混淆概念。


---

# 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/windows-vulnerabilities/groups-and-integrity-levels/windows-integrity-levels.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.
