CODERED VTA

Mandiant Exposes NTLMv1 Vulnerability with Pre-Computed Rainbow Table

High
Hacker in dark room
Photo by Michael Geiger

The NTLMv1 protocol, a legacy authentication protocol developed in the 1990s, has been found to be widely used despite its known vulnerabilities. Mandiant, a Google security division, has released a pre-computed rainbow table to demonstrate the insecurity of NTLMv1, allowing attackers to crack credentials in a matter of hours. This move is intended to raise awareness among organizations about the risks associated with using outdated protocols. The NTLMv1 protocol is based on the Data Encryption Standard (DES) encryption, which was updated to NTLMv2 in 1996 and later replaced by Kerberos. Despite these updates, NTLMv1 remains in use as a fallback protocol for older applications, leaving organizations vulnerable to credential theft.

The attack vector for NTLMv1 exploits involves using a pre-computed rainbow table to map a given server response to reconstruct a real NT hash. This can be achieved using Mandiant's Net-NTLMv1 rainbow table, which allows attackers to recover an NTLMv1 key in 12 hours using a computer costing $600. The exploitation chain involves using techniques such as pass-the-hash, where an attacker uses a stolen hash to access a system without needing the original password. This highlights the importance of upgrading to more secure protocols like NTLMv2 and Kerberos, which are less vulnerable to such attacks. Furthermore, the use of multi-factor authentication and regular security audits can help mitigate the risks associated with NTLMv1.

The release of the pre-computed rainbow table by Mandiant serves as a reminder that the problem of NTLMv1's insecurity exists and prompts organizations to take action. The strategic implications of this vulnerability are significant, as it can lead to trivial credential theft and compromise the security of an organization's network. It is essential for organizations to scan for the use of NTLMv1, identify the reasons for its use, and register it as a high-risk vulnerability. Recommendations include upgrading to more secure protocols, implementing multi-factor authentication, and conducting regular security audits to detect and mitigate potential threats. By taking these steps, organizations can reduce the risk of credential theft and protect their networks from potential attacks.

Attack Surface

Endpoint, Server OS

Tactics

Credential Access, Lateral Movement, Privilege Escalation

Techniques

  • T1003 – OS Credential Dumping
  • T1550 – Use Alternate Authentication Material

SuperPRO's Threat Countermeasures Procedures

  1. Upgrade to NTLMv2 or Kerberos authentication protocols
  2. Implement multi-factor authentication to reduce the risk of credential theft
  3. Conduct regular security audits to detect and mitigate potential threats
  4. Use a vulnerability scanner to identify systems that are still using NTLMv1
  5. Disable NTLMv1 on all systems and applications where possible
  6. Monitor network traffic for signs of NTLMv1 exploitation
  7. Use a threat intelligence platform to stay informed about potential threats