> 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/ports-and-services/winrm-5986.md).

# WinRM - 5986

在凭据、哈希或客户端证书被恢复后，WinRM 是一条常见的远程管理路径。使用 Evil-WinRM 验证访问，并在可用时优先采用 Pass-the-Hash 或基于证书的登录。

## 备注

<table data-view="cards" data-full-width="false" data-search="false"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>凭据</strong></td><td>使用 Evil-WinRM 通过密码或 NTLM 哈希进行连接。</td><td><a href="/pages/943467a11e1708d24b25a0cc34ba660ae7e43a2e">/pages/943467a11e1708d24b25a0cc34ba660ae7e43a2e</a></td></tr><tr><td><strong>OpenSSL</strong></td><td>从 PFX 文件中提取证书和私钥以用于 WinRM 登录。</td><td><a href="/pages/474325f61660feb464bf0967ced1e8b48aa3ff50">/pages/474325f61660feb464bf0967ced1e8b48aa3ff50</a></td></tr><tr><td><strong>暴力破解</strong></td><td>使用 CrackMapExec 和 Metasploit 测试 WinRM 身份验证。</td><td><a href="/pages/e361b08f116efd81c878f1e3954a2964923370c6">/pages/e361b08f116efd81c878f1e3954a2964923370c6</a></td></tr></tbody></table>


---

# 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/ports-and-services/winrm-5986.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.
