Skip to content
Crypto Write-up Advanced

Drop the Mic (CVE-2019-1166)

A tampering flaw in Windows NTLM authentication lets a man-in-the-middle attacker remove the Message Integrity Check from relayed authentication messages. The attacker can then relay a domain controller's authentication to another domain controller and grant a controlled account the ability to impersonate any user, including a domain administrator.

AJ Hammond Follow

Published on praetorian.com

CVE-2019-1166 (“Drop the MIC”) is a tampering vulnerability in Microsoft Windows, specifically targeting the NTLM (NT LAN Manager) authentication protocol. The vulnerability allows a man-in-the-middle attacker to bypass the NTLM Message Integrity Check (MIC) protection.

Justin Copeland, on praetorian.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the NTLM protocol implementation did not properly enforce the Message Integrity Check, allowing an attacker to strip or alter it without invalidating the authentication message.

Impact

An attacker with internal network access could escalate from a low-privileged domain account to domain administrator, gaining unfettered access to the domain.

What the attacker needed

Internal network access; low-privileged domain account; ability to add a computer to the domain; forced authentication from a domain controller

The fix

Systems should be updated with Microsoft's patches for CVE-2019-1166, and Kerberos should be used instead of NTLM where possible.

How it was found

  1. Obtain a low-privileged foothold and add a computer account to the domain.
  2. Trigger authentication from one domain controller using a forced authentication technique.
  3. Relay the captured authentication to a second domain controller while removing the MIC.
  4. Grant the controlled computer account S4U2Proxy privileges over the first domain controller.
  5. Request a Kerberos service ticket impersonating a domain administrator.
  6. Use the ticket to authenticate to the domain controller as a domain administrator.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

NTLM is an older way Windows machines prove who they are to each other. A man in the middle is someone sitting on the network who can catch and forward those proof messages. This bug lets that person quietly edit the proof so it still looks valid, then use it to pretend to be a powerful server account.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More from Microsoft (Windows)

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.