Skip to content

Commit aaf3c93

Browse files
authored
[Rule Tuning] Potential System Tampering via File Modification (#5385)
1 parent 85a9c71 commit aaf3c93

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

rules/windows/impact_mod_critical_os_files.toml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2025/09/01"
3-
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
3+
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/09/11"
5+
updated_date = "2025/12/01"
66

77
[rule]
88
author = ["Elastic"]
@@ -18,7 +18,6 @@ index = [
1818
"endgame-*",
1919
"logs-m365_defender.event-*",
2020
"logs-sentinel_one_cloud_funnel.*",
21-
"logs-crowdstrike.fdr*",
2221
]
2322
language = "eql"
2423
license = "Elastic License v2"
@@ -75,9 +74,20 @@ type = "eql"
7574

7675
query = '''
7776
file where host.os.type == "windows" and event.type in ("change", "deletion") and
78-
file.name : ("winload.exe", "winlod.efi", "ntoskrnl.exe", "bootmgr") and
79-
file.path : ("?:\\Windows\\*", "\\Device\\HarddiskVolume*\\Windows\\*") and
80-
not process.executable : ("?:\\Windows\\System32\\poqexec.exe", "\\Device\\HarddiskVolume*\\Windows\\System32\\poqexec.exe")
77+
file.name : ("winload.exe", "winlod.efi", "ntoskrnl.exe", "bootmgr") and
78+
file.path : ("?:\\Windows\\*", "\\Device\\HarddiskVolume*\\Windows\\*") and
79+
not process.executable : (
80+
"?:\\Windows\\System32\\poqexec.exe",
81+
"?:\\Windows\\WinSxS\\amd64_microsoft-windows-servicingstack_*\\tiworker.exe"
82+
) and
83+
not file.path : (
84+
"?:\\Windows\\WinSxS\\Temp\\InFlight\\*",
85+
"?:\\Windows\\SoftwareDistribution\\Download*",
86+
"?:\\Windows\\WinSxS\\amd64_microsoft-windows*",
87+
"?:\\Windows\\SystemTemp\\*",
88+
"?:\\Windows\\Temp\\????????.???\\*",
89+
"?:\\Windows\\Temp\\*\\amd64_microsoft-windows-*"
90+
)
8191
'''
8292

8393

0 commit comments

Comments
 (0)