Don’t let overlooked obligations become incidents. Learn how.
Utility navigation bar redirect icon
Portal LoginSupportContact
Search
Close search
Huntress Logo in Teal
  • Platform Overview
    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed EDR

    Get full endpoint visibility, detection, and response.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed ITDR

    Protect your Microsoft 365 and Google Workspace identities and email environments.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed SIEM

    Managed threat response and robust compliance support at a predictable price.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed Security Awareness Training

    Empower your teams with science-backed security awareness training.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ISPM

    Continuous Microsoft 365 and identity hardening, managed and enforced by Huntress experts.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Managed ESPM

    Proactively secure endpoints against attacks.

    Integrations
    Integrations
    Support Documentation
    Support Documentation
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
    See Huntress in Action

    Quickly deploy and manage real-time protection for endpoints, email, and employees - all from a single dashboard.

    Huntress Cybersecurity
  • Threats We Stop
    Phishing
    Phishing
    Business Email Compromise
    Business Email Compromise
    Ransomware
    Ransomware
    Infostealers
    Infostealers
    View Allright arrowView Allright arrow
    Industries We Serve
    Education
    Education
    Financial Services
    Financial Services
    State and Local Government
    State and Local Government
    Healthcare
    Healthcare
    Law Firms
    Law Firms
    Manufacturing
    Manufacturing
    Utilities
    Utilities
    View Allright arrowView Allright arrow
    Tailored Solutions
    MSPs
    MSPs
    Resellers
    Resellers
    SMBs
    SMBs
    Compliance
    Compliance
    What Gets Overlooked Gets Exploited

    Most days, nothing happens. But one day, something will.

    Huntress Cybersecurity
    Cybercriminals Have Evolved

    Get the intel on today’s cybercriminal groups and learn how to protect yourself.

    Huntress Cybersecurity
  • Pricing
  • Community Series
    The Product Lab

    Shape the next big thing in cybersecurity together.

    The Product Lab

    Shape the next big thing in cybersecurity together.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Fireside Chat

    Real people. Real perspectives. Better conversations.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    Tradecraft Tuesday

    No products, no pitches – just tradecraft.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    _declassified

    Exposing hidden truths in the world of cybersecurity.

    Resources
    Upcoming Events
    Upcoming Events
    Ebooks
    Ebooks
    On-Demand Webinars
    On-Demand Webinars
    Videos
    Videos
    Whitepapers
    Whitepapers
    Datasheets
    Datasheets
    Cybersecurity Education
    Cybersecurity 101
    Cybersecurity 101
    Cybersecurity Guides
    Cybersecurity Guides
    Threat Library
    Threat Library
    Real Tradecraft, Real Results
    Real Tradecraft, Real Results
    2026 Cyber Threat Report
    2026 Cyber Threat Report
    The Huntress Blog
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    Huntress Lands on the Microsoft Marketplace
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    How Huntress & DEFCERT Are Streamlining CMMC Assessment Prep
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
    Live Hacking Into Microsoft 365 with Kyle Hanslovan
    Huntress Cybersecurity
  • Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    Why Huntress

    Go beyond AI in the fight against today’s hackers with Huntress Managed EDR purpose-built for your needs

    Huntress Cybersecurity
    The Huntress SOC

    24/7 Security Operations Center

    The Huntress SOC

    24/7 Security Operations Center

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Reviews

    Why businesses of all sizes trust Huntress to defend their assets

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Case Studies

    Learn directly from our partners how Huntress has helped them

    Community

    Get in touch with the Huntress Community team

    Community

    Get in touch with the Huntress Community team

    Compare Huntress
    Bitdefender
    Bitdefender
    Blackpoint
    Blackpoint
    Breach Secure Now!
    Breach Secure Now!
    Crowdstrike
    Crowdstrike
    Datto
    Datto
    SentinelOne
    SentinelOne
    Sophos
    Sophos
    Compare Allright arrowCompare Allright arrow
  • HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    HUNTRESS HUB

    Login to access top-notch marketing resources, tools, and training.

    Huntress Cybersecurity
    Partners
    MSPs

    Join our partner community to deliver expert-led managed security.

    MSPs

    Join our partner community to deliver expert-led managed security.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Resellers

    Partner program designed to grow your cybersecurity business.

    Tech Alliances

    Driving innovation through global technology Partnerships

    Tech Alliances

    Driving innovation through global technology Partnerships

    Microsoft Partnership

    A Level-Up for Your Business Security

    Microsoft Partnership

    A Level-Up for Your Business Security

  • Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Press Release
    Huntress Announces Collaboration with Microsoft to Strengthen Cybersecurity for Businesses of All Sizes
    Huntress Cybersecurity
    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Our Story

    We're on a mission to shatter the barriers to enterprise-level security.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Newsroom

    Explore press releases, news articles, media interviews and more.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Meet the Team

    Founded by former NSA Cyber Operators. Backed by security researchers.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Careers

    Ready to shake up the cybersecurity world? Join the hunt.

    Awards
    Awards
    Contact Us
    Contact Us
  • Portal Login
  • Support
  • Contact
  • Search
  • Get a Demo
  • Start for Free
Portal LoginSupportContact
Search
Close search
Get a Demo
Start for Free
HomeThreat LibraryVulnerabilities
CVE-2019-1040

CVE-2019-1040 Vulnerability

Published:10/07/2025

Written by: Monica Burgess

Glitch effectGlitch effect

CVE-2019-1040 is a critical tampering vulnerability found in Microsoft Windows New Technology LAN Manager (NTLM). This flaw allows a man-in-the-middle (MitM) attacker to bypass certain NTLM protections, like Message Integrity Code (MIC), and downgrade NTLM security features. This lets them relay an authentication request to a target server, like one running Exchange or ADFS, and gain access as the authenticated user. Essentially, it’s a way for attackers to slip past security checks and take control.

When was it Discovered?

The vulnerability was discovered and reported by security researchers Marina Krotofil and Yushkevich. Microsoft issued a patch for CVE-2019-1040 as part of its Patch Tuesday release on June 11, 2019. The public disclosure highlighted the significant risks associated with NTLM relay attacks, especially in complex enterprise environments where NTLM is still widely used for authentication.

Affected Products & Versions

This vulnerability impacts various Windows operating systems and services that rely on NTLM authentication. Proper patching is crucial to secure these products.

Product

Versions Affected

Fixed Versions / Patch Links

Windows Server

2008, 2012, 2016, 2019

Apply the latest security updates from Microsoft.

Windows Client

7, 8.1, 10

Apply the latest security updates from Microsoft.

Exchange Server

All versions using NTLM

Apply the latest security updates and consider mitigations.

CVE-2019-1040 Technical Description

So, how does this whole thing work? CVE-2019-1040 gets its power by exploiting a logic flaw in how NTLM authentication handles certain connection states. Normally, NTLM includes a Message Integrity Code (MIC) to prevent tampering. This MIC acts like a digital seal, ensuring the authentication messages haven't been messed with in transit.

The vulnerability lets an attacker intercept an authentication attempt and modify it to remove the MIC field from the NTLM AUTHENTICATE message. They can then relay this tampered message to a target server. The core issue is that the server, under specific conditions, fails to reject this message that's missing its integrity check. This allows the attacker to establish an authenticated session on behalf of the victim, effectively bypassing the primary defense against NTLM relay attacks.

Tactics, Techniques & Procedures (TTPs)

Attackers exploiting CVE-2019-1040 typically use a man-in-the-middle (MitM) position to intercept network traffic. Their TTPs often involve poisoning network name resolution protocols like LLMNR or NBNS to trick a victim's machine into sending authentication credentials to an attacker-controlled machine. Once they capture the NTLM hash, they use tools like ntlmrelayx to perform the relay attack, targeting high-value services like Exchange Web Services (EWS) to dump mailboxes or escalate privileges.

Indicators of Compromise

Detecting an active CVE-2019-1040 exploit means looking for weirdness in your network traffic. Key indicators of compromise (IOCs) include NTLM authentication traffic where the AUTHENTICATE message is missing the MIC field. You might also see an unusual volume of NTLM authentication attempts from unexpected sources or logon failures that point to relay attempts. Keep an eye on logs for suspicious sign-ins to services like Exchange or ADFS, especially if they originate from internal IP addresses that shouldn't be making those connections.

Known Proof-of-Concepts & Exploits

Shortly after its disclosure, proof-of-concept (PoC) exploits for CVE-2019-1040 became available. Security researchers demonstrated how to use modified versions of popular tools like Impacket's ntlmrelayx.py script to automate the attack. These PoCs showed that attackers could successfully relay authentication to services like Exchange and execute actions such as creating new inbox rules for persistence or exfiltrating sensitive data. These tools lowered the barrier to entry, making the CVE-2019-1040 exploit accessible to a wider range of threat actors.

How to Detect CVE-2019-1040 Vulnerability?

Detecting attempts to exploit CVE-2019-1040 requires a layered approach. On the network side, intrusion detection systems (IDS) can be configured with signatures to flag NTLM authentication packets that are missing the MIC. Host-based detection, using an Endpoint Detection and Response (EDR) solution, can monitor for suspicious logon events and process execution that might follow a successful relay attack. SIEM systems are also your friend here—correlate Windows security event logs (specifically Event ID 4624 for successful logons) with network traffic data to spot anomalies, like a user logging into a server from an unusual workstation.

Impact & Risk of CVE-2019-1040 Vulnerability

Let's be real, the impact of a successful CVE-2019-1040 exploit is no joke. An attacker can gain unauthorized access to sensitive systems with the same privileges as the compromised user. If they relay the credentials of a domain administrator, it's pretty much game over. They could access confidential data, manipulate system configurations, or deploy ransomware across the network. This directly threatens data confidentiality, integrity, and availability, leading to potential data breaches, financial loss, and serious reputational damage.

Mitigation & Remediation Strategies

First and foremost, patch your systems! Microsoft released a security update for CVE-2019-1040, and applying it is the most effective way to shut this down. Beyond patching, you should implement security best practices to harden your environment against relay attacks in general. This includes enabling EPA (Extended Protection for Authentication) and requiring SMB signing on all devices. Where possible, consider disabling NTLM altogether in favor of Kerberos. If you can't get rid of NTLM completely, use network segmentation to limit the exposure of critical servers.

CVE-2019-1040 Vulnerability FAQs

CVE-2019-1040 is a critical vulnerability in Microsoft NTLM authentication that allows attackers to bypass security measures and execute malicious commands. It works by exploiting flaws in NTLM relay protections, enabling attackers to intercept and manipulate authentication traffic.

CVE-2019-1040 exploits weaknesses in NTLM authentication protocols, allowing attackers to relay credentials and gain unauthorized access to systems. It does not directly infect systems but facilitates unauthorized access and privilege escalation.

While patches have been released, CVE-2019-1040 remains a threat if systems are not updated or properly configured. Attackers may still exploit unpatched systems or use it in combination with other vulnerabilities, so stay vigilant.

Organizations can protect themselves by applying Microsoft’s security patches, disabling NTLM where possible, and implementing robust network monitoring to detect suspicious activity. Enabling security features like EPA and SMB signing also adds strong layers of defense.

Glitch effectBlurry glitch effect

Protect What Matters

Secure endpoints, email, and employees with the power of our 24/7 SOC. Try Huntress for free and deploy in minutes to start fighting threats.
Try Huntress for Free
Huntress Managed Security PlatformManaged EDRManaged EDR for macOSManaged EDR for LinuxManaged ITDRManaged SIEMManaged Security Awareness TrainingManaged ISPMManaged ESPMBook a Demo
PhishingComplianceBusiness Email CompromiseEducationFinanceHealthcareManufacturingState & Local Government
Managed Service ProvidersResellersIT & Security Teams24/7 SOCCase Studies
BlogResource CenterCybersecurity 101Upcoming EventsSupport Documentation
Our CompanyLeadershipNews & PressCareersContact Us
Huntress white logo

Protecting 239k+ customers like you with enterprise-grade protection.

Privacy PolicyCookie PolicyTerms of UseCookie Consent
Linkedin iconTwitter X iconYouTube iconInstagram icon
© 2025 Huntress All Rights Reserved.

Join the Hunt

Get insider access to Huntress tradecraft, killer events, and the freshest blog updates.

By submitting this form, you accept our Terms of Service & Privacy Policy