Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_WSUS_Exploitation_Indicators_Oct25

Detects indicators related to the exploitation of the Windows Server Update Services (WSUS) Remote Code Execution Vulnerability (CVE-2025-59287)

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Florian Roth
Date
2025-10-25
Modified
2026-05-15
Score / Quality
75 / 85

What this rule detects

Detects indicators related to the exploitation of the Windows Server Update Services (WSUS) Remote Code Execution Vulnerability (CVE-2025-59287)

It defines 9 patterns (9 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

expl-wsus-exploitation-indicators-oct25.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_WSUS_Exploitation_Indicators_Oct25 : CVE_2025_59287
{
	meta:
		description = "Detects indicators related to the exploitation of the Windows Server Update Services (WSUS) Remote Code Execution Vulnerability (CVE-2025-59287)"
		author = "Florian Roth"
		id = "9a118d85-fbcd-5476-acd8-6bf66f660368"
		date = "2025-10-25"
		modified = "2026-05-15"
		reference = "https://www.huntress.com/blog/exploitation-of-windows-server-update-services-remote-code-execution-vulnerability"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_wsus_cve_2025_59287.yar#L1-L28"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "04487cca15f4151bfc31279fd58dc6898e59149cabb6dbef08c1df88418ab904"
		score = 75
		quality = 85
		tags = "CVE-2025-59287"

	strings:
		$sl1 = "at System.Data.DataSet.DeserializeDataSetSchema(SerializationInfo info, StreamingContext context" ascii wide
		$sl2 = "at System.Runtime.Serialization.ObjectManager.DoFixups()" ascii wide
		$sl3 = "at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject" ascii wide
		$sl4 = "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation." ascii wide
		$sl5 = "ErrorWsusService.9HmtWebServices.CheckReportingWebServiceReporting WebService WebException:System.Net.WebException: Unable to connect to the remote server" ascii wide
		$se1 = "powershell -ec try{$r= (&{echo https://" ascii wide base64 base64wide
		$se2 = ":8531; net user /domain; ipconfig " ascii wide base64 base64wide
		$sa1 = "whoami;net user /domain" ascii wide base64 base64wide
		$sa2 = "net user /domain; ipconfig /all" ascii wide base64 base64wide

	condition:
		all of ( $sl* ) or 1 of ( $se* ) or all of ( $sa* )
}

Strings (9 patterns)

IdentifierTypeValueModifiers
$sl1text"at System.Data.DataSet.DeserializeDataSetSchema(SerializationInfo info, StreamingContext context"ascii wide
$sl2text"at System.Runtime.Serialization.ObjectManager.DoFixups()"ascii wide
$sl3text"at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject"ascii wide
$sl4text"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation."ascii wide
$sl5text"ErrorWsusService.9HmtWebServices.CheckReportingWebServiceReporting WebService WebException:System.Net.WebException: Unable to connect to the remote server"ascii wide
$se1text"powershell -ec try{$r= (&{echo https://"ascii wide base64 base64wide
$se2text":8531; net user /domain; ipconfig "ascii wide base64 base64wide
$sa1text"whoami;net user /domain"ascii wide base64 base64wide
$sa2text"net user /domain; ipconfig /all"ascii wide base64 base64wide

Condition

all of ( $sl* ) or 1 of ( $se* ) or all of ( $sa* )

In plain words (Heuristic)

  • All patterns in ( $sl* ) must match.
  • All patterns in ( $sa* ) must match.
  • At least 1 patterns in ( $se* ) must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Florian Roth

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 9a118d85-fbcd-5476-acd8-6bf66f660368

Tags:CVE_2025_59287