Except for the shortage of password security, NTLM has a number of different behaviors that make it a hacker’s paradise. First, it doesn’t require any native connection to a Home windows Area. Additionally, it’s wanted when utilizing an area account and whenever you don’t know who the supposed goal server is. On high of those weaknesses, it was invented so way back — certainly earlier than Lively Listing was even thought of — that it doesn’t assist fashionable cryptographic strategies, making its easy unsalted hashing system trivially straightforward to interrupt and decode.
Kerberos versus NTLM
These fashionable strategies are fortunately a part of the Kerberos protocols, which is what Microsoft has been attempting to exchange NTLM with over the previous a number of years. Since Home windows Server 2000, it has been the default alternative for authentication. “NTLM depends on a three-way handshake between the consumer and server to authenticate a person,” wrote Crowdstrike’s Narendran Vaideeswaran in a weblog in April 2023. “Kerberos makes use of a two-part course of that leverages a ticket granting service or key distribution middle.” That ticketing course of signifies that Kerberos is safe by design, one thing that by no means could possibly be claimed for NTLM.
One of many causes for NTLM’s enduring reign is that it was straightforward to implement. It is because when Kerberos (or one thing else) didn’t work correctly, NTLM was the fallback alternative, which suggests if a person or an app tries to authenticate with Kerberos and fails, it robotically (typically) tries to make use of NTLM protocols. “For instance, when you have workgroups with native person accounts, the place the person is authenticated instantly by the appliance server, Kerberos received’t work,” wrote TechRepublic. Microsoft has mentioned that native customers nonetheless make up a 3rd of NTLM utilization, one of many the explanation why Microsoft desires to keep up its older techniques. One other ache level is the protocol used to implement Distant Desktop Companies, which may typically fallback to NTLM. Nonetheless, “Microsoft helps legacy security configurations long gone their expiration dates,” writes Adrian Amos in a weblog put up from November 2023.
Microsoft’s pleas to encourage NTLM’s alternative had been considerably disingenuous since there weren’t any straightforward fixes. Within the mid-Nineteen Nineties they provided an up to date model 2 of NTLM that was supposed to unravel a few of the security points. It was a half-hearted effort, and v2 continues to be rife with exploits. One X person posted this remark in April: “For a few decade or extra, Microsoft took an method that clients who wished to be extra foundationally safe wanted to both possess vital experience and dedication to implement non-default and obscure issues or shift to utilizing its new MS cloud stuff. However now Microsoft is lastly launching a serious effort to really assist clients transition away from NTLM with out unacceptably breaking compatibility.”
That occurred final fall, when Microsoft documented the evolution of Home windows authentication providers. They mentioned they had been “increasing the reliability and suppleness of Kerberos and decreasing dependencies on NTLM.” That put up mentions an auditing software that may uncover NTLM cases throughout your networks, and a characteristic known as IAKerb that enables purchasers to make use of Kerberos in additional numerous community topologies and provides encryption to the authentication dialog. Nonetheless, NTLM continues to be alive as a fallback possibility. Finally, NTLM will likely be disabled utterly in Home windows 11, though no exact timeline was indicated.
The way to do away with NTLM
However transferring utterly off NTLM isn’t going to be straightforward. Enterprises have to observe a sequence of steps to lastly rid themselves of the NTLM scourge. First, it’s best to carry out a protocol audit that may uncover all the assorted nooks and hidden apps that it resides, together with legacy purchasers which are working unpatched and historic variations of Home windows (equivalent to Home windows 95 or 98) that may’t assist Kerberos.