CriticalCVE-2021-1647

    Microsoft Defender Remote Code Execution Vulnerability (CVE-2021-1647)

    Published In CISA KEV since Sources: SingCERT, CVE.org

    What is affected, what to do

    Microsoft Defender Remote Code Execution Vulnerability

    The vulnerability is being actively exploited; treat it as a priority. The available sources name no fixed version. Check the vendor guidance in the references below. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Microsoft System Center Endpoint Protection eq 2012..2012

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    7.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    7.8

    CVSS v3

    Severity High on the scale from 0 to 10.

    Source: SingCERT, CVE.org

    39.7 %

    EPSS score

    Elevated — model estimates 10-50% exploitation likelihood.

    Source: FIRST EPSS, percentile 98.6

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    216.79 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploitedSource: CSA/SingCERT How we classify
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    7.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    7.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    39.7 %
    Elevated — model estimates 10-50% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    98.6
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This was exploited as a zero-day, and it inverts the usual threat model: the antivirus engine becomes the entry point. Any crafted file that lands on disk via mail, download or file share is scanned automatically, which yields SYSTEM-level code execution with no user interaction. The CVSS vector says "local", but in practice the attack is remotely deliverable. Exploitation likelihood is very high, and CISA does not flag known ransomware use. Organisations with healthy automatic Defender updates carry little residual risk. Isolated OT and critical-infrastructure segments, manually approved WSUS environments, and legacy Security Essentials or SCEP 2012 installations should be treated as top priority.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Audit engine versions estate-wide: The flaw is in the Microsoft Malware Protection Engine (mpengine.dll), not the OS. Per Microsoft's advisory, engine version 1.1.17700.4 is the first fixed release (verify against the vendor advisory). Inventory via Intune, SCCM/MECM or remote PowerShell: Get-MpComputerStatus | Select AMEngineVersion, AMProductVersion, AntivirusSignatureLastUpdated. Treat anything older as vulnerable.
      • Force the engine update: Run "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate on stale hosts. Engine updates ship alongside security intelligence updates (KB2267602). In WSUS or MECM, confirm that the "Definition Updates" classification is auto-approved. Held approvals are the usual reason for lingering old engines.
      • Catch up offline and isolated networks: Update OT, lab and air-gapped systems manually with the offline package (mpam-fe.exe, available from Microsoft). In critical-infrastructure environments, these are typically where vulnerable engines remain.
      • Hunt legacy products: Query the asset inventory for Microsoft Security Essentials and System Center Endpoint Protection 2012. Verify their engine versions and schedule migration to the current Defender platform or Defender for Endpoint.
      • On suspected compromise: Network-isolate the host via EDR. A successful exploit runs inside MsMpEng.exe as SYSTEM, so treat local admin credentials, service accounts and cached domain credentials on that host as compromised and rotate them.
    2. Runbook step 2

      Mitigation layers

      • Configuration / update path: Set the security intelligence update source order via GPO (InternalDefinitionUpdateServer → MicrosoftUpdateServer → MMPC). This stops a WSUS outage from silently freezing engines on old versions.
      • Endpoint hardening: Enable Tamper Protection so the engine and real-time protection cannot be rolled back or disabled. Do not turn off real-time scanning as a workaround. It removes the trigger but opens a far larger gap.
      • Ingress filtering (mail/web): Exploitation is triggered when the engine scans a crafted file, and no user interaction is required. Detonate attachments and downloads in a mail gateway or proxy sandbox before they reach endpoints. Block or quarantine unusual containers (ISO, IMG, nested archives) and files whose magic bytes don't match their extension.
      • Network segmentation: Allow client egress only through an authenticating proxy. Blocking direct outbound connections from user VLANs breaks post-exploitation C2.
      • EDR rule (preventive): Block or high-priority alert on child processes of MsMpEng.exe other than known Defender binaries (MpCmdRun.exe, MpSigStub.exe, NisSrv.exe). Baseline in audit mode first.
    3. Runbook step 3

      Detection rules

      • Sysmon EID 1 / Security 4688 – anomalous ancestry: ParentImage ends with \MsMpEng.exe and Image is a LOLBin or shell. KQL: DeviceProcessEvents | where InitiatingProcessFileName =~ "MsMpEng.exe" and FileName in~ ("cmd.exe","powershell.exe","rundll32.exe","mshta.exe")
      • Engine crashes as an exploitation signal: Application log Event ID 1000/1001 with faulting module mpengine.dll or faulting application MsMpEng.exe. Crashes shortly after a download or mail delivery suggest failed exploit attempts. SPL: index=wineventlog EventCode=1000 (Faulting_Module="*mpengine.dll*" OR Application="MsMpEng.exe")
      • Network activity from MsMpEng.exe: Sysmon EID 3 or DeviceNetworkEvents where InitiatingProcessFileName =~ "MsMpEng.exe" connects to destinations other than Microsoft cloud endpoints and the internal WSUS. Correlate with Zeek conn.log.
      • Defender Operational log: Watch for Event ID 5001 (real-time protection disabled), 5007 (configuration changed), 3002 (real-time protection failure) and 2001/2003 (update failure). Look for clusters or correlation with suspicious file arrivals.
      • File writes by MsMpEng.exe: Sysmon EID 11 where MsMpEng.exe writes executables or scripts (.exe, .dll, .ps1) outside ProgramData\Microsoft\Windows Defender\.

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    Microsoft Defender Remote Code Execution Vulnerability

    Source: CSA/SingCERT, NVD (NIST), cvelistv5, CISA KEV Catalog

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    microsoftsecurity_essentials
    • —
    • —
    microsoftsystem_center_endpoint_protection
    • 2012
    • —
    • —
    • —
    microsoftwindows_defender
    • —
    • —

    Vendors and products

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    CSA/SingCERTJanuary 2021 Monthly Patch Release (opens in a new tab)CSA/SingCERTactively exploited

    References & sources

    • Microsoft Security Update GuideMicrosoft Defender Remote Code Execution VulnerabilityVendor advisory, Patch, Vendor advisory
    • portal.msrc.microsoft.comen-US/security-guidance/advisory/CVE-2021-1647x_refsource_MISC, x_transferred, Patch, Vendor advisory
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2021-1647government-resource, US government resource
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2021-1647
    <a href="https://intel.neosec.eu/en/cve/CVE-2021-1647"><img src="https://intel.neosec.eu/badge/cve/CVE-2021-1647.svg?lang=en" alt="CVE-2021-1647 – NEOSEC Intel" height="20"></a>