The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2023-21725

CVE-2023-21725: Windows MSRT Privilege Escalation Flaw

CVE-2023-21725 is a privilege escalation vulnerability in Microsoft Windows Malicious Software Removal Tool that allows attackers to gain elevated privileges. This article covers technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-21725 Overview

CVE-2023-21725 is an elevation of privilege vulnerability affecting the Windows Malicious Software Removal Tool (MSRT). This vulnerability allows a locally authenticated attacker to exploit race conditions and symbolic link handling flaws to gain elevated privileges on the target system. The vulnerability requires local access and involves complex timing conditions, but successful exploitation could result in significant integrity and availability impacts.

Critical Impact

Local attackers with low privileges can exploit race conditions and symlink vulnerabilities to elevate their privileges, potentially compromising system integrity and availability.

Affected Products

  • Microsoft Windows Malicious Software Removal Tool (all versions prior to patch)

Discovery Timeline

  • January 10, 2023 - CVE-2023-21725 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21725

Vulnerability Analysis

This vulnerability stems from improper handling of symbolic links (symlinks) combined with a race condition (Time-of-Check Time-of-Use or TOCTOU) within the Windows Malicious Software Removal Tool. The vulnerability is classified under CWE-59 (Improper Link Resolution Before File Access) and CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization).

The Windows Malicious Software Removal Tool performs file operations during its scanning and remediation processes. When the tool processes files or directories, there exists a window between when it checks file permissions or attributes and when it actually performs operations on those files. An attacker can exploit this timing gap by manipulating symbolic links to redirect file operations to privileged locations.

The local attack vector requires the attacker to have already established a foothold on the target system with low-privilege access. The high attack complexity stems from the precise timing required to win the race condition and successfully place a symbolic link during the vulnerable window.

Root Cause

The root cause of CVE-2023-21725 lies in two interconnected weaknesses:

  1. Improper Symbolic Link Resolution (CWE-59): The MSRT does not properly validate or restrict symbolic links before performing file operations. This allows an attacker to create symlinks that point to sensitive system files or directories.

  2. Race Condition (CWE-362): A TOCTOU race condition exists where the tool checks file properties at one point in time but performs operations at a later time. During this window, an attacker can swap legitimate files or directories with malicious symbolic links.

When these two weaknesses are combined, a low-privileged user can manipulate the tool's file operations to affect files they would not normally have access to modify or delete.

Attack Vector

The attack requires local access to the system and involves the following general approach:

An attacker with a low-privileged account monitors for MSRT execution or triggers it manually. During the tool's operation, the attacker creates symbolic links in locations where MSRT performs file operations. By carefully timing the creation of these symlinks to occur between the security check and the actual file operation, the attacker can redirect write, delete, or modify operations to privileged system locations. This can result in denial of service through file deletion or corruption, or potentially privilege escalation through modification of security-sensitive files.

The attack complexity is high because the attacker must precisely time their actions to exploit the narrow TOCTOU window. However, automated tools and repeated attempts can increase the likelihood of success.

Detection Methods for CVE-2023-21725

Indicators of Compromise

  • Unusual symbolic link creation in temporary directories or directories accessed by MSRT
  • Unexpected file operations or deletions in system directories coinciding with MSRT execution
  • Process monitoring showing rapid symlink creation and deletion patterns
  • Event logs indicating privilege escalation attempts following MSRT execution

Detection Strategies

  • Monitor for symbolic link creation in directories commonly used by MSRT such as %TEMP% and Windows Defender directories
  • Implement file integrity monitoring on critical system files to detect unauthorized modifications
  • Enable advanced audit policies for object access and privilege use
  • Use endpoint detection solutions to identify suspicious TOCTOU attack patterns

Monitoring Recommendations

  • Enable Windows Security Event logging for file system operations (Event IDs 4656, 4663, 4660)
  • Configure SentinelOne's real-time file monitoring to detect symlink manipulation attempts
  • Monitor scheduled task execution for MSRT and correlate with file system activity
  • Implement behavioral analysis to detect rapid file attribute changes characteristic of race condition exploits

How to Mitigate CVE-2023-21725

Immediate Actions Required

  • Update the Windows Malicious Software Removal Tool to the latest patched version from Microsoft
  • Review systems for signs of exploitation using the detection strategies outlined above
  • Ensure endpoint protection solutions are updated with the latest threat intelligence
  • Restrict unnecessary local user accounts and enforce principle of least privilege

Patch Information

Microsoft has released a security update addressing CVE-2023-21725. Organizations should apply the latest version of the Windows Malicious Software Removal Tool. The tool typically updates automatically through Windows Update, but administrators should verify that updates are being applied correctly across their environment.

For detailed patch information and download links, refer to the Microsoft Security Advisory CVE-2023-21725.

Workarounds

  • Temporarily disable automatic execution of MSRT via Group Policy until patches can be applied
  • Restrict user permissions to create symbolic links using Local Security Policy (SeCreateSymbolicLinkPrivilege)
  • Implement application control policies to limit which users can execute MSRT
  • Use SentinelOne's Singularity platform to monitor and block suspicious symlink manipulation attempts
bash
# Restrict symbolic link creation privileges via PowerShell
# Run as Administrator
# This limits which users can create symbolic links
secedit /export /cfg c:\temp\secpol.cfg
# Review and modify SeCreateSymbolicLinkPrivilege in the exported policy
# Then reimport with: secedit /configure /db c:\windows\security\local.sdb /cfg c:\temp\secpol.cfg

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechWindows

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-59

  • CWE-362
  • Technical References
  • Microsoft Security Advisory CVE-2023-21725
  • Related CVEs
  • CVE-2026-23672: Windows UDFS Privilege Escalation Flaw

  • CVE-2026-25178: Windows WinSock Driver Privilege Escalation

  • CVE-2026-24283: Windows File Server Privilege Escalation

  • CVE-2026-24294: Windows SMB Server Privilege Escalation
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