Nightmare On NTLM Street: Legacy's Revenge

Marina Bochenkova (Cybersecurity Analyst)

Insomni'hack 2026 · Day 1 · Main Track

Overview

Phasing out legacy authentication protocols in enterprise environments is rarely a straightforward engineering task, but few protocols present as stubborn a challenge as Microsoft's NTLM (New Technology LAN Manager). In this talk, Marina Bochenkova shares an unvarnished, deeply relatable post-mortem of an 18-month, ultimately unsuccessful crusade to completely eradicate NTLM and LAN Manager (LM) from a complex corporate network. Rather than presenting a polished vendor success story, Bochenkova details the operational friction, undocumented behaviors, and organizational minefields that accompany modern legacy deprecation projects.

Watch on YouTube

Visual summary for Nightmare On NTLM Street: Legacy's Revenge by Marina Bochenkova
Visual summary for Nightmare On NTLM Street: Legacy's Revenge by Marina Bochenkova

Key moments

  1. 0:00 Introduction and speaker background
  2. 4:00 Context and origins of the NTLM project
  3. 7:30 Evolution from LAN Manager to NTLM versions 1 and 2
  4. 18:00 Taking inventory and enabling NTLM authentication logs
  5. 26:00 Uncovering legacy dependencies and missing visibility
  6. 32:00 Pilot testing breaks core components and Kerberos limitations
  7. 38:00 The disaster during holiday: company-wide lockout incident
  8. 41:30 Lessons learned and critique of vendor support
  9. 46:30 Audience Q&A and final thoughts

Nightmare On NTLM Street: Legacy's Revenge

Speakers: Marina Bochenkova (Cybersecurity Analyst)

Conference: Insomni'Hacks

YouTube: https://www.youtube.com/watch?v=F1CQI-3jpyg

Overview

Phasing out legacy authentication protocols in enterprise environments is rarely a straightforward engineering task, but few protocols present as stubborn a challenge as Microsoft's NTLM (New Technology LAN Manager). In this talk, Marina Bochenkova shares an unvarnished, deeply relatable post-mortem of an 18-month, ultimately unsuccessful crusade to completely eradicate NTLM and LAN Manager (LM) from a complex corporate network. Rather than presenting a polished vendor success story, Bochenkova details the operational friction, undocumented behaviors, and organizational minefields that accompany modern legacy deprecation projects.

The presentation matters because it bridges the gap between theoretical adversary-in-the-middle attack chains and the grinding reality of blue-team patch management. While industry guidance uniformly dictates moving away from legacy authentication, organizations lack native, scalable tooling to map dependencies before pulling the plug. By chronicling her team's missteps—including an accidental enterprise-wide lockout during a vacation handover—Bochenkova highlights the human and structural bottlenecks that leave multi-billion-dollar networks vulnerable to decades-old protocol abuse long after secure alternatives like Kerberos have been introduced.

Background

▶ Watch: Introduction and speaker background (0:00)

The architectural lineage of NTLM dates back to 1987 with the release of LAN Manager, a primitive challenge-response protocol built for early Microsoft networks. LAN Manager relied on the DES (Data Encryption Standard) algorithm, truncated passwords to a maximum of 14 characters, forced case-insensitivity by converting all inputs to uppercase, and omitted cryptographic salting entirely. These flaws make LM hashes trivial to crack within hours or even minutes using modern hardware and precomputed hash databases. Furthermore, because LAN Manager and its successors lacked mutual authentication, clients had no cryptographic guarantee of the server's identity, opening the door wide to adversary-in-the-middle and pass-the-hash attacks.

Recognizing these severe limitations, Microsoft introduced NTLMv1 alongside Jurassic Park in 1993, incorporating MD4 hashing and supporting longer passwords. However, NTLMv1 still lacked salting and mutual authentication. NTLMv2 followed, adding HMAC-MD5, client-generated challenges, and timestamps, providing incremental cryptographic hardening. Yet, none of these iterations supported multi-factor authentication natively, and all remained susceptible to relay and pass-the-hash techniques.

Crucially, Microsoft introduced Kerberos in 2000 as the default authentication protocol for Windows domains—an architecture featuring mutual authentication, AES encryption, and time-limited, client-specific tickets. Despite Kerberos being available for over two decades, organizations clung to NTLM for backward compatibility with legacy industrial hardware, old laboratory appliances, and unmanaged applications. This dependency turned NTLM into a persistent security liability, cited in major ransomware incidents and targeted by numerous threat actor groups tracked in the MITRE ATT&CK framework.

Key Findings

▶ Watch: Evolution from LAN Manager to NTLM versions 1 and 2 (7:30)

During her 18-month project, Bochenkova encountered several critical hurdles that prevented full eradication of the protocol:

  • Invisible Dependencies: Standard Windows security and authentication logs revealed that clients were attempting NTLM authentication, but failed to disclose where those requests were directed or what applications triggered them. Without application-layer mapping across tens of thousands of endpoints, identifying what would break upon disabling NTLM proved nearly impossible.
  • The Anonymous Logon False Positive: Initial sweeps for NTLMv1 showed heavy usage by "Anonymous Logon" accounts. Deeper investigation revealed this to be a Microsoft logging artifact rather than an active legacy authentication vector, serving as a classic red herring for blue teams.
  • Kerberos Fallback Triggers: Even when applications ostensibly supported Kerberos, infrastructure failures routinely forced an automatic fallback to NTLM. These triggers included losing a direct line of sight to a domain controller (such as over certain VPN or proxy configurations), resolving hostnames via IP addresses instead of fully qualified domain names, or experiencing clock skew between clients and domain controllers.
  • Ecosystem Blind Spots: Critical business units relied on legacy systems—including an un-upgradable IBM system old enough to legally drink in the United States—making complete deprecation commercially unviable without incurring catastrophic operational downtime.

Technical Deep Dive

▶ Watch: Uncovering legacy dependencies and missing visibility (26:00)

To audit existing authentication methods, administrators must manually enable non-default auditing group policies on domain controllers and member servers. Bochenkova detailed the specific event tracing required to capture NTLM traffic:

  • Event ID 8003: Captured on domain controllers and servers, providing logging details regarding authenticating clients, logon IDs, and timestamps.
  • Event ID 4624 and 4776: Found in standard security event logs, where the authentication package description explicitly designates whether Kerberos, LM, NTLMv1, or NTLMv2 was utilized.

Enforcing protocol restrictions relies heavily on manipulating the LM Compatibility Level registry key (located under HKLM\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel). The levels dictate acceptable authentication behavior:

| Level | Description |

| :--- | :--- |

| Level 0 | Send LM and NTLM response; never use NTLMv2 session security (most permissive). |

| Level 1 | Clients use LM and NTLM session security if negotiated. |

| Level 2 | Clients send NTLM response only. |

| Level 3 | Clients send NTLMv2 response only. |

| Level 4 | Domain controllers refuse LM responses. |

| Level 5 | Domain controllers refuse LM and NTLMv1 responses; accept only NTLMv2 (most restrictive). |

Transitioning these levels requires a full system restart to take effect on endpoints. However, forcing domain controllers to Level 5 while clients retain permissive settings creates a fatal mismatch: clients emit authentication formats that domain controllers explicitly reject, resulting in immediate enterprise-wide lockouts.

Demo / Proof of Concept

▶ Watch: The disaster during holiday: company-wide lockout incident (38:00)

No live proof-of-concept demonstration was included in this talk; the speaker focused entirely on post-incident analysis, enterprise logging methodologies, and administrative lessons learned.

Defensive Implications

▶ Watch: Audience Q&A and final thoughts (46:30)

Defenders attempting to phase out legacy authentication protocols must adopt a rigorous, phased methodology backed by robust asset discovery and executive sponsorship:

  • Deploy Enhanced Logging Early: Leverage Microsoft's newer enhanced NTLM logging features to capture granular details regarding why an NTLM fallback occurred (e.g., Service Principal Name misconfigurations or unreachable domain controllers).
  • Correlate Seam Data, Not Just Logs: Cross-reference successful NTLM authentications (Event ID 4624) with Kerberos failure logs within a SIEM to map fallback chains across endpoints before modifying group policies.
  • Implement the "Scream Test" Carefully: Use graduated rollouts (pilot workstations, specific regional subnets, and non-critical servers) combined with registry adjustments to isolate breakage without impacting core business operations.
  • Establish Strict Change Control: Ensure that major Active Directory structural changes are never executed immediately prior to key administrative personnel taking extended leave, and maintain automated rollback mechanisms via EDR live response capabilities.

Key Takeaways

  • Legacy Persistence: Decades-old protocols like NTLM and LM stubbornly persist due to hidden application dependencies and un-upgradable legacy hardware.
  • The Visibility Gap: Native Microsoft tooling historically lacked clear, scalable mechanisms to identify precisely what application or service triggers an NTLM fallback.
  • Kerberos Caveats: Kerberos automatically downgrades to NTLM under network duress, including clock drift, IP-based routing, or VPN disruptions.
  • Organizational Realities: Technical debt combined with poor vendor documentation often transforms security hardening projects into political and operational dumpster fires.
  • Human Factor in Incidents: Failures during infrastructure changes reflect organizational and architectural vulnerabilities, not individual incompetence; punitive blame cultures compound recovery friction.

About the Speaker(s)

  • Marina Bochenkova (Cybersecurity Analyst): Marina is a cybersecurity analyst focusing on digital forensics, incident response, and OT security, while also working in security awareness and culture. She combines a passion for protecting people with a strong belief in digital privacy as a human right.

Reviews

→ Top-rated talks at Insomni'hack 2026

All talks from Insomni'hack 2026