Skip to content

Commit 18c84a6

Browse files
committed
Fix process creation rule: use single value for Image|endswith
1 parent db55476 commit 18c84a6

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

rules/windows/process_creation/proc_creation_win_curl_sharepoint_jwt_forgery.yml renamed to rules/windows/process_creation/proc_creation_win_sharepoint_jwt_exploitation.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ title: Suspicious SharePoint JWT Exploitation via Curl
22
id: 7a4b9f1e-2e7d-4f8a-9d1b-3e5c6f8a2b4d
33
status: experimental
44
description: |
5-
Detects curl process execution matching command-line arguments generated by
6-
the CVE-2026-55040 SharePoint authentication bypass exploit script.
5+
Detects curl process execution matching command-line arguments generated by the CVE-2026-55040.
6+
The presence of a raw NTLM Type-1 blob and SharePoint API endpoint requests.
77
references:
88
- https://www.rapid7.com/blog/post/ve-cve-2026-55040-microsoft-sharepoint-jwt-token-authentication-bypass-fixed/
99
- https://github.com/sfewer-r7/CVE-2026-55040
@@ -17,17 +17,15 @@ tags:
1717
- attack.t1212
1818
detection:
1919
selection_curl:
20-
Image|endswith:
21-
- '\curl.exe'
22-
- '\curl'
20+
Image|endswith: '\curl.exe'
2321
selection_path:
2422
CommandLine|contains: "--path-as-is"
2523
selection_payload:
2624
CommandLine|contains:
27-
- "TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAKABhKAAAADw==" # NTLM Type-1 blob used by the script
28-
- "/_layouts/15/metadata/json/1" # STS metadata endpoint
29-
- "Authorization: Bearer eyJ" # Base64url JWT token header
25+
- "TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAKABhKAAAADw=="
26+
- "/_layouts/15/metadata/json/1"
27+
- "Authorization: Bearer eyJ"
3028
condition: selection_curl and selection_path and selection_payload
3129
falsepositives:
32-
- Unlikely; curl commands with these exact combinations are not standard.
30+
- Unlikely
3331
level: high

0 commit comments

Comments
 (0)