Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-31978

CVE-2021-31978: Microsoft Defender DoS Vulnerability

CVE-2021-31978 is a denial of service vulnerability in Microsoft Malware Protection Engine that can disrupt system availability. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published: March 4, 2026

CVE-2021-31978 Overview

CVE-2021-31978 is a Denial of Service vulnerability affecting Microsoft Defender, specifically within the Microsoft Malware Protection Engine. This vulnerability allows a local attacker with low privileges to cause a denial of service condition, disrupting the protective capabilities of Microsoft Defender on affected systems.

Critical Impact

Successful exploitation could disable Microsoft Defender's malware protection capabilities, leaving systems vulnerable to malware attacks during the denial of service condition.

Affected Products

  • Microsoft Malware Protection Engine
  • Microsoft Defender (Windows Defender)
  • Microsoft Security Essentials

Discovery Timeline

  • 2021-06-08 - CVE-2021-31978 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-31978

Vulnerability Analysis

This Denial of Service vulnerability resides in the Microsoft Malware Protection Engine, which is the core scanning component used by Microsoft Defender and related Microsoft security products. The vulnerability can be exploited locally by an attacker who already has low-privilege access to the target system.

When successfully exploited, the vulnerability causes the Malware Protection Engine to become unresponsive or crash, resulting in a loss of real-time protection capabilities. This creates a window of opportunity where malware could execute without being detected or blocked by Microsoft Defender.

The attack requires local access, meaning the attacker must already have some level of access to the target system. However, the attack complexity is low and does not require user interaction, making it relatively straightforward to exploit once the attacker has initial access.

Root Cause

While Microsoft has not disclosed specific technical details about the root cause (classified as NVD-CWE-noinfo), the vulnerability appears to involve improper handling of certain inputs or conditions within the Malware Protection Engine that leads to resource exhaustion or a crash state. This type of vulnerability typically occurs when the engine encounters specially crafted data or conditions that cause it to enter an unrecoverable state.

Attack Vector

The attack vector for CVE-2021-31978 is local, requiring the attacker to have existing access to the target system. The exploitation flow involves:

  1. The attacker gains local access to a system running Microsoft Defender with a vulnerable version of the Malware Protection Engine
  2. The attacker triggers the vulnerability through specially crafted input or actions
  3. The Malware Protection Engine becomes unresponsive or crashes
  4. Real-time protection is disabled, allowing potential malware execution

For detailed technical information, refer to the Microsoft Security Advisory CVE-2021-31978.

Detection Methods for CVE-2021-31978

Indicators of Compromise

  • Unexpected termination or crashes of the MsMpEng.exe (Microsoft Malware Protection Engine) process
  • Windows Security Center reporting that real-time protection is disabled unexpectedly
  • Event log entries indicating Microsoft Defender service failures or unexpected restarts
  • Gaps in scheduled or real-time scan logs correlating with suspicious activity

Detection Strategies

  • Monitor Windows Event Logs for Microsoft Defender service termination events (Event ID 5001, 5010, 5012)
  • Implement endpoint detection rules to alert on repeated Malware Protection Engine crashes
  • Track the health status of Microsoft Defender across endpoints using centralized security management tools
  • Configure alerts for any security solution availability gaps or protection status changes

Monitoring Recommendations

  • Deploy SentinelOne Singularity Platform alongside Microsoft Defender for layered protection and independent monitoring capabilities
  • Establish baseline behavior for the MsMpEng.exe process to detect anomalous terminations
  • Implement automated health checks for Microsoft Defender status across all managed endpoints
  • Configure SIEM integration to correlate Defender status changes with other suspicious activities

How to Mitigate CVE-2021-31978

Immediate Actions Required

  • Verify Microsoft Defender and the Malware Protection Engine are updated to the latest version
  • Enable automatic updates for Microsoft Defender to receive security patches promptly
  • Deploy endpoint detection and response (EDR) solutions like SentinelOne as a secondary layer of protection
  • Monitor systems for any signs of exploitation attempts or protection gaps

Patch Information

Microsoft has released a patch for this vulnerability through the automatic update mechanism for the Malware Protection Engine. The engine is designed to update automatically, typically within 48 hours of a new definition or engine release. Organizations can verify the installed engine version through Windows Security settings or by checking the MpCmdRun.exe -v command output.

For complete patch information and manual update instructions, consult the Microsoft Security Advisory CVE-2021-31978.

Workarounds

  • Ensure Windows Update service is running and configured for automatic updates
  • Manually trigger definition and engine updates using MpCmdRun.exe -SignatureUpdate
  • Deploy additional endpoint protection solutions to provide coverage if Microsoft Defender becomes unavailable
  • Implement application whitelisting as an additional defense layer
bash
# Verify Microsoft Defender engine version and trigger updates
# Check current engine version
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -v

# Manually trigger signature and engine update
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate

# Verify protection status
Get-MpComputerStatus | Select-Object AMEngineVersion, AMServiceEnabled, RealTimeProtectionEnabled

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMicrosoft Malware Protection Engine

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.62%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-31978
  • Related CVEs
  • CVE-2022-24548: Microsoft Defender DoS Vulnerability

  • CVE-2023-23389: Microsoft Defender Privilege Escalation

  • CVE-2021-34471: Windows Defender Privilege Escalation Flaw

  • CVE-2021-34464: Microsoft Defender RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English