CVE DatabaseCVE-2021-1647
한국어 권고문 →
CVE-2021-16477.8/HIGHCISA KEV

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

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
defender, windows_defender
Published Date
2021-01-12
CVSS v3.1
7.8
HIGH
EPSS (30d)
39.6%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

All Windows systems running Microsoft Malware Protection Engine (MpEngine) versions prior to 1.1.17700.4

Impact

Attackers can execute arbitrary code with SYSTEM privileges and fully compromise the host by placing a crafted file that triggers automatic scanning by Defender

Mitigation

Immediately update the Microsoft Defender engine to version 1.1.17700.4 or higher and verify that automatic updates are enabled

Affected Products & Version Scope

All Microsoft Windows client and server operating systems running Microsoft Malware Protection Engine (MpEngine) versions prior to 1.1.17700.4

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Microsoft Defender typically updates automatically. To manually force an update and verify the engine version, execute the following PowerShell commands:

powershell
# Force Microsoft Defender signature and engine update
Update-MpSignature -UpdateSource MicrosoftUpdate

# Verify the currently installed engine version
Get-MpComputerStatus | Select-Object AMEngineVersion, AMEProductVersion

2. Temporary Workaround & Hardening Configuration

For air-gapped or isolated environments where immediate updates are not feasible, temporary workarounds can be applied. Note that disabling real-time scanning lowers security posture and should only be used as a temporary measure.

powershell
# Temporarily disable real-time monitoring (Not recommended for long-term use)
Set-MpPreference -DisableRealtimeMonitoring $true

# Re-enable real-time monitoring immediately after applying the update:
# Set-MpPreference -DisableRealtimeMonitoring $false

3. Log Audit & IoC Verification Commands

Use the following PowerShell script to audit the current Microsoft Defender engine version and determine if the system is vulnerable:

powershell
$EngineVersion = (Get-MpComputerStatus).AMEngineVersion
$TargetVersion = '1.1.17700.4'

if ($EngineVersion -lt $TargetVersion) {
    Write-Host '[WARNING] System is VULNERABLE. Current Engine Version:' $EngineVersion -ForegroundColor Red
    Write-Host 'Please apply the latest Microsoft Defender updates immediately.' -ForegroundColor Red
} else {
    Write-Host '[SAFE] System is PROTECTED. Current Engine Version:' $EngineVersion -ForegroundColor Green
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild, immediately update Microsoft Defender to engine version 1.1.17700.4 or higher.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2021-1647) is a critical remote code execution (RCE) flaw residing in the Microsoft Malware Protection Engine (mpengine.dll), the core scanning component of Microsoft Defender. The root cause lies in a memory corruption vulnerability during the parsing and analysis of specifically crafted files, allowing attackers to corrupt memory structures and hijack execution flow.

2. Exploitation Mechanics & Attack Scenario

An attacker exploits this vulnerability by delivering a specially crafted file to the target system via email, web download, or network share. Because Microsoft Defender's Real-time Protection automatically scans newly created or accessed files, the vulnerability is triggered immediately when the engine attempts to parse the malicious file. This process requires no user interaction or execution of the file itself, leading to arbitrary code execution under the high-privilege context of 'NT AUTHORITY\SYSTEM'.

3. Infrastructure & Business Impact

This vulnerability is listed in the CISA KEV catalog, confirming active exploitation in the wild. Successful exploitation allows threat actors to bypass endpoint security controls, establish persistent access, deploy ransomware, or perform lateral movement across the enterprise network, posing a severe threat to business continuity and data integrity.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-1647)

FAQ

Q1. How critical is CVE-2021-1647 and is it actively exploited in the wild?

CVE-2021-1647 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 39.6%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2021-1647?

Primary impacted vendors include microsoft across defender, windows_defender. Scope summary: All Microsoft Windows client and server operating systems running Microsoft Malware Protection Engine (MpEngine) versions prior to 1.1.17700.4

Q3. What temporary mitigations or workarounds exist for CVE-2021-1647 before patching?

[Mitigation] Immediately update the Microsoft Defender engine to version 1.1.17700.4 or higher and verify that automatic updates are enabled Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2021-1647

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2021-1647 Microsoft Defender Remote Code Execution Vulnerability (CVE-2021-1647) Security Advisory (CVSS 7.8) - Patch & Workaround | CVE Pulse