Join our Newsletter — 33% off our NHI Course
Home› Guides› Mimikatz for Beginners: The Tool That Pulls Passwords…
Guide Attack Techniques & Malware

Mimikatz for Beginners: The Tool That Pulls Passwords From Windows Memory

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 1 December 2026 12 min read
On this page

Mimikatz is a free tool that can copy passwords and sign-in secrets out of a Windows computer's memory.

This guide is for anyone who has seen the name in a news story or security alert and wants to know what it means. It explains what defenders see and how to protect admin and software accounts, not how to use the tool. If your organisation runs Windows computers, this tool is part of the threat picture.

In short

  • Mimikatz is a well-known tool that copies passwords, password hashes and sign-in tickets from Windows memory.
  • It usually needs admin rights first, so it is a "second step" after an attacker has already got in.
  • Copied admin and service account secrets let attackers move from one computer to many.
  • Windows protections such as LSA protection and Credential Guard, plus unique and managed passwords, make it much harder.

What you will learn

  • Explain what Mimikatz is and what it copies.
  • Describe why admin and service accounts are the biggest prize.
  • Spot the kind of alert that suggests it may have run.
  • Check which Windows protections your computers have switched on.
Windows sign-in keeper (LSASS)
the part of Windows that checks sign-ins and keeps proof of them in memory.
Scrambled password (password hash)
a one-way scrambled form of a password that Windows can sometimes accept in place of the password.
Account for software (service account)
an account used by a program or background service, not by a person.

What is Mimikatz?

Think of a key-cutting machine that someone sneaks into an office's back room. Once inside, they can copy every key hanging on the hooks. Mimikatz does this for the sign-in secrets Windows keeps in memory.

A well-known public list of attacker tools calls Mimikatz a "credential dumper". It can get passwords for Windows accounts in plain text [1]. The project's own page says it can pull passwords, hashes, PIN codes and Kerberos tickets from memory. Kerberos tickets are time-limited passes that Windows networks use to prove who you are [2].

It started as a personal project to learn about Windows security, and it is published openly [2]. It also has features useful for testing network security [1]. Criminal and state-backed groups use it too. That same public list names more than 50 groups known to have used it [1].

Where the comparison stops working: a missing key is noticed. A copied password leaves the original in place, so the owner may not notice anything has gone.

Mimikatz is one tool for a wider attack called credential dumping. For the general idea, read Credential Dumping for Beginners. This page looks at the tool itself and how to protect the accounts it targets.

Why does it matter?

One copied admin or service account secret can open many computers. That is how one infected laptop can become a firm-wide problem.

If you are an IT admin

What could happen: you sign in to a user's infected laptop to fix it, and your admin secret is copied from memory.

Check this: use a separate admin account, and sign in with it only where it is needed.

Next: Privileged Access Management for Beginners

If you look after service accounts

What could happen: a backup or database service's password is copied, and it works on every server it runs on.

Check this: list your service accounts, their owners and when their passwords last changed.

Next: Service Accounts for Beginners

If you run a small business

What could happen: every computer shares the same local admin password, so one copy opens them all.

Check this: ask your IT provider if each computer has its own admin password.

Next: Local Admin Passwords for Beginners

What does it look like?

Defenders rarely see the tool's name on screen. They see an alert from their security software. Here is a made-up one.

Example only. All values are made up.

Security alert (EXAMPLE)
Device:    LAPTOP-0000-FAKE
Alert:     Unknown program tried to read LSASS memory   (1)
Program:   C:\Users\Public\update-EXAMPLE.exe            (2)
Run as:    local administrator                          (3)
Signed in: helpdesk-admin-EXAMPLE, svc-backup-FAKE       (4)
Action:    blocked                                      (5)
  1. Something tried to read the memory where Windows keeps sign-in secrets.
  2. In a real file, this line would contain the program's name and folder. An odd name in a public folder is a warning sign.
  3. It already had admin rights, so the attacker may have been on the device for a while.
  4. An admin account and a service account had signed in here. Their secrets were the likely target.
  5. Blocked is good news, but the attacker who ran it may still be there.

Why this is risky: if the attempt had worked, both accounts in line 4 could be used on other computers.

The safer way: treat the device as compromised, and change the passwords of every account that signed in there.

How does it work?

  1. Someone signs in. When a person, admin or service account signs in, Windows keeps proof of that sign-in in memory, inside LSASS, so it does not keep asking.
  2. An attacker gets admin rights. They first need to break in and gain high-level control. A public list of attack techniques notes that this memory can be harvested by an admin user or the system account[8]. Mimikatz is a second step, not a way in.
  3. The tool reads the memory. Mimikatz copies passwords, hashes and tickets from LSASS. It can also read other stores, such as the local account database [1].
  4. The copies are reused. With a copied hash, an attacker can act as the user without knowing the password. This is called pass-the-hash. Copied tickets can be reused in a similar way [1][2].
  5. The attack spreads. If the copied account works on other computers, the attacker moves on and repeats the process. With the highest network secrets, the tool can even make fake tickets, known as golden tickets [1].
Diagram titled How stolen credentials spread, and what protects them. A top row of four grey boxes linked by arrows: 1. Sign-ins, people, admins and service accounts use a computer; 2. Kept in memory, Windows keeps proof of sign-in in LSASS; 3. Copied, an attacker with admin rights runs a tool like Mimikatz; 4. Reused, copied hashes or tickets open other computers. Under each box an arrow points to a green box: Protect, admins sign in only where needed and use separate accounts; Protect, turn on LSA protection and Credential Guard; Spot, alert on programs reading LSASS memory; Limit, unique local admin passwords and managed service accounts. Notes say each protection lowers the risk, none covers every place Windows stores credentials, and the figure is based on Microsoft documentation for Credential Guard, LSA protection, Windows LAPS and gMSA.
Figure 1. Each stage is a chance to protect, spot or limit credential theft.

The Windows protections that help

  • LSA protection runs LSASS as a protected process, so ordinary programs cannot read its memory [4].
  • Credential Guard moves key secrets, such as password hashes and Kerberos tickets, into a sealed-off area. Microsoft says even malware with admin rights cannot pull out secrets kept there [3]. It does not protect every store, such as the local account database [3].
  • Unique local admin passwords, managed by Windows LAPS, mean a password copied from one computer is less useful on another [5].
  • Managed service accounts (gMSA) let Windows set and change a service's password, so no person has to manage it [6].

Credential Guard and LSA protection are switched on by default on some newer Windows 11 business computers, but not all [3][4]. Ask your IT team to check rather than assume.

A worked example

This story is made up to show the idea.

Farah Rinaldi runs IT for a regional accountancy firm with 80 staff. On Monday her security software flags a laptop: an unknown program tried to read LSASS memory. The attempt was blocked.

Farah's first thought is relief. Her second is a question: how did the program get admin rights? She takes the laptop off the network and calls her security partner, Mira Yeboah.

Mira checks who had signed in to the laptop recently. The list includes the laptop's owner, a helpdesk admin account and the account used by the backup service. The backup account runs on every server.

Even though the attempt was blocked, they cannot be sure nothing was copied earlier. So they treat all three accounts as exposed. They change the passwords, starting with the backup service account. They check the other servers for sign-ins from that account at odd times. Mira finds no suspicious sign-ins in the records available to her.

Then they fix the causes. The backup service moves to a managed service account, so Windows changes its password automatically. Each computer gets its own local admin password through Windows LAPS. Helpdesk staff get separate admin accounts, used only where needed. Farah turns on LSA protection across the laptops after a short test, and checks which computers can run Credential Guard.

Farah learned that the most valuable secrets on that laptop did not belong to its user. They belonged to the admin and software accounts that had passed through it.

Myths and mistakes

What people thinkWhat is true
Mimikatz is a virus that breaks into computers.It is a tool that usually needs admin rights first[8]. It is used after an attacker is already in.
The alert said "blocked", so we are safe.The attacker had admin rights and may still be there. Investigate and change the exposed passwords.
Credential Guard protects every password.It protects key secrets in memory but not every store, such as the local account database[3].
Service accounts are safe because nobody uses them to sign in.Their secrets are on the computers where they run. Microsoft notes that for service and computer accounts, the password is always available on the host[7].
Using the same local admin password everywhere is easier to manage.It also means one copied password can open every computer. Unique, rotated passwords limit that[5].

What can I do this week?

  • Ask IT if LSA protection and Credential Guard are on, and where.
  • Check whether every computer has its own local admin password.
  • List the service accounts that run on many servers, and who owns each one.
  • If you are an admin, use a separate admin account and avoid signing in to ordinary laptops with it.
  • Agree what to do when an alert names LSASS. Who cuts off the device? Who changes the passwords?

Checklist

  • I can explain what Mimikatz copies and why it needs admin rights.
  • Admins use separate accounts for admin work.
  • Each computer has its own local admin password.
  • LSA protection is switched on where supported.
  • We know which computers run Credential Guard.
  • Service accounts have owners, and their passwords are managed or rotated.
  • An LSASS alert triggers isolation and password changes, even if blocked.

Common questions

Is Mimikatz illegal?

The tool is published openly and is used by security testers with permission. Using it on computers you do not own or have no written permission to test is a different matter. Our advice is to treat any unplanned sign of it on your network as an incident.

Why does my antivirus flag Mimikatz?

Because attackers use it so widely[1], security tools are built to look for it. A renamed or changed copy may not match, so it helps to also watch for any unexpected program reading LSASS memory[8]. That catches the behaviour, not just the name.

Does Mimikatz work on Macs or Linux?

No. It is listed as a Windows tool[1]. Other systems have their own credential theft risks. The same lessons apply on any system: limit admin rights, and avoid secrets that never change.

What should I do if we see an LSASS alert?

Isolate the computer, then find out which accounts had signed in to it. Change those passwords, starting with admin and service accounts. Check other computers for sign-ins by those accounts. Get help from your security partner if you have one.

How does this link to non-human identities?

Service accounts, scheduled tasks and other software accounts are non-human identities. Their secrets often sit on many servers and rarely change, which makes them a valuable target. Managed service accounts and regular rotation reduce what a copied secret is worth.

Where next?

Ready for the detail? Read the practitioner guide: Credential Dumping Guide. It goes further into detection rules, the other places Windows stores secrets and how to roll out protections across a whole estate.

Also useful:

Related NHI Mgmt Group resources: Non-Human Identities for Beginners, Service Accounts for Beginners and Local Admin Passwords for Beginners.

Key terms

Mimikatz
A Windows tool that pulls passwords, hashes and tickets out of memory.
LSASS
The Windows process that handles sign-ins and keeps sign-in secrets in memory.
Credential dumping
Copying sign-in secrets out of a computer's memory or files after getting in.
Pass-the-hash
Using a stolen password hash in place of the password to act as that account.
Credential Guard
A Windows protection that keeps key sign-in secrets in a sealed-off area.
LSA Protection
A Windows setting that stops ordinary programs from reading LSASS memory.
Service account
An account used by a program or service rather than a person.
Golden ticket
A forged Kerberos ticket made from stolen top-level network secrets.

Sources and further reading

  1. MITRE ATT&CK, "Mimikatz" (software S0002). https://attack.mitre.org/software/S0002/ (accessed 1 Dec 2026).
  2. mimikatz project, README, GitHub. https://github.com/gentilkiwi/mimikatz (accessed 1 Dec 2026).
  3. Microsoft Learn, "Credential Guard overview". https://learn.microsoft.com/en-us/windows/security/identity-protection/credential-guard/ (accessed 1 Dec 2026).
  4. Microsoft Learn, "Configure added LSA protection". https://learn.microsoft.com/en-us/windows-server/security/credentials-protection-and-management/configuring-additional-lsa-protection (accessed 1 Dec 2026).
  5. Microsoft Learn, "Windows LAPS overview". https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview (accessed 1 Dec 2026).
  6. Microsoft Learn, "Group Managed Service Accounts overview". https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/group-managed-service-accounts/group-managed-service-accounts/group-managed-service-accounts-overview (accessed 1 Dec 2026).
  7. Microsoft Learn, "Protected Users security group". https://learn.microsoft.com/en-us/windows-server/security/credentials-protection-and-management/protected-users-security-group (accessed 1 Dec 2026).
  8. MITRE ATT&CK, "OS Credential Dumping: LSASS Memory" (technique T1003.001). https://attack.mitre.org/techniques/T1003/001/ (accessed 1 Dec 2026).

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.