How to Find NTLMv1 Audit Events in Event Viewer
In this article
Yes, you can find NTLMv1 audit events in Windows 11 by enabling NTLM auditing through Group Policy or Local Security Policy, then reviewing the Security log in Event Viewer for specific event IDs. This process allows you to detect legacy authentication attempts using the insecure NTLMv1 protocol, which helps identify systems or services still relying on outdated and vulnerable authentication methods. Before starting, ensure you have administrative access and that auditing is properly configured, as NTLMv1 events are not logged by default.
What You'll Need
- Administrator privileges on the Windows 11 machine
- Access to Local Group Policy Editor (gpedit.msc) or Local Security Policy (secpol.msc)
- Event Viewer (eventvwr.msc) to view logs
- Network connectivity (if applying domain-wide policies via Group Policy Management)
Step-by-Step
- Open the Run dialog by pressing Windows + R, type
secpol.msc, and press Enter. If prompted by User Account Control, click Yes to continue. This opens the Local Security Policy editor. - Navigate to Security Settings > Local Policies > Security Options in the left pane.
- Scroll down in the right pane and locate the policy: Network security: LAN Manager authentication level. Double-click it to open the configuration window.
- Set the policy value to Send NTLMv2 response only. Refuse LM & NTLM. This ensures only NTLMv2 is accepted and helps identify any systems still attempting NTLMv1. Click OK.
- Next, navigate to Security Settings > Advanced Audit Policy Configuration > Audit Policies > Authentication.
- Double-click Logon under the Authentication category. Enable Success and Failure auditing, then click OK.
- Go to Account Logon in the same section and also enable auditing for both Success and Failure events.
- Open Event Viewer by pressing Windows + X and selecting Event Viewer, or type
eventvwr.mscin the Run dialog. - In Event Viewer, expand Windows Logs and click Security to view the security event log.
- Click Filter Current Log… in the Actions pane on the right.
- In the filter dialog, enter the following Event IDs in the Event IDs field: 4624, 4625, 4776. These correspond to successful logons, failed logons, and NTLM authentication attempts.
- Click OK to apply the filter. Review the filtered events. Look for Event ID 4776, which logs NTLM authentication. In the event details, check the Authentication Package field. If it shows NTLM and the Workstation Name or Client Address indicates an older system, it may be using NTLMv1.
- To confirm NTLMv1 usage, check the event’s Security ID and Logon Type. Type 3 logons (network logons) using NTLM from legacy clients often indicate NTLMv1 attempts, especially if the client does not support NTLMv2.
- Optionally, export the filtered log for further analysis by right-clicking the log, selecting Save Filtered Log As…, and choosing a location and format (e.g., .evtx).
Common Mistakes
- Not enabling advanced audit policies: Relying only on basic audit settings may miss NTLM-specific events. Always use Advanced Audit Policy Configuration for granular control.
- Filtering only by Event ID 4624: This captures all successful logons, but not all are NTLM-based. Include 4776 to specifically catch NTLM authentication attempts.
- Assuming all NTLM is v1: NTLMv2 is still NTLM. The event log shows "NTLM" as the authentication package regardless of version. Use network analysis or client configuration to determine if v1 is in use.
- Skipping policy enforcement: Setting the LAN Manager authentication level to refuse LM and NTLM forces clients to use NTLMv2 or fail, making v1 attempts visible as failures.
Tips
- Use consistent filtering: Save your Event Viewer filter for reuse. Right-click the filtered view and choose "Save Filtered Log As" with a descriptive name.
- Check client compatibility: Older systems like Windows XP or embedded devices may default to NTLMv1. Isolate or update them to prevent vulnerabilities.
- Monitor over time: NTLMv1 attempts may not occur immediately. Run the audit over several days, especially during peak usage hours.
- Combine with network tools: Use Wireshark or Microsoft Message Analyzer to inspect authentication traffic and confirm NTLMv1 usage when Event Viewer is inconclusive.
- Apply Group Policy in domains: In domain environments, configure these settings via Group Policy Management Console (GPMC) to enforce them across all machines.
Troubleshooting
If no NTLM events appear in Event Viewer, first ensure that auditing is enabled. Recheck the Advanced Audit Policy settings under Authentication and confirm both Logon and Account Logon are set to audit Success and Failure. If policies were changed recently, restart the computer or run gpupdate /force in Command Prompt (as administrator) to apply them.
If Event IDs are not appearing, verify that the Security log is not full. Right-click Security under Windows Logs, select Properties, and ensure the log size is sufficient (at least 128 MB) and set to overwrite older events as needed.
If you suspect NTLMv1 is in use but no events are logged, the client may be bypassing Windows authentication (e.g., using a direct SMB connection with hardcoded credentials). In such cases, use network packet analysis to detect LM or NTLMv1 handshakes, identifiable by their lack of extended session security and specific signature patterns.
If the Local Security Policy editor is missing (common on Windows 11 Home), use Group Policy via gpedit.msc if available, or apply registry settings manually. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa, set LmCompatibilityLevel to 5 (DWORD), and reboot.
Frequently Asked Questions
What is NTLMv1 and why is it a security risk?
NTLMv1 is an outdated Windows authentication protocol vulnerable to brute-force and relay attacks due to weak cryptography. It should be disabled in favor of NTLMv2 or Kerberos.
Can Event Viewer directly show if NTLMv1 is used?
No. Event Viewer shows "NTLM" as the authentication package but does not distinguish between v1 and v2. Use policy settings to block v1 and infer usage from failed attempts or analyze network traffic.
Why don't I see Event ID 4776 in my logs?
Event 4776 only logs when NTLM authentication is attempted. If not present, NTLM may not be in use, or auditing is not enabled. Verify audit settings and ensure clients are accessing NTLM-reliant resources.
Is it safe to disable NTLMv1 in my environment?
Yes, for most modern environments. However, test first—some legacy applications or devices may require NTLMv1. Use audit mode to identify dependencies before enforcement.
Do I need domain admin rights to configure this?
On standalone machines, local admin is sufficient. In domain environments, Group Policy configuration typically requires domain admin rights to deploy changes widely.
Can I automate monitoring for NTLMv1 attempts?
Yes. Use Windows Event Forwarding or SIEM tools to collect and alert on Event ID 4776. Combine with scripts that parse event logs for patterns indicating legacy authentication.