# CVE-2025-59201: Windows Network Connection Status Indicator (NCSI) Elevation of Privilege via Registry Symbolic Link Abuse

> A weak DACL on the NlaSvc\Parameters registry key let a local low-privileged Windows attacker chain the Customer Experience Improvement Program "Consolidator" scheduled task, registry symbolic links, and an ETW-triggered write in ncsi.dll to force NETWORK SERVICE to write attacker-controlled registry values. Microsoft fixed the path-traversal and tightened the key's ACL in KB5066835 (October 14, 2025); no public exploit code or in-the-wild exploitation has been reported.

- **Published:** 2026-09-13T00:00:00Z
- **Last reviewed:** 2026-09-13T00:00:00Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-2480
- **Card image:** https://intel.threadlinqs.com/og/threat/threat-intel-cve-2025-59201-ncsi-registry-eop-tl-2026-2480.webp?v=224e62cd (Threadlinqs threat intel: CVE-2025-59201 NCSI EoP: Exploitation Status & Fix (TL-2026-2480) — High severity, 16 IOCs, 9 detection rules.)
- **ID:** TL-2026-2480
- **Severity:** HIGH (CVSS 7.8)
- **Category:** VULNERABILITY
- **Status:** PATCHED
- **Detections:** 9 (1 shown free below) · **IOCs:** 16
- **CVEs:** CVE-2025-59201, CVE-2025-59512

## Description

CVE-2025-59201 is a local elevation-of-privilege vulnerability (CWE-284, Improper Access Control) in the Network Connection Status Indicator (NCSI) component of the Windows Network List Service (netprofm, hosted in ncsi.dll). Prior to the October 2025 patch, the registry key HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters granted the INTERACTIVE identity the "Create Subkeys" permission. Security researcher itm4n (Clément Labro) published a full technical reconstruction of the exploit chain reported to Microsoft by researcher Tianlin Zhang (@t0zhang), built by binary-diffing the October 2025 patch against the prior ncsi.dll with BinDiff (pulling historical builds from Winbindex), and tracing behavior with Process Monitor, EtwExplorer, and System Informer.

The exploitation chain works in three stages. First, the attacker abuses the built-in "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" scheduled task (which runs as SYSTEM via wsqmcons.exe and is user-triggerable via `schtasks /run`) to recursively delete registry keys the attacker previously staged under HKLM\SOFTWARE\Microsoft\SQMClient\CommonUploader\Paths; this SYSTEM-context delete is repurposed — by planting a registry symbolic link (a SymbolicLinkValue value on a staged "to_delete" subkey) — to also remove the NlaSvc\Parameters\Internet subkey, which the attacker then recreates with a permissive, self-controlled DACL. Second, the attacker creates a registry symbolic link (via `RegCreateKeyExW` with the `REG_OPTION_CREATE_LINK` flag) named ManualProxies under the recreated Internet key, redirecting it to an arbitrary target registry location. Third, the attacker calls `InternetSetOptionA/W` with `INTERNET_OPTION_SETTINGS_CHANGED` and `INTERNET_OPTION_REFRESH` (or directly fires the event with `EventRegister`/`EventWrite`/`EventUnregister`), which raises the Microsoft-Windows-WinINet-Config ETW provider (GUID `5402e5ea-1bdd-4390-82be-e108f1e634f5`); ncsi.dll's `EtwListener::ProcessEvent` handler consumes this event and calls `StoreNcsiIEProxyString`, which performs a privileged `RegSetValueExW` write in the NETWORK SERVICE service context — but because ManualProxies is now a symbolic link, the write lands at the attacker's redirected registry location instead of the intended key.

Microsoft's own advisory characterizes the vulnerability as allowing an authorized (i.e., already locally authenticated, low-privileged) attacker to elevate privileges locally; itm4n notes the researcher's proof of concept demonstrates the ability to write an arbitrary value (e.g., a DLL path such as `\..\..\..\..\C:\foo.dll` written to the `(Default)` value of `HKLM\SYSTEM\CurrentControlSet\Services\TPM\WMI`) to an arbitrary registry location rather than achieving direct code execution as SYSTEM or NETWORK SERVICE outright — the PoC exists and works but was not publicly released, only the methodology and API-level walkthrough were published. A March 14, 2026 update to the article explicitly clarifies the PoC "was never meant to result in true code execution as NT AUTHORITY\SYSTEM, or even NT AUTHORITY\NETWORK SERVICE"; the path-traversal write was only meant to showcase the primitive in case some privileged service later loads a DLL from that writable key. itm4n separately notes that once an attacker holds a NETWORK SERVICE-context write primitive, escalation to full SYSTEM is a solved problem via the shared-logon-session token-impersonation technique James Forshaw published in 2020 ("Sharing a Logon Session a Little Too Much": NETWORK SERVICE loopback-authenticates over a named pipe to obtain and impersonate RPCSS's token, the first token created in that logon session, which can be leveraged to reopen RPCSS with SYSTEM-level access).

The underlying Consolidator-scheduled-task registry-delete primitive is not unique to NCSI: it is the generic root cause of the separate, related CVE-2025-59512 (CEIP Elevation of Privilege), which Microsoft patched on November 11, 2025 and which 0patch subsequently micropatched (March 30, 2026) for 13 legacy/EOL Windows builds — 0patch's write-up explicitly credits itm4n's CVE-2025-59201 reverse-engineering as what let them reproduce and patch the companion flaw. Microsoft's fix for CVE-2025-59201, shipped in KB5066835 (October 14, 2025) and the corresponding October 2025 cumulative updates for all other supported Windows 10/11/Server branches, adds a `ContainsRelativePathDoubleDot`-style path-traversal validation to `StoreNcsiIEProxyString` and removes the "Create Subkeys" ACE from INTERACTIVE on the affected Services\Parameters registry keys, closing both the symlink-planting and the redirect-write primitives. No CISA KEV listing or in-the-wild exploitation has been reported, and EPSS scoring places 30-day exploitation probability at 0.40% (32.3rd percentile).

## MITRE ATT&CK

- T1059.003 Command and Scripting Interpreter: Windows Command Shell
- T1053.005 Scheduled Task/Job: Scheduled Task
- T1053.005 Scheduled Task/Job: Scheduled Task
- T1106 Native API
- T1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
- T1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
- T1574.011 Hijack Execution Flow: Services Registry Permissions Weakness
- T1112 Modify Registry
- T1134.001 Access Token Manipulation: Token Impersonation/Theft
- T1134.001 Access Token Manipulation: Token Impersonation/Theft

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**CVE-2025-59201 — Local/RDP-Authenticated Account Manually Triggers CEIP Consolidator Scheduled Task** (`TL-2026-2480-SPL-001`)

Detects the stage-one trigger of the CVE-2025-59201 NCSI registry-symlink EoP chain: an interactively- or RDP-authenticated LOCAL (non-domain) account — the PR:L precondition the CVSS vector and MSRC advisory both require ('an authorized attacker' who is already locally authenticated) — manually invoking the built-in \Microsoft\Windows\Customer Experience Improvement Program\Consolidator scheduled task via schtasks.exe or the Task Scheduler COM API, spawning wsqmcons.exe as SYSTEM outside its normal unattended trigger window. This is also the shared first-stage primitive of the related CVE-2025-59512 (CEIP Consolidator arbitrary registry-key delete), so a hit here should be triaged against both CVEs. The task is not designed to be user-triggerable in a security-relevant sense; any non-SYSTEM, non-scheduled invocation on an unpatched host is the earliest observable step of either exploit chain.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1053.005, T1059.003, T1574.011, T1078.003
- **Data sources:** windows_security_4624, sysmon_process_creation, windows_taskscheduler_operational_log
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
`comment("Stage 1: local/RDP-authenticated non-SYSTEM account manually runs the Consolidator task, correlated to the antecedent local logon that satisfies CVE-2025-59201's PR:L precondition")`
index=windows sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
  Image="*\\schtasks.exe" CommandLine="*Consolidator*" CommandLine="*run*"
  NOT User IN ("NT AUTHORITY\\SYSTEM", "NT AUTHORITY\\LOCAL SERVICE", "NT AUTHORITY\\NETWORK SERVICE")
| rename ComputerName as host, User as trigger_user, _time as trigger_time
| join type=left host [
    search index=windows sourcetype="WinEventLog:Security" EventCode=4624 (Logon_Type=2 OR Logon_Type=10)
    | eval is_local_account=if(match(Account_Domain, "(?i)^".+.\\1$") OR Account_Domain=ComputerName, 1, 0)
    | rename ComputerName as host, TargetUserName as logon_user, _time as logon_time
    | table host logon_user logon_time Logon_Type is_local_account
  ]
| eval logon_delta=trigger_time - logon_time
| where logon_delta >= 0 AND logon_delta < 1800
| join type=left host [
    search index=windows sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1
      ParentImage="*\\svchost.exe" Image="*\\wsqmcons.exe"
    | rename _time as wsqmcons_time
    | table host wsqmcons_time Image ParentImage
  ]
| eval wsqmcons_delta=wsqmcons_time - trigger_time
| where isnull(wsqmcons_time) OR (wsqmcons_delta >= 0 AND wsqmcons_delta < 60)
| stats count min(trigger_time) as first_seen max(trigger_time) as last_seen values(logon_user) as antecedent_logon values(Logon_Type) as logon_type values(wsqmcons_time) as consolidator_spawn by host, trigger_user, CommandLine
| where count > 0
```

### Microsoft KQL

```kql
let localLogon = DeviceLogonEvents
| where Timestamp > ago(24h)
| where LogonType in ("Interactive", "RemoteInteractive")
| where isnotempty(AccountName) and AccountDomain =~ DeviceName
| project LogonTime=Timestamp, DeviceId, DeviceName, LogonUser=AccountName, LogonType;
let manualTrigger = DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName =~ "schtasks.exe"
| where ProcessCommandLine has "Consolidator" and ProcessCommandLine has "run"
| where AccountName !has "SYSTEM"
| project TriggerTime=Timestamp, DeviceId, DeviceName, TriggerUser=AccountName, ProcessCommandLine;
let wsqmconsSpawn = DeviceProcessEvents
| where Timestamp > ago(24h)
| where FileName =~ "wsqmcons.exe"
| project SpawnTime=Timestamp, DeviceId;
manualTrigger
| join kind=leftouter (localLogon) on DeviceId
| where LogonTime between ((TriggerTime - 30m) .. TriggerTime)
| join kind=leftouter (wsqmconsSpawn) on DeviceId
| where isnull(SpawnTime) or SpawnTime between (TriggerTime .. TriggerTime + 1m)
| project TriggerTime, DeviceId, DeviceName, TriggerUser, LogonUser, LogonType, ProcessCommandLine, SpawnTime
```

### Sigma

```yaml
title: Manual Trigger of CEIP Consolidator Scheduled Task by Non-SYSTEM Local/RDP-Authenticated Account
id: 7e3a1c2d-4f5b-4e91-9a2d-1b6c8e0f3a11
status: experimental
description: Detects a non-SYSTEM local user manually invoking the built-in Consolidator scheduled task via schtasks.exe, the stage-one primitive abused in CVE-2025-59201 (NCSI registry-symlink EoP) and the related CVE-2025-59512 (CEIP arbitrary registry-key delete). The task's designed trigger is unattended SYSTEM scheduling; a locally/RDP-authenticated account manually forcing it satisfies the CVSS PR:L precondition documented in the MSRC advisory.
references:
    - https://itm4n.github.io/cve-2025-59201-ncsi-eop/
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59201
    - https://msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2025-59512
author: Threadlinqs Team
date: 2026-09-13
tags:
    - attack.execution
    - attack.privilege-escalation
    - attack.initial-access
    - attack.t1053.005
    - attack.t1059.003
    - attack.t1574.011
    - attack.t1078.003
    - cve.2025.59201
    - cve.2025.59512
logsource:
    category: process_creation
    product: windows
detection:
    selection_proc:
        Image|endswith: '\schtasks.exe'
        CommandLine|contains|all:
            - 'Consolidator'
            - '/run'
    filter_system:
        User|contains:
            - 'SYSTEM'
            - 'LOCAL SERVICE'
            - 'NETWORK SERVICE'
    condition: selection_proc and not filter_system
falsepositives:
    - Administrative or troubleshooting scripts that intentionally force-run the CEIP Consolidator task for telemetry testing
    - Group Policy or SCCM maintenance scripts invoking schtasks under an admin service account
    - Authorized red-team/detection-validation exercises exercising this exact CVE-2025-59201 proof-of-concept
level: high
```

**Known false positives:**

- Legitimate admin/SCCM/GPO maintenance scripts that manually force-run the CEIP Consolidator task for telemetry diagnostics
- Help-desk troubleshooting of network profile/CEIP issues using schtasks under an elevated service account
- Authorized detection-engineering or red-team validation of this specific CVE-2025-59201/CVE-2025-59512 exploit chain

**Tuning notes:** Baseline known SCCM/GPO maintenance windows and service accounts that legitimately run this task, then exclude them by account SID; weight confidence up when the antecedent logon (within 30 minutes) is Logon Type 2/10 for a local (non-domain) account, since that is precisely the PR:L 'authorized local attacker' precondition MSRC documents — domain-joined admin accounts performing routine maintenance should be a lower-priority bucket than genuinely local accounts on jump boxes/terminal servers.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- CVE-2025-59201 — Registry Enumeration of NlaSvc/SQMClient Trees Followed by Symlink Staging and Consolidator Task Trigger (locked: unlock with TL Creds)
- CVE-2025-59201 — NlaSvc Parameters\Internet Subkey Deleted and Recreated With Modified DACL (locked: unlock with TL Creds)
- CVE-2025-59201 — NETWORK SERVICE to RPCSS Named-Pipe Token Impersonation Following Registry Write Primitive (locked: unlock with TL Creds)
- Sigma: Consolidator Scheduled Task Manually Run via schtasks.exe by Non-SYSTEM Account (locked: unlock with TL Creds)
- Sigma: [indicator] Registry Value Written Under Services\*\Parameters Namespace (locked: unlock with TL Creds)
- Sigma: svchost.exe (NETWORK SERVICE) Registry Write Outside NlaSvc Parameters Namespace (locked: unlock with TL Creds)
- CVE-2025-59201 — Registry Symbolic Link Planted Under NlaSvc\Parameters\Internet\ManualProxies (locked: unlock with TL Creds)
- CVE-2025-59201 — WinINet-Config ETW Trigger Followed by NETWORK SERVICE Redirected Registry Write / SYSTEM Token Theft Chain (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [CVE-2025-59201 - Network Connection Status Indicator (NCSI) EoP](https://itm4n.github.io/cve-2025-59201-ncsi-eop/)
- [CVE-2025-59201 Security Update Guide](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-59201)
- [October 14, 2025—KB5066835 (OS Builds 26200.6899 and 26100.6899)](https://support.microsoft.com/en-us/servicing/os/windows-11/2025/10/october-14-2025-kb5066835-os-builds-26200-6899-and-26100-6899)
- [NVD - CVE-2025-59201](https://nvd.nist.gov/vuln/detail/CVE-2025-59201)
- [CVE-2025-59201 - Vulnerability Details](https://app.opencve.io/cve/CVE-2025-59201)
- [CVE-2025-59201: Windows Improper Access Control](https://www.strix.ai/cve/CVE-2025-59201)
- [Microsoft Patch Fixes CVE-2025-59201 NCSI Local Privilege Escalation](https://windowsforum.com/threads/microsoft-patch-fixes-cve-2025-59201-ncsi-local-privilege-escalation.384584/)
- [CVE-2025-59512 - Customer Experience Improvement Program (CEIP) Elevation of Privilege Vulnerability](https://msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2025-59512)
- [CVE-2025-59512: Windows 10 1607 Privilege Escalation Flaw](https://www.sentinelone.com/vulnerability-database/cve-2025-59512/)
- [Micropatches released for Arbitrary Registry Key Delete As Local System With Consolidator Scheduled Task (CVE-2025-59512)](https://0patch.com/blog/micropatches-released-for-arbitrary-registry-key-delete-as-local-system-with-cons)
- [Sharing a Logon Session a Little Too Much](https://www.tiraniddo.dev/2020/04/sharing-logon-session-little-too-much.html)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-2480
