Skip to content

Commit 07ec2c0

Browse files
authored
Merge branch 'main' into rt_1
2 parents e65a84c + 56574c9 commit 07ec2c0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rules/windows/defense_evasion_masquerading_as_svchost.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2025/11/12"
33
integration = ["endpoint", "windows", "system"]
44
maturity = "production"
5-
updated_date = "2025/12/05"
5+
updated_date = "2025/12/09"
66
min_stack_version = "9.1.0"
77
min_stack_comments = "The esql match operator was introduced in version 9.1.0"
88

@@ -72,10 +72,10 @@ query = '''
7272
FROM logs-endpoint.events.process-*, logs-windows.sysmon_operational-*, logs-system.security-*, logs-windows.*, winlogbeat-* metadata _id, _version, _index
7373
| where event.category == "process" and event.type == "start" and
7474
match(process.name, "svchost.exe", { "fuzziness": 1, "max_expansions": 10 }) and
75-
not process.executable in ("C:\\Windows\\SysWOW64\\svchost.exe", "C:\\Windows\\System32\\svchost.exe") and
76-
not process.executable like """\\Device\\HarddiskVolume*\\Windows\\System32\\svchost.exe""" and
77-
not process.executable like """\\Device\\HarddiskVolume*\\Windows\\SysWOW64\\svchost.exe"""
78-
| keep event.dataset, host.name, host.id, user.id, user.name, process.executable, process.parent.executable, process.command_line
75+
not to_lower(process.executable) in ("c:\\windows\\syswow64\\svchost.exe", "c:\\windows\\system32\\svchost.exe") and
76+
not to_lower(process.executable) like """\\device\\harddiskvolume*\\windows\\system32\\svchost.exe""" and
77+
not to_lower(process.executable) like """\\device\\harddiskvolume*\\windows\\syswow64\\svchost.exe"""
78+
| keep event.dataset, host.name, host.id, user.id, user.name, process.executable, process.parent.executable, process.command_line, _id, _version, _index
7979
'''
8080

8181

0 commit comments

Comments
 (0)