CVE DatabaseCVE-2021-23874
한국어 권고문 →
CVE-2021-238747.8/HIGHCISA KEVCWE-269CWE-732

McAfee Total Protection (MTP) Local Privilege Escalation and Self-Defense Bypass (CVE-2021-23874)

⚡ Jump to Patch
Affected Vendors
mcafee, trellix
Affected Components
total protection
Published Date
2021-02-10
CVSS v3.1
7.8
HIGH
EPSS (30d)
1.1%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Windows endpoints running McAfee Total Protection (MTP) prior to version 16.0.30

Impact

Local attackers with low privileges can bypass MTP self-defense mechanisms, escalate privileges to SYSTEM, and execute arbitrary code

Mitigation

Immediately upgrade McAfee Total Protection to version 16.0.30 or higher and restrict unauthorized local access to endpoints

Affected Products & Version Scope

McAfee Total Protection (MTP) prior to version 16.0.30 on Windows platforms

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

According to the official advisory, users must upgrade McAfee Total Protection to version 16.0.30 or later. On managed endpoints, administrators can force an update and verify the installed version using the following PowerShell commands:

powershell
# Force McAfee Agent to check for updates and apply patches
Start-Process -FilePath 'C:\Program Files\McAfee\Agent\cmdagent.exe' -ArgumentList '-p' -NoNewWindow -Wait

# Verify the currently installed McAfee version and build number
Get-ItemProperty -Path 'HKLM:\SOFTWARE\McAfee\Platform\SystemInfo' | Select-Object -Property BuildNumber, Version

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict local access to the system and secure the McAfee installation directory permissions to prevent low-privileged users from modifying critical paths.

bash
# Restrict write permissions on the McAfee directory to Administrators and SYSTEM only
icacls 'C:\Program Files\McAfee' /inheritance:r /grant:r 'Administrators':(OI)(CI)(F) /grant:r 'SYSTEM':(OI)(CI)(F)

3. Log Audit & IoC Verification Commands

Administrators can monitor Windows Security Event Logs (Event ID 4688) to detect anomalous child processes spawned by McAfee processes, which may indicate a self-defense bypass attempt.

powershell
# Query Security Logs for suspicious child processes spawned by McAfee binaries
Get-WinEvent -FilterHashtable @{
    LogName='Security';
    Id=4688
} | Where-Object {
    $_.Properties.Value -like '*McAfee*' -and 
    $_.Properties.Value -notlike '*mcafee*' -and 
    $_.Properties.Value -notlike '*Trellix*'
} | Select-Object TimeCreated, @{N='ParentProcess';E={$_.Properties.Value}}, @{N='NewProcess';E={$_.Properties.Value}} | Format-Table -AutoSize
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Due to active exploitation in the wild (CISA KEV), immediately update McAfee Total Protection to version 16.0.30 or higher to mitigate local privilege escalation risks.

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-23874) is an arbitrary process execution and local privilege escalation (LPE) vulnerability in McAfee Total Protection (MTP). It stems from improper privilege management (CWE-269) and insecure default permissions (CWE-732) within the application's resources. Security software typically employs 'Self-Defense' mechanisms to prevent unauthorized modification of its processes. However, in affected versions of MTP, certain IPC channels or file system resources lack strict access controls, allowing low-privileged local users to tamper with the application's execution flow.

2. Exploitation Mechanics & Attack Scenario

To exploit this vulnerability, an attacker must first gain local access to the target system with low-privilege user credentials. The attacker then targets the high-privileged McAfee service (running under SYSTEM context) by manipulating specific registry keys, file paths, or IPC handles that the service interacts with. Because MTP's self-defense fails to block these unauthorized modifications, the attacker can force the service to load a malicious DLL or execute an arbitrary binary. Consequently, the payload executes with elevated SYSTEM privileges, effectively bypassing the antivirus self-defense.

3. Infrastructure & Business Impact

This vulnerability is highly critical and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild. If an endpoint security solution is compromised and disabled, attackers can execute secondary payloads such as ransomware, dump credentials from LSASS, or perform lateral movement across the corporate network. Since the exploit runs within the context of a trusted security process, it is highly likely to evade detection by standard EDR and monitoring tools.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2021-23874)

FAQ

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

CVE-2021-23874 is rated CVSS 7.8 (HIGH) with a 30-day EPSS exploitation probability of 1.1%. 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-23874?

Primary impacted vendors include mcafee, trellix across total protection. Scope summary: McAfee Total Protection (MTP) prior to version 16.0.30 on Windows platforms

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

[Mitigation] Immediately upgrade McAfee Total Protection to version 16.0.30 or higher and restrict unauthorized local access to endpoints 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-23874

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

Generate Report →

🔗 Related Advisories in Similar Stack (mcafee)

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-23874 McAfee Total Protection (MTP) Local Privilege Escalation and Self-Defense Bypass (CVE-2021-23874) (CVSS 7.8) - Patch & Workaround | CVE Pulse