CVE-2025-60705 — Windows Client-Side Caching Elevation of Privilege Vulnerability
Executive Summary
Improper access control in Windows Client-Side Caching (CSC) Service allows an authorized attacker to elevate privileges locally.
Overview
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1607 for 32-bit Systems | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5068865 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5068865 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.7171 10.0.26100.7092 Yes None Windows 11 Version 24H2 for x64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.7171 10.0.26100.7092 Yes None Windows 11 Version 25H2 for ARM64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.7171 10.0.26200.7092 Yes None Windows 11 Version 25H2 for x64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.7171 10.0.26200.7092 Yes None Windows Server 2008 for 32-bit Systems Service Pack 2 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for x64-based Systems Service Pack 2 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 R2 for x64-based Systems Service Pack 1 5068904 (Monthly Rollup) 5068908 (Security Only) Important Elevation of Privilege 5066872 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.28021 Yes None Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 5068904 (Monthly Rollup) 5068908 (Security Only) Important Elevation of Privilege 5066872 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.28021 Yes None Windows Server 2012 | 5068907 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 (Server Core installation) | 5068907 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 | 5068905 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5068905 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 5068787 (Security Update) 5068840 (Security Hotpatch Update) Important Elevation of Privilege 5066782 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.20348.4405 10.0.20348.4346 Yes None Windows Server 2022 (Server Core installation) 5068787 (Security Update) 5068840 (Security Hotpatch Update) Important Elevation of Privilege 5066782 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.20348.4405 10.0.20348.4346 Yes None Windows Server 2022, 23H2 Edition (Server Core installation) | 5068779 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5068864 |
Security Update | Yes |
5068791 |
Security Update | Yes |
5068781 |
Security Update | Yes |
5068865 |
Security Update | Yes |
5068907 |
Monthly Rollup | Yes |
5068905 |
Monthly Rollup | Yes |
5068779 |
Security Update | Yes |
Patch Diff
CVE-2025-60705 patch (KB5068861, November 11 2025) fixes a privilege check bypass in csc.sys (Windows Client-Side Caching kernel driver). Root cause: CscRebootRenamepOpenKey called ZwCreateKey/ZwOpenKey with OBJECT_ATTRIBUTES.Attributes = 0x240 (OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE) — missing OBJ_FORCE_ACCESS_CHECK (0x400). A low-privileged user triggers the vulnerable path via IOfflineFilesCache::RenameItem (COM) → IRP_MJ_FILE_SYSTEM_CONTROL → CscRebootRenameAddEntry → CscRebootRenamepOpenKey. By placing a registry symbolic link at HKLM\SYSTEM\CurrentControlSet\Services\CSC\Parameters\RebootRename, the attacker causes csc.sys (running as SYSTEM) to create arbitrary registry keys in protected hives. Patch adds a feature flag-gated explicit caller privilege check: function grew 162→406 bytes; new helper at 0x140050420 validates caller identity before ZwCreateKey/ZwOpenKey; feature disabled (kill-switch) path preserves old behavior for controlled rollout. Fix approach differs from CVE-2025-62455 (mqac.sys): instead of adding OBJ_FORCE_ACCESS_CHECK to Attributes, an explicit pre-call access check is inserted. Reporter: T0 (@t0zhang). Similar CVE: CVE-2022-35820.
| Function | Address | Change | Note |
|---|---|---|---|
CscRebootRenamepOpenKey |
0x140050870 → 0x140050974 |
code, length, address | 162 → 406 bytes (+244 bytes). Primary patch site. Pre-patch: calls ZwCreateKey/ZwOpenKey directly with OBJECT_ATTRIBUTES.Attributes = 0x240 (OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE), no caller privilege check. Post-patch: feature flag evaluator (call 0x1400220c4) added at function entry; when feature enabled, new explicit caller access-check helper (call 0x140050420, pool tag 'CsrR') validates the caller's security context before any registry operation; if check fails (NTSTATUS < 0), ZwCreateKey/ZwOpenKey are skipped and error returned. Feature disabled (kill-switch) path at 0x140050a95 falls through to original behavior with Attributes = 0x240. The Attributes value itself is NOT changed to 0x640 — fix is an explicit privilege check, not OBJ_FORCE_ACCESS_CHECK. |
CscRebootRenamepOpenKey::PrivilegeCheckHelper |
new → 0x140050420 |
new function | New helper added to post-patch binary. ~0xe9 bytes. Acquires current thread security context, allocates kernel buffer (ExAllocatePoolWithTag, pool tag 'CsrR', 0x100 bytes), performs Object Manager access check via ObReferenceObjectByPointer-class routine against the caller's token. Returns NTSTATUS — negative means caller lacks privileges, positive means check passed. Called only when feature flag is enabled. |
FeatureFlagEvaluator |
new → 0x1400220c4 |
new function | 41 bytes. Reads global feature state from .data section (RVA 0x3d850, VA 0x14003d850). If state & 0x10 (initialized bit): returns state & 1 (enabled=1, disabled=0). Otherwise calls internal feature computation helper. Return value 0 = feature disabled (old path), non-zero = feature enabled (new privilege-check path). Same Windows Feature Experimentation/Velocity kill-switch pattern as CVE-2025-62455 (mqac.sys). |
Root Cause Analysis
Root Cause Analysis — CVE-2025-60705
Overview
| CVE | CVE-2025-60705 |
| Binary | csc.sys (Windows Client-Side Caching kernel driver) |
| Impact | Elevation of Privilege |
| CVSS | 7.8 (Important) — Exploitation More Likely |
| CWE | CWE-284: Improper Access Control |
| Pre-patch version | 10.0.26100.5074 |
| Post-patch version | 10.0.26100.7171 |
| KB | KB5068861 (November 2025) |
| Credit | T0 (@t0zhang) |
Root Cause
The Windows Client-Side Caching (CSC) kernel driver (csc.sys) performs privileged registry operations on behalf of the calling user without validating the caller’s identity or access rights. Specifically, CscRebootRenamepOpenKey calls ZwCreateKey/ZwOpenKey with OBJECT_ATTRIBUTES.Attributes = 0x240 (OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE), which is missing OBJ_FORCE_ACCESS_CHECK (0x400). Because the driver runs at SYSTEM level, the Zw* calls bypass all access checks, allowing any low-privileged user to create or open arbitrary registry keys in protected hives.
The attacker triggers this via the Offline Files COM interface (IOfflineFilesCache::RenameItem), which dispatches through RDBSS to CscRebootRenameAddEntry. By placing a registry symbolic link at the expected CSC registry path (HKLM\SYSTEM\CurrentControlSet\Services\CSC\Parameters\RebootRename), the attacker redirects the SYSTEM-level registry write to an arbitrary location (e.g., creating a malicious service entry).
This is architecturally similar to CVE-2022-35820 (bthport.sys EoP via registry symlink).
Ghidra-Verified Call Chain
User-mode entry point:
CoCreateInstance(CLSID_OfflineFilesCache, ..., IID_IOfflineFilesCache, ...)
→ IOfflineFilesCache::RenameItem(oldPath, newPath)
→ DeviceIoControl / IRP_MJ_FILE_SYSTEM_CONTROL to csc.sys
Kernel call chain (pre-patch csc.sys 10.0.26100.5074):
CscInitializeDispatchTable @ 0x14009251e
→ Registers CscFsCtl in dispatch table (DATA xref @ 0x1400423a4)
CscFsCtl @ 0x14007d080
→ CscDclInternalFsControl @ 0x14007d520
→ Jump table dispatch on FSCTL operation code (table @ 0x1400347c8)
→ CscDclMRxRebootRenameAdd @ 0x140019c90 [thin wrapper]
→ CscRebootRenameAddEntry @ 0x14004fd9c
→ CscStoreRebootRenameIsValidRename() [input validation]
→ CscRebootRenamepOpenKey @ 0x140050870 [VULNERABLE]
→ ZwCreateKey / ZwOpenKey with Attributes=0x240
(OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE)
MISSING: OBJ_FORCE_ACCESS_CHECK (0x400)
→ CscRebootRenamepAddToKey @ 0x1400501d8
→ CscRebootRenamepOpenKey() [also vulnerable]
→ CscRegistrypWriteString() [writes rename entries]
→ CscRegistrypWriteULong() [writes index counter]
Vulnerable Code — CscRebootRenamepOpenKey
From Ghidra decompilation at 0x140050870 (162 bytes pre-patch):
void CscRebootRenamepOpenKey(
undefined8 *param_1, // output: key handle
undefined8 param_2, // UNICODE_STRING* registry path
char param_3, // create flag (1=create, 0=open)
undefined1 *param_4) // disposition output
{
*param_1 = 0;
// Build OBJECT_ATTRIBUTES on stack
local_38 = 0x30; // Length
local_20 = 0x240; // Attributes = OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE
// ← MISSING OBJ_FORCE_ACCESS_CHECK (0x400)
local_28 = param_2; // ObjectName = registry path
local_18 = 0; uStack_10 = 0; // SecurityDescriptor = NULL, SQoS = NULL
if (param_3 == '\0') {
ZwOpenKey(0, 0xf003f, &local_38); // KEY_ALL_ACCESS, no access check
} else {
ZwCreateKey(0, 0xf003f, &local_38, 0, 0, 0, local_res18); // KEY_ALL_ACCESS
}
}
Key issue: Attributes = 0x240 means the kernel performs the registry operation with SYSTEM privileges, completely ignoring the caller’s security context. A legitimate fix would be either:
- Adding
OBJ_FORCE_ACCESS_CHECK(0x400) →Attributes = 0x640 - Or performing an explicit privilege check before the call (what Microsoft chose)
Registry Path Used
From CscRebootRenameAddEntry decompilation:
local_38 = L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\CSC\\Parameters\\RebootRename";
local_58 = L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\CSC\\Parameters";
The attacker creates a registry symbolic link at this path to redirect the SYSTEM-level ZwCreateKey to an arbitrary registry location.
The Fix
The patch adds a feature-flag-gated explicit caller privilege check (function grew from 162 → 406 bytes):
FeatureFlagEvaluatorat0x1400220c4— checks the Controlled Feature Rollout (CFR) state- When enabled, calls
PrivilegeCheckHelperat0x140050420beforeZwCreateKey - The helper acquires the calling thread’s security context and validates it against the required access rights
- If the check fails (NTSTATUS < 0),
ZwCreateKey/ZwOpenKeyis skipped entirely - When the feature flag is disabled (kill-switch), the old vulnerable code path executes unchanged
Attack Surface Analysis
Prerequisites
- Any local user (low-privileged)
- Offline Files feature must be available (default on Windows client SKUs)
- CSC service must be running
Attack Steps
- Create a registry symbolic link from
HKLM\...\CSC\Parameters\RebootRenameto an attacker-chosen target path (e.g.,HKLM\SYSTEM\CurrentControlSet\Services\MaliciousService) - Invoke
IOfflineFilesCache::RenameItem()via COM — this triggers the CSC driver’s reboot-rename logic CscRebootRenamepOpenKeycallsZwCreateKeywith SYSTEM privileges, following the symbolic link to the attacker’s target- The driver creates/opens the key at the redirected path and writes rename entries as string values
- Result: arbitrary registry key creation in protected hives under SYSTEM context
Impact
Full SYSTEM-level registry write primitive. An attacker can:
- Create malicious service entries for persistence
- Modify security-sensitive registry keys
- Install rootkit-level persistence via boot-start drivers
- Disable security features by modifying their configuration keys
Detection Rules
YARA — PoC Detection
rule CVE_2025_60705_CSC_Registry_Symlink_EoP
{
meta:
description = "Detects PoC/exploit code for CVE-2025-60705 csc.sys registry symlink EoP"
author = "OnlyFm252"
date = "2026-07-18"
cve = "CVE-2025-60705"
severity = "high"
strings:
$reg_path1 = "CSC\\Parameters\\RebootRename" ascii wide nocase
$reg_path2 = "CurrentControlSet\\Services\\CSC" ascii wide nocase
$api1 = "IOfflineFilesCache" ascii wide
$api2 = "RenameItem" ascii wide
$api3 = "NtCreateKey" ascii
$api4 = "RegCreateKeyEx" ascii
$symlink1 = "REG_LINK" ascii wide
$symlink2 = "SymbolicLinkValue" ascii wide
$com_clsid = "{48C45312-3E30-11D3-8B2D-00C04FB9513B}" ascii wide // CLSID_OfflineFilesCache
condition:
uint16(0) == 0x5A4D and
(($reg_path1 and ($symlink1 or $symlink2)) or
($reg_path2 and $api1) or
($com_clsid and ($api3 or $api4)))
}
YARA — Vulnerable Binary Detection
rule CVE_2025_60705_Vulnerable_csc_sys
{
meta:
description = "Detects pre-patch csc.sys vulnerable to CVE-2025-60705"
author = "OnlyFm252"
date = "2026-07-18"
cve = "CVE-2025-60705"
strings:
// CscRebootRenamepOpenKey: MOV DWORD [rbp-0x18], 0x240
// This is the Attributes = OBJ_KERNEL_HANDLE | OBJ_CASE_INSENSITIVE
// without the feature flag check preceding it
$attr_set = { C7 45 E8 40 02 00 00 } // mov [rbp-0x18], 0x240
// Small function size indicator (162 bytes = 0xA2)
$driver = "csc.sys" ascii wide
// The feature flag call should NOT be present in vulnerable version
$feature_flag = { E8 [4] 85 C0 74 } // call FeatureFlag; test eax,eax; jz
condition:
uint16(0) == 0x5A4D and
$driver and
$attr_set and
not $feature_flag
}
Sigma — Registry Symbolic Link at CSC Parameters
title: Registry Symbolic Link at CSC RebootRename Path
id: a3c8f291-60b5-4e1a-b902-cve202560705a
status: experimental
description: |
Detects creation of registry symbolic links at the CSC Parameters
RebootRename path, which is the attack vector for CVE-2025-60705.
A symbolic link here redirects SYSTEM-level ZwCreateKey calls to
an attacker-chosen registry path.
author: OnlyFm252
date: 2026/07/18
references:
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-60705
logsource:
category: registry_event
product: windows
detection:
selection:
EventType: SetValue
TargetObject|contains|all:
- 'Services\CSC\Parameters'
- 'RebootRename'
Details|contains: '\\Registry\\'
condition: selection
level: high
tags:
- attack.privilege_escalation
- attack.t1547.001
- cve.2025.60705
Sigma — Offline Files COM Instantiation from Suspicious Process
title: Suspicious IOfflineFilesCache COM Instantiation
id: a3c8f291-60b5-4e1a-b902-cve202560705b
status: experimental
description: |
Detects processes loading cscobj.dll (Offline Files COM server) that
are not the standard Offline Files UI or sync components. This is
a prerequisite for triggering CVE-2025-60705 via IOfflineFilesCache::RenameItem.
author: OnlyFm252
date: 2026/07/18
logsource:
category: image_load
product: windows
detection:
selection:
ImageLoaded|endswith: '\cscobj.dll'
filter_known:
Image|endswith:
- '\mobsync.exe'
- '\cscui.dll'
- '\explorer.exe'
- '\svchost.exe'
condition: selection and not filter_known
level: medium
tags:
- attack.privilege_escalation
- attack.t1547.001
- cve.2025.60705
Sysmon Configuration
<!-- CVE-2025-60705: Monitor for CSC registry symlink exploitation -->
<!-- Rule: Detect registry modifications to CSC RebootRename path -->
<RuleGroup name="CVE-2025-60705" groupRelation="or">
<RegistryEvent onmatch="include">
<TargetObject condition="contains">Services\CSC\Parameters\RebootRename</TargetObject>
</RegistryEvent>
</RuleGroup>
<!-- Rule: Detect cscobj.dll loading from unusual processes -->
<RuleGroup name="CVE-2025-60705-COM" groupRelation="or">
<ImageLoad onmatch="include">
<ImageLoaded condition="end with">cscobj.dll</ImageLoaded>
</ImageLoad>
</RuleGroup>
<!-- Rule: Detect csc.sys driver operations -->
<RuleGroup name="CVE-2025-60705-Driver" groupRelation="or">
<DriverLoad onmatch="include">
<ImageLoaded condition="end with">csc.sys</ImageLoaded>
</DriverLoad>
</RuleGroup>
References
- MSRC — CVE-2025-60705
- Diff report: csc_sys-kb5068861.md
- Similar: CVE-2022-35820 (bthport.sys registry symlink EoP)
Attack Path
Privilege check bypass - csc.sys opens a registry key with OBJ_KERNEL_HANDLE and no OBJ_FORCE_ACCESS_CHECK
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.