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-28260

CVE-2023-28260: Microsoft .NET DLL Hijacking RCE Flaw

CVE-2023-28260 is a DLL hijacking remote code execution vulnerability in Microsoft .NET that enables attackers to execute malicious code. This article covers technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-28260 Overview

CVE-2023-28260 is a DLL Hijacking vulnerability affecting Microsoft .NET and Visual Studio 2022. This vulnerability allows an attacker with local access to execute arbitrary code by exploiting improper DLL loading mechanisms in the .NET runtime. When a .NET application loads DLLs without proper path validation, an attacker can place a malicious DLL in a location where it will be loaded instead of the legitimate library, resulting in code execution with the privileges of the running application.

Critical Impact

Successful exploitation of this DLL Hijacking vulnerability allows attackers to achieve arbitrary code execution, potentially leading to complete system compromise, data theft, or lateral movement within an organization's network.

Affected Products

  • Microsoft .NET
  • Microsoft Visual Studio 2022

Discovery Timeline

  • April 11, 2023 - CVE-2023-28260 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-28260

Vulnerability Analysis

This vulnerability stems from insecure DLL loading practices within the .NET framework and Visual Studio 2022. When applications built on or running within these environments attempt to load dynamic link libraries, they may search for DLLs in directories that could be writable by lower-privileged users. An attacker can exploit this by placing a crafted malicious DLL with the same name as an expected legitimate DLL in a location that is searched before the legitimate DLL's location.

The attack requires local access to the system, meaning the attacker must already have some level of access to the target machine. Once the malicious DLL is placed, the next time a vulnerable .NET application or Visual Studio process loads the expected DLL, the attacker's code will execute instead. This can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of CVE-2023-28260 lies in the DLL search order behavior within Windows combined with insufficient validation of DLL paths in the .NET runtime and Visual Studio. When applications do not explicitly specify the full path to required DLLs, Windows follows a predefined search order that may include user-writable directories. The .NET framework components affected by this vulnerability fail to properly restrict or validate the directories from which DLLs are loaded, creating an opportunity for DLL hijacking attacks.

Attack Vector

The attack vector for this vulnerability is local, requiring the attacker to have access to the target system. The exploitation process typically follows these steps:

  1. The attacker identifies a .NET application or Visual Studio component that loads DLLs without proper path specification
  2. The attacker determines which DLLs are loaded and identifies writable directories in the search path
  3. A malicious DLL is crafted with the same name as the expected legitimate DLL, containing the attacker's payload
  4. The malicious DLL is placed in a directory that appears earlier in the search order than the legitimate DLL location
  5. When the target application runs and attempts to load the DLL, the malicious version is loaded instead, executing the attacker's code

No user interaction is required once the malicious DLL is in place—the code executes automatically when the vulnerable application loads the compromised library.

Detection Methods for CVE-2023-28260

Indicators of Compromise

  • Unexpected DLL files appearing in application directories, user profile folders, or current working directories of .NET applications
  • DLL files with names matching common .NET framework libraries located outside of standard installation paths (%ProgramFiles%\dotnet, %ProgramFiles%\Microsoft Visual Studio)
  • Process creation events showing .NET applications loading DLLs from non-standard locations
  • File system audit logs showing DLL writes to directories commonly targeted for DLL hijacking attacks

Detection Strategies

  • Enable DLL load auditing through Windows Security Event logs (Event ID 7045) to monitor for suspicious library loading patterns
  • Deploy application whitelisting solutions to detect unauthorized DLL loading by Visual Studio and .NET runtime processes
  • Implement file integrity monitoring on critical application directories to detect unauthorized DLL placement
  • Use SentinelOne's behavioral AI to detect anomalous DLL loading patterns and process hollowing attempts

Monitoring Recommendations

  • Monitor process creation events for .NET applications with unusual parent-child relationships or spawning unexpected subprocesses
  • Track file creation events in directories commonly exploited for DLL hijacking, including current working directories and user-writable paths in the system PATH
  • Implement network monitoring to detect data exfiltration or command-and-control communications following potential exploitation
  • Review application logs and Windows Event Viewer for .NET runtime errors that may indicate failed hijacking attempts

How to Mitigate CVE-2023-28260

Immediate Actions Required

  • Apply the latest security updates from Microsoft for both .NET and Visual Studio 2022 immediately
  • Review all .NET applications for proper DLL loading practices and ensure full paths are specified where possible
  • Audit and restrict write permissions on directories in the system PATH environment variable
  • Enable Windows Defender Attack Surface Reduction (ASR) rules related to DLL side-loading

Patch Information

Microsoft has released security patches addressing this vulnerability. Administrators should apply updates from the Microsoft Security Update Guide. Ensure that Windows Update is configured to receive and install security updates automatically, or manually download and apply patches for environments with restricted update policies.

For .NET applications, update to the latest patched versions of the .NET runtime. For Visual Studio 2022, apply the latest security update through the Visual Studio Installer or Windows Update.

Workarounds

  • Configure application manifests to use side-by-side assemblies, which specify exact DLL versions and locations
  • Implement strict file system permissions to prevent non-administrative users from writing to directories in the DLL search path
  • Use Windows Defender Application Control (WDAC) or AppLocker policies to restrict DLL loading to trusted locations only
  • Consider enabling SafeDllSearchMode in the Windows registry if not already enabled (enabled by default on modern Windows versions)
bash
# Enable SafeDllSearchMode via registry (if disabled)
reg add "HKLM\System\CurrentControlSet\Control\Session Manager" /v SafeDllSearchMode /t REG_DWORD /d 1 /f

# Verify .NET and Visual Studio update status using PowerShell
dotnet --list-sdks
dotnet --list-runtimes

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Net

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability1.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Vulnerability CVE-2023-28260
  • Related CVEs
  • CVE-2023-38180: Microsoft .NET DOS Vulnerability

  • CVE-2022-34716: Microsoft .NET Spoofing Vulnerability

  • CVE-2022-21986: Microsoft .NET DOS Vulnerability
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