Detection rules › Sigma

Exploitation Activity of CVE-2025-59287 - WSUS Deserialization

Status
experimental
Severity
high
Log source
product windows, service application
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects cast exceptions in Windows Server Update Services (WSUS) application logs that highly indicate exploitation attempts of CVE-2025-59287, a deserialization vulnerability in WSUS.

MITRE ATT&CK coverage

Rule body yaml

title: Exploitation Activity of CVE-2025-59287 - WSUS Deserialization
id: e5f66e87-7d6b-404f-92fe-7aa67814b5cd
status: experimental
description: |
    Detects cast exceptions in Windows Server Update Services (WSUS) application logs that highly indicate exploitation attempts of CVE-2025-59287, a deserialization vulnerability in WSUS.
references:
    - https://unit42.paloaltonetworks.com/cve-2025-59287/
    - https://hawktrace.com/blog/CVE-2025-59287-UNAUTH
    - https://github.com/0xBruno/WSUSploit.NET/tree/e239bce9d6b5f46a346e1e4c4d5e0a2a20d5c639
    - https://www.huntress.com/blog/exploitation-of-windows-server-update-services-remote-code-execution-vulnerability
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-10-31
tags:
    - attack.execution
    - attack.initial-access
    - attack.t1190
    - attack.t1203
    - cve.2025-59287
    - detection.emerging-threats
logsource:
    product: windows
    service: application
detection:
    selection:
        Provider_Name: 'Windows Server Update Services'
        EventID: 7053
        Data|contains|all:
           # Indicators of untrusted deserialization exploitation attempts
           # https://github.com/pwntester/ysoserial.net/issues/114
            - 'System.InvalidCastException'
            - 'System.Windows.Data.ObjectDataProvider'
            - 'Unable to cast object of type'
            - 'System.Windows.Media.Brush'
    condition: selection
falsepositives:
    - Legitimate WSUS operations that may trigger similar error messages
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Windows Server Update Services'
    EventID: 7053
    Data|contains|all:
        - 'System.InvalidCastException'
        - 'System.Windows.Data.ObjectDataProvider'
        - 'Unable to cast object of type'
        - 'System.Windows.Media.Brush'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Datamatch
  • System.InvalidCastException
  • System.Windows.Data.ObjectDataProvider
  • System.Windows.Media.Brush
  • Unable to cast object of type
Provider_Nameeq
  • Windows Server Update Services