Skip to content

Commit 246f485

Browse files
authored
Merge pull request #3423 from 0xC0FFEEEE/win_sus_service_fix
Windows Service Created with Suspicious Service Name fix
2 parents bc2f378 + 3b6e62e commit 246f485

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

detections/endpoint/windows_service_created_with_suspicious_service_name.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Windows Service Created with Suspicious Service Name
22
id: 35eb6d19-a497-400c-93c5-645562804b11
3-
version: 1
4-
date: '2025-02-07'
3+
version: 2
4+
date: '2025-03-26'
55
author: Steven Dick
66
status: production
77
type: Anomaly
@@ -11,7 +11,7 @@ data_source:
1111
search: |-
1212
`wineventlog_system` EventCode=7045
1313
| stats values(ImagePath) as process, count, min(_time) as firstTime, max(_time) as lastTime values(EventCode) as signature by Computer, ServiceName, StartType, ServiceType, UserID
14-
| eval process_name = mvindex(split(process,"\\"),-1)
14+
| eval process_name = replace(mvindex(split(process,"\\"),-1), "\"", "")
1515
| rename Computer as dest, ServiceName as object_name, ServiceType as object_type, UserID as user_id
1616
| lookup windows_suspicious_services service_name as object_name
1717
| where isnotnull(tool_name)

lookups/windows_suspicious_services.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: windows_suspicious_services
2-
date: 2025-02-07
3-
version: 1
2+
date: 2025-03-26
3+
version: 2
44
id: 8c214005-2b4e-49c8-bba6-747005f11296
55
author: Steven Dick
66
lookup_type: csv

0 commit comments

Comments
 (0)