How to Stop Credential Theft on Your Windows PC
Security
5 min readOctober 9, 2026

How to Stop Credential Theft on Your Windows PC

Credential theft is one of the most common ways attackers gain access to your accounts and data. Learn the practical steps you can take right now to lock down your Windows PC and keep your passwords safe.

Share

Why Credential Theft Targets Windows Users

Every day, attackers use phishing emails, malicious downloads, and memory-scraping tools to steal usernames and passwords from Windows PCs. Once they have your credentials, they can access your email, bank accounts, cloud storage, and corporate systems — often without triggering any obvious alarm.

Windows stores credentials in several places: the browser's built-in password manager, the Windows Credential Manager, LSASS memory, and cached domain credentials. Each of these is a potential target. The good news is that a handful of practical steps can dramatically reduce your exposure.

Free AI Diagnosis

Having this problem on your own PC?

Describe what's happening and get a real AI diagnosis in seconds — no account needed.

Step 1: Enable Windows Credential Guard

Credential Guard isolates LSASS (Local Security Authority Subsystem Service) in a virtualization-based security container, making it much harder for tools like Mimikatz to dump password hashes from memory.

To check whether Credential Guard is active, open PowerShell as Administrator and run:

Get-ComputerInfo | Select-Object -Property DeviceGuard*

Look for DeviceGuardSecurityServicesRunning — if it includes CredentialGuard, you are protected. If not, enable it through Group Policy:

1

Press Win + R, type gpedit.msc, and press Enter.

2

Navigate to Computer Configuration → Administrative Templates → System → Device Guard.

3

Open Turn On Virtualization Based Security and set it to Enabled.

4

Under Credential Guard Configuration, select Enabled with UEFI lock.

5

Restart your PC.

Note: Credential Guard requires Windows 11 Enterprise or Pro (64-bit), a UEFI firmware with Secure Boot, and hardware virtualization support.

Step 2: Audit and Clean Up Windows Credential Manager

Windows Credential Manager stores saved passwords for websites, network shares, and applications. Attackers who gain local access can read these entries.

To review what is stored:

1

Open Control Panel → Credential Manager.

2

Click Windows Credentials and expand each entry.

3

Remove any entries you do not recognize or no longer need — especially generic entries like MicrosoftOffice16_Data:SSPI that may hold domain credentials.

You can also list all stored credentials from the command line:

cmdkey /list

To delete a specific entry:

cmdkey /delete:<target-name>

Keep only the credentials you actively use and understand.

Step 3: Use a Dedicated Password Manager

Browser-built-in password managers (Chrome, Edge, Firefox) store credentials in files that are readable by any process running under your user account. A dedicated password manager like Bitwarden or KeePass encrypts your vault with a master password and keeps it separate from the browser's storage.

Why this matters

Browser credential files are stored in predictable locations (e.g., %LOCALAPPDATA%\Google\Chrome\User Data\Default\Login Data) and can be copied and decrypted by info-stealer malware.

A dedicated vault requires the master password to decrypt — even if the vault file is stolen, it is useless without it.

If you switch to a dedicated password manager, disable the browser's built-in save-password feature:

Chrome/Edge: Settings → Autofill → Passwords → turn off Offer to save passwords.

Firefox: Settings → Privacy & Security → uncheck Ask to save logins and passwords.

Step 4: Enable Multi-Factor Authentication Everywhere

Even if an attacker steals your password, multi-factor authentication (MFA) stops them from logging in. Enable MFA on:

Your Microsoft account (account.microsoft.com → Security → Advanced security options)

Your email provider

Any cloud storage or financial service

Your VPN if you use one for work

Use an authenticator app (Microsoft Authenticator, Google Authenticator) rather than SMS codes — SIM-swapping attacks can intercept text messages.

Step 5: Restrict NTLM and Cached Domain Credentials

On domain-joined PCs, Windows caches the last 10 domain logons by default so you can log in when the domain controller is unreachable. These cached hashes are stored in the registry and can be cracked offline.

To reduce the cache size to 1 (the minimum that still allows offline login):

1

Open gpedit.msc.

2

Navigate to Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options.

3

Find Interactive logon: Number of previous logons to cache and set it to 1.

You can also disable NTLM authentication entirely if your environment supports Kerberos:

Computer Configuration → Windows Settings → Security Settings → Local Policies → Security Options → Network security: Restrict NTLM: NTLM authentication in this domain → Deny all

Test carefully in a lab environment before applying this to production systems.

Step 6: Keep Windows and Drivers Updated

Many credential-theft exploits target unpatched vulnerabilities in Windows components. Run Windows Update regularly and check for driver updates through Device Manager or your hardware manufacturer's site.

To check your current patch status quickly:

Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 10

This lists the 10 most recently installed patches with their dates.

Step 7: Run a Full Diagnostic to Spot Hidden Threats

Credential-stealing malware often runs silently in the background, hiding in startup entries, scheduled tasks, or browser extensions. A thorough diagnostic can surface these threats before they cause damage.

DiagnoseMyPc makes this easy: upload a screenshot of suspicious behavior, paste the output of a PowerShell command, or run the optional Windows scan tool to collect system data automatically. DiagnoseMyPc analyzes the results and flags unusual startup items, suspicious processes, and misconfigured security settings — giving you a clear action list instead of raw log files.

The free plan includes 5 analyses per month, which is enough to run a check after any suspicious event and again after you have applied fixes.

Putting It All Together

Credential theft succeeds when attackers find an easy path — an unpatched system, a saved password in the browser, or an account without MFA. Closing these gaps does not require advanced expertise:

Enable Credential Guard to protect LSASS memory.

Audit Credential Manager and remove stale entries.

Switch to a dedicated password manager and disable browser password saving.

Turn on MFA for every important account.

Reduce cached domain credentials on domain-joined machines.

Stay patched — most exploits target known, fixable vulnerabilities.

If you are unsure whether your PC is already compromised, start with a diagnostic. DiagnoseMyPc can analyze your system configuration and highlight the security gaps that matter most, so you can fix the right things first.

Found this helpful?

Share it with someone who could use it.

Share

DiagnoseMyPC Team

Expert PC diagnostics and troubleshooting guides to help you keep your Windows system running smoothly.

Get the free Windows Troubleshooting Checklist

Subscribe and instantly download our 50-point Windows troubleshooting checklist — plus practical fixes, performance tips, and security alerts from the DiagnoseMyPC team.

No spam. Unsubscribe anytime.

Frequently Asked Questions

How do I know if my PC has malware?

Common signs include sudden slowdowns, pop-ups, unfamiliar programs, high network or CPU usage when idle, and browser changes you didn't make. An AI diagnosis can flag suspicious activity in your system data — run a free scan at diagnosemypc.com to check.

Is Windows Defender enough to protect my PC?

For most home users, Windows Defender plus safe browsing habits and regular updates is solid protection. The bigger risks are outdated software, weak passwords, and clicking malicious links — good habits matter more than any single tool.

What should I do first if I think I've been hacked?

Disconnect from the internet, change important passwords from a different device, run a full security scan, and check for unfamiliar programs or startup entries. A diagnosis helps confirm what changed on your system so you know exactly what to clean up.

Does this tool make changes to my PC without asking?

No. The analyzer only reads the diagnostic data you choose to share and shows you any recommended fixes first. You stay in complete control of what actually runs on your computer.

Free Diagnostic Tool

Having PC Issues? Let AI Diagnose Them

Get an AI-powered analysis of your Windows PC in under 5 minutes — no technical knowledge required, no account to get started.