# 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**

![](https://315180959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRh03Vwd4nuiUi3Oje7%2Fuploads%2FvkNZQXxErVg3VunoYFpr%2Fimage.png?alt=media\&token=13468908-c468-44cc-9a10-1046872ee979)

The file is dumped successfully in the mentioned folder location

![](https://315180959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRh03Vwd4nuiUi3Oje7%2Fuploads%2F6n1bVBaeOmkaiVUmFIQz%2Fimage.png?alt=media\&token=db787c27-4462-4be2-bedd-1b39b221c5ba)

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

![](https://315180959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRh03Vwd4nuiUi3Oje7%2Fuploads%2FK09c2hfsG2PNRuXCsyFo%2Fimage.png?alt=media\&token=64c880c9-2f69-4e34-ae0d-e5fefe084a8f)

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

![](https://315180959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRh03Vwd4nuiUi3Oje7%2Fuploads%2FtCUl2VX3iD0rmyMbI8wr%2Fimage.png?alt=media\&token=2b5a14dc-cd85-449f-a6ee-c74821f596b3)

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

![](https://315180959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MRh03Vwd4nuiUi3Oje7%2Fuploads%2Fc0wi0msyUarPUtwYKCTl%2Fimage.png?alt=media\&token=5b8f4f57-a6d7-4717-bcd5-a6be07359543)
