Mimikatz: what it does, the evidence it leaves, and how to defend against it

Mimikatz is an open-source Windows tool, written by Benjamin Delpy, that reads credentials from memory and uses them: it extracts password hashes, Kerberos tickets and, on older or misconfigured systems, plain-text passwords from the LSASS process, then lets an attacker reuse them to log on elsewhere. It appears in a large share of real intrusions, often renamed or run only in memory.

GlossaryAttacker toolsMITRE ATT&CK S0002Checked 2 December 2026

What Mimikatz does

Windows keeps credential material for logged-on users in the memory of the Local Security Authority Subsystem Service (lsass.exe) so that single sign-on works. Mimikatz, with administrative rights, reads that memory and the registry hives that hold secrets, and turns what it finds into usable credentials. Its main modules:

Command or moduleWhat it doesEffect
privilege::debugEnables the debug privilegeLets it open LSASS
sekurlsa::logonpasswordsDumps credentials of logged-on users from LSASSNT hashes, Kerberos keys, plain-text passwords where WDigest is enabled
sekurlsa::pthStarts a process with a stolen NT hashPass the hash
sekurlsa::tickets, kerberos::pttExports and injects Kerberos ticketsPass the ticket
lsadump::sam, lsadump::secretsReads the SAM and LSA secrets from the registryLocal account hashes, service account passwords
lsadump::dcsyncRequests replication from a domain controllerDCSync: every domain hash
kerberos::goldenForges a ticket-granting ticket with the KRBTGT hashGolden ticket

How attackers run it

  • The executable, often renamed to something innocent and dropped in a temporary or public folder.
  • In memory through PowerShell, with scripts such as Invoke-Mimikatz, so no executable touches the disk.
  • Offline, by dumping LSASS memory to a file (with tools such as Task Manager, ProcDump or rundll32 comsvcs.dll, MiniDump) and parsing it with Mimikatz or a Python equivalent on the attacker's own machine.
  • Inside other frameworks, which embed its code and run it as a module.

Because antivirus detects the original binary well, attackers use the last three methods more often. The evidence differs accordingly: a renamed binary still leaves execution artifacts and its original file name in its version information, an in-memory run leaves PowerShell script block logging, and an offline dump leaves a large file created and usually deleted soon after.

The evidence it leaves

EvidenceWhereWhat it shows
Defender detections (HackTool)Defender operational log and support logsThe binary or script was detected, often with its path
LSASS accessSysmon event 10 (GrantedAccess such as 0x1010 or 0x1410)A process opened lsass.exe to read its memory
Command lines4688 or Sysmon 1: sekurlsa::, lsadump::, privilege::debug; comsvcs.dll, MiniDumpWhat was run, by whom
PowerShell script blocks4104Invoke-Mimikatz and similar, decoded
A dump fileUSN Journal and $MFT: lsass.dmp or similar createdLSASS memory saved for offline parsing
Pass the hash4624 logon type 9 (NewCredentials) with logon process seclogo on the sourceA process started with stolen credentials
DCSync4662 on domain controllers with replication rights from a non-DC accountDomain hashes requested
Golden tickets4769 without a matching 4768Forged tickets in use
Execution artifactsPrefetch, Amcache (SHA-1), Sysmon OriginalFileNameThe tool ran, even if renamed

Finding any of these on a host means every account logged on to it, and any account whose credentials it held, must be treated as compromised. Scope the incident from there: where were those accounts used afterwards?

What Mimikatz can and cannot reach

  • Logged-on users' credentials: NT hashes and Kerberos keys for every account with a session on the host, including service accounts and administrators who logged on remotely with interactive or RDP logons. Network logons to file shares generally leave no reusable credentials in memory.
  • Cached domain logons: stored so that laptops can log on without a domain controller. Mimikatz can extract them, but they are a slow hash format that must be cracked offline, not passed.
  • LSA secrets: passwords of services that run under named accounts, readable from the SECURITY hive.
  • Local accounts: the SAM hashes, usable directly against other machines that share the same local administrator password.
  • Plain-text passwords: only where WDigest caching is enabled or other legacy providers store them; off by default on current Windows.

It cannot read credentials protected by Credential Guard, and it cannot open LSASS running as a protected process without first loading a driver, which leaves its own evidence (7045).

Scoping an incident after Mimikatz

  • List the exposed accounts. Every account with a session on the host at the time (4624 without a matching logoff), every service account configured there, and every local account.
  • Follow each account. Search all hosts and domain controllers for where those accounts logged on after the theft, especially NTLM network logons (NTLM) and logon type 9 on other sources.
  • Check the domain. If a domain administrator's credentials were exposed, look for DCSync (4662) and plan for a KRBTGT reset.
  • Reset together. Reset exposed accounts in one coordinated step, privileged and service accounts first, so the attacker cannot switch to an account you have not reached yet.

Defending against Mimikatz

  • Credential Guard, which isolates credential material from LSASS in a virtualisation-protected process.
  • LSA protection (RunAsPPL), which runs LSASS as a protected process that ordinary administrator tools cannot open.
  • WDigest off. Plain-text password caching is disabled by default on current Windows; make sure nothing has re-enabled it (the UseLogonCredential registry value).
  • Fewer admin logons on workstations. Credentials are only in memory where accounts log on. Tiered administration and separate admin accounts limit what one compromised host yields.
  • Unique local administrator passwords with LAPS, so a stolen local hash does not open every machine.
  • The Protected Users group for privileged accounts, which blocks NTLM, weak encryption and delegation for its members.
  • Monitoring: LSASS access, the command-line strings above, type 9 logons, and DCSync on domain controllers.

Finding Mimikatz activity in Arcsentry

This AQL query on the Security log lists process creation with Mimikatz-style command lines or LSASS dump commands, using Arcsentry's normalised process fields:

filter event_code == "4688"
derive {cmd = process_command_line, exe = process_executable}
filter cmd ~= "(?i)sekurlsa::|lsadump::|kerberos::|privilege::debug|comsvcs(\\.dll)?[ ,]+#?(minidump|24)"
select {timestamp, user_name, exe, cmd}
sort {timestamp}

A second query finds pass-the-hash logons on a suspected source host: filter event_code == "4624" && event_log_logon_type_code == "9", then check the logon process and the account. The AI investigator follows a credential theft finding to every place the exposed accounts were used next, citing each record.

Artifacts that record Mimikatz

Arcsentry parses each of these from every collected host:

ArtifactWhat Arcsentry extracts
Windows Event LogsParses Windows Event Log (.evtx) files.
PrefetchParses Windows Prefetch (.pf) execution artifacts.
AmcacheParses Amcache.hve application execution history.
USN JournalParses NTFS Update Sequence Number change journal.
PowerShell HistoryParses PowerShell PSReadLine history as logical commands with physical line numbers.

Frequently asked

What is Mimikatz?

An open-source Windows tool that extracts credentials (password hashes, Kerberos tickets and sometimes plain-text passwords) from memory and the registry, and reuses them for pass the hash, pass the ticket, DCSync and golden tickets.

Is Mimikatz malware?

It is a security research and testing tool, but attackers use it so often that antivirus products, including Microsoft Defender, detect it as a hacking tool. Finding it on a host outside an authorised test is a serious finding.

How do you detect Mimikatz?

Look for antivirus detections, processes opening LSASS (Sysmon event 10), command lines containing sekurlsa:: or lsadump::, LSASS dump files, logon type 9 with seclogo for pass the hash, and DCSync requests (4662) on domain controllers.

What does sekurlsa::logonpasswords do?

It reads the memory of lsass.exe and prints the credential material of logged-on users: NT hashes, Kerberos keys and, where WDigest caching is enabled, plain-text passwords.

Can Mimikatz run without administrator rights?

Its credential-dumping functions need administrative rights, specifically the debug privilege to open LSASS, or access to the registry hives. Without them it can still use tickets or hashes the attacker already has.

Does Microsoft Defender stop Mimikatz?

Defender detects the public binary and common scripts, which is why attackers rename it, run it in memory, or dump LSASS with other tools and parse the dump elsewhere. Detection therefore also needs behaviour-based signals such as LSASS access and the command lines above.

What is the difference between Mimikatz and a password cracker?

Mimikatz extracts credential material that Windows already holds and uses it directly, often without knowing the password. A password cracker tries to recover the password from a hash by guessing, which takes time and depends on password strength.

How do I protect against Mimikatz?

Enable Credential Guard and LSA protection, keep WDigest disabled, limit privileged logons on workstations, use LAPS for unique local administrator passwords, and put privileged accounts in the Protected Users group.

Sources

  • MITRE ATT&CK: S0002 Mimikatz; T1003.001 LSASS Memory; T1550.002 Pass the Hash; T1003.006 DCSync
  • Microsoft Learn: Credential Guard; Configuring additional LSA protection; Protected Users security group
  • Benjamin Delpy: mimikatz project documentation

Checked 2 December 2026 by Venema Labs. Parser coverage is generated from the Arcsentry build the artifact library describes.

Trace every account a credential theft exposed

Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.

Request a trial