> 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/vulnerable-services-and-processes.md).

# Windows 脆弱服务和进程

Windows 进程和服务可能暴露秘密、弱配置或已知漏洞。在选择利用路径之前，请先识别服务、版本、执行上下文、权限和补丁级别。

```powershell
tasklist /svc
```

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h3><i class="fa-screwdriver-wrench" style="color:$primary;">:screwdriver-wrench:</i></h3></td><td><h4>Windows 服务错误配置</h4></td><td>检查弱服务权限、可写的服务二进制文件、未加引号的路径，以及提升的服务重启条件。</td><td><a href="/pages/5a456efa7687249621b2d022236fb095719c88ec">/pages/5a456efa7687249621b2d022236fb095719c88ec</a></td></tr><tr><td><h3><i class="fa-desktop" style="color:$primary;">:desktop:</i></h3></td><td><h4>TeamViewer 注册表密码</h4></td><td>从旧版安装中提取并解密存储在 Windows 注册表中的 TeamViewer 密码。</td><td><a href="/pages/07f13aaddfb532bd090ca1f9b0ec7160c9ef1613">/pages/07f13aaddfb532bd090ca1f9b0ec7160c9ef1613</a></td></tr><tr><td><h3><i class="fa-print" style="color:$primary;">:print:</i></h3></td><td><h4>打印后台处理程序 - PrintNightmare</h4></td><td>验证 Windows 打印后台处理程序的利用条件，并在授权实验环境中测试 PrintNightmare。</td><td><a href="/pages/49180d0e9b96fedbb98ce168e51368f1593fae3e">/pages/49180d0e9b96fedbb98ce168e51368f1593fae3e</a></td></tr></tbody></table>

## 服务基线

```cmd
sc query state= all
sc qc <service_name>
tasklist /svc
net start
```

```powershell
Get-WmiObject Win32_Service | Select-Object Name,StartName,State,PathName
Get-Process | Select-Object Id,ProcessName,Path
```


---

# 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/vulnerable-services-and-processes.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.
