> For the complete documentation index, see [llms.txt](https://dmcxblue.gitbook.io/red-team-notes-2-0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dmcxblue.gitbook.io/red-team-notes-2-0/credential-dumping/lsass-dumping.md).

# Lsass Dumping

Now we are aware of dumping credentials in memory and running tools on the OS host, but we have offline methods as well, where the operator can dump the lsass process and attack the file offline. One tool that allows us this is the Task Manager itself, it will create a Dumps' file of the process for inspection, but we can grab this file and attack it offline

Requires Administrator Permissions

**TaskManager**

![](/files/u2q1hy7H7kRec6BTcjpd)

The file is dumped successfully in the mentioned folder location

![](/files/WqYvONFH7NtM962419jT)

We can grab this file and move it offline for dumping credentials

![](/files/Stdvhr3xnR7CxCPcyJSO)

Requires SYSTEM permissions

**MinidumpW**

A LOLBAS is available for dumping the lsass process, the required permission is SYSTEM we can use the following command to dump the process onto a file

`rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump PID C:\Users\HelpDesk\Desktop\lsass.dmp full`

The PID is of the lsass process

![](/files/OmKsQKx0BqEaeg68hNry)

We can do the same with mimikatz and attack the file offline

Requires Administrator permissions

**ProcDump**

ProcDump from the Sysinternals family, which purpose is for monitoring an application for CPU spikes and generating crash dumps. The tool is simple

![](/files/h9s2XyXnhRj82Fg8SvBs)
