Table of Contents
This updated guide explains how to protect Windows NTLM credentials from zero day threats with clear steps, practical tips, and useful context. Windows devices use an older login method called NTLM, which is enabled by default. If malware attacks your system, it can expose your system password to hackers. They can use a variety of Man-in-the-Middle attacks to steal your Windows login credentials.
How Do Windows NTLM Threats Steal Your Passwords?
NTLM (NT LAN Manager) is an older authentication method that is still used on many Windows devices. It works by turning your password into a code (hash) to verify you without sending the password over the network. This method is not secure because if your PC is compromised, your login password will be visible to the attacker.
Recently in April 2025, security researcher Check Point blogged about the disclosure of NTLM hashes through a vulnerability dubbed 'CVE-2025-24054'. According to them, this is an ongoing cyberattack targeting government and corporate users in Poland and Romania. The attackers are using various types of Man-in-the-Middle attacks, including Pass-the-Hash (PtH), Rainbow Table, and Relay Attack. Their main targets are high-level users or administrators.
While NTLM attacks are typically targeted at businesses and governments, home users are also vulnerable. Simply interacting with a malicious file can leak your system password.
Microsoft has released a security patch for CVE-2025-24054. So It is best to always keep your Windows system up to date to prevent these attacks. There are also a few other things you can do.
1. Disable NTLM Authentication via PowerShell
Open PowerShell with admin rights and enter these command. You will see another question asking to modify the target SMB Client Configuration. For that question, choose A .
Set-SMBClientConfiguration -BlockNTLM $true

Blocking NTLM over SMB will not affect your latest Windows devices. Still, if you run into issues with older printers, NAS servers, or other legacy devices, you can always switch back to allowing NTLM over SMB.
Set-SMBClientConfiguration -BlockNTLM $false
Server Message Block (SMB) is used for file sharing and networking. It is one of the most common connections used by PtH, Relay Attacks, and other Man-in-the-Middle attacks. By blocking NTLM over SMB, you are eliminating a key gateway for attackers.
2. Disable the Old NTLM Protocol in Registry Editor
Many Windows sessions are now stored in 'Kerberos', which is a very secure protocol as it uses ticket-based encrypted authentication. Still, there is no need to completely disable NTLM as it has many uses. Instead, we will switch to the more secure NTLMv2 protocol instead of NTLMv1.
You can do this from the Registry Editor. First, back up your registry. Next, open the Registry Editor in admin mode and open:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa

In the "Local Security Authority" (Lsa) registry key, open the LAN security manager authentication level value, "LmCompatibilityLevel". If it is not there, create a D-WORD (32 bit) in Lsa as shown above.
Double-choose "LmCompatibilityLevel" to open it. You'll see "0" as the default value. Set it to "3", "4", or "5" to have your Windows device only send NTLMv2 responses and block all legacy NTLMv1 responses.

After you make the above changes, open the path below:
COMPUTERHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanWorkstationParameters
Here you will find a D-WORD value called 'RequireSecuritySignature' or 'EnableSecuritySignature'. Its default value should be '1'. If not, change it to '1'. Once you do this, all future SMB connections will require SMB security authentication. This prevents your device credentials from being stolen.
3. Turn on Cloud Protection in Windows Security
The above registry changes are harmless. Still, if you do not want to do it, you can protect your device with the new Windows Security feature that helps prevent all kinds of threats like phishing attacks. This feature can be accessed from Virus & threat Protection > Manage settings > Cloud-delivered protection .

4. Other Security Measures
Microsoft recommends these additional security mechanisms to avoid becoming a victim of NTLM credential theft:
- Enable multi-factor authentication : You can enhance your password and PIN-based login security with multi-factor authentication mechanisms. open Settings > Accounts > Sign-in options . Here, you'll find a variety of options, such as Windows Hello and creating a physical security key using a USB device.
- Avoid clicking suspicious links : NTLM malware often spreads via malicious links. While they may be blocked by Windows Security, why risk fighting these remote exploits? Check out our detailed guide on how to spot and avoid malicious messages.
FAQ
What should I prepare before I protect windows ntlm credentials from zero day threats?
Review the requirements and options in the guide first. Having the correct device, app version, account access, or materials ready helps prevent avoidable errors.
How long does it take to protect windows ntlm credentials from zero day threats?
The time depends on the task and your setup. Most basic steps can be completed quickly, while downloads, updates, scans, or troubleshooting may take longer.
What should I do if the steps do not work?
Repeat the instructions in order, confirm that your software or device is supported, and check permissions, connectivity, and available updates before trying again.
Reader Comments 0
Sign in with email or Google to join the discussion.