Skip to content

Commit b654418

Browse files
Merge PR #5731 from @swachchhanda000 - Add rules for CVE-2025-59287
new: Exploitation Activity of CVE-2025-59287 - WSUS Suspicious Child Process new: Exploitation Activity of CVE-2025-59287 - WSUS Deserialization --------- Signed-off-by: swachchhanda000 <87493836+swachchhanda000@users.noreply.github.com> Co-authored-by: frack113 <62423083+frack113@users.noreply.github.com> Co-authored-by: Nasreddine Bencherchali
1 parent 941f2e9 commit b654418

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
title: Exploitation Activity of CVE-2025-59287 - WSUS Suspicious Child Process
2+
id: 43259cc4-1b80-4931-bd98-baea01afc196
3+
status: experimental
4+
description: |
5+
Detects the creation of command-line interpreters (cmd.exe, powershell.exe) as child processes of Windows Server Update Services (WSUS) related process wsusservice.exe.
6+
This behavior is a key indicator of exploitation for the critical remote code execution vulnerability such as CVE-2025-59287, where attackers spawn shells to conduct reconnaissance and further post-exploitation activities.
7+
references:
8+
- https://unit42.paloaltonetworks.com/microsoft-cve-2025-59287/
9+
- https://www.huntress.com/blog/exploitation-of-windows-server-update-services-remote-code-execution-vulnerability
10+
- https://hawktrace.com/blog/CVE-2025-59287-UNAUTH
11+
author: Huntress Labs, Swachchhanda Shrawan Poudel (Nextron Systems)
12+
date: 2025-10-31
13+
tags:
14+
- attack.execution
15+
- attack.initial-access
16+
- attack.t1190
17+
- attack.t1203
18+
- cve.2025-59287
19+
- detection.emerging-threats
20+
logsource:
21+
category: process_creation
22+
product: windows
23+
detection:
24+
selection_parent_wsusservice:
25+
ParentImage|endswith: '\wsusservice.exe'
26+
selection_parent_w3wp_wsuspool:
27+
ParentImage|endswith: '\w3wp.exe'
28+
ParentCommandLine|contains: 'WsusPool'
29+
selection_child:
30+
Image|endswith:
31+
- '\cmd.exe'
32+
- '\powershell.exe'
33+
- '\pwsh.exe'
34+
- '\powershell_ise.exe'
35+
condition: 1 of selection_parent_* and selection_child
36+
falsepositives:
37+
- If this activity is expected, consider filtering based on specific command lines, user context (e.g., `nt authority\network service`), or parent process command lines to reduce noise.
38+
level: high
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
title: Exploitation Activity of CVE-2025-59287 - WSUS Deserialization
2+
id: e5f66e87-7d6b-404f-92fe-7aa67814b5cd
3+
status: experimental
4+
description: |
5+
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.
6+
references:
7+
- https://unit42.paloaltonetworks.com/cve-2025-59287/
8+
- https://hawktrace.com/blog/CVE-2025-59287-UNAUTH
9+
- https://github.com/0xBruno/WSUSploit.NET/tree/e239bce9d6b5f46a346e1e4c4d5e0a2a20d5c639
10+
- https://www.huntress.com/blog/exploitation-of-windows-server-update-services-remote-code-execution-vulnerability
11+
author: Swachchhanda Shrawan Poudel (Nextron Systems)
12+
date: 2025-10-31
13+
tags:
14+
- attack.execution
15+
- attack.initial-access
16+
- attack.t1190
17+
- attack.t1203
18+
- cve.2025-59287
19+
- detection.emerging-threats
20+
logsource:
21+
product: windows
22+
service: application
23+
detection:
24+
selection:
25+
Provider_Name: 'Windows Server Update Services'
26+
EventID: 7053
27+
Data|contains|all:
28+
# Indicators of untrusted deserialization exploitation attempts
29+
# https://github.com/pwntester/ysoserial.net/issues/114
30+
- 'System.InvalidCastException'
31+
- 'System.Windows.Data.ObjectDataProvider'
32+
- 'Unable to cast object of type'
33+
- 'System.Windows.Media.Brush'
34+
condition: selection
35+
falsepositives:
36+
- Legitimate WSUS operations that may trigger similar error messages
37+
level: high

0 commit comments

Comments
 (0)