Skip to content

Commit 68380be

Browse files
w0rk3rtradebot-elastic
authored andcommitted
[Rule Tuning] Windows High Severity - 5 (#5096)
* [Rule Tuning] Windows High Severity - 4 * Update privilege_escalation_windows_service_via_unusual_client.toml (cherry picked from commit 7bd9c52)
1 parent fea9aff commit 68380be

7 files changed

+35
-19
lines changed

rules/windows/credential_access_spn_attribute_modified.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2022/02/22"
33
integration = ["system", "windows"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -58,7 +58,7 @@ references = [
5858
"https://adsecurity.org/?p=280",
5959
"https://github.com/OTRF/Set-AuditRule",
6060
]
61-
risk_score = 73
61+
risk_score = 47
6262
rule_id = "0b2f3da5-b5ec-47d1-908b-6ebb74814289"
6363
setup = """## Setup
6464
@@ -83,7 +83,7 @@ As this specifies the servicePrincipalName Attribute GUID, it is expected to be
8383
Set-AuditRule -AdObjectPath 'AD:\\CN=Users,DC=Domain,DC=com' -WellKnownSidType WorldSid -Rights WriteProperty -InheritanceFlags Children -AttributeGUID f3a64788-5306-11d1-a9c5-0000f80367c1 -AuditFlags Success
8484
```
8585
"""
86-
severity = "high"
86+
severity = "medium"
8787
tags = [
8888
"Domain: Endpoint",
8989
"OS: Windows",

rules/windows/discovery_high_number_ad_properties.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2023/01/29"
33
integration = ["windows", "system"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -49,7 +49,7 @@ LDAP (Lightweight Directory Access Protocol) is crucial for querying and modifyi
4949
- Implement additional monitoring on LDAP queries and Active Directory access to detect similar patterns of excessive attribute queries in the future.
5050
- Review and tighten access controls and permissions within Active Directory to ensure that only necessary attributes are accessible to users based on their roles.
5151
- Conduct a post-incident review to identify any gaps in security controls and update policies or procedures to prevent recurrence of similar threats."""
52-
risk_score = 73
52+
risk_score = 21
5353
rule_id = "68ad737b-f90a-4fe5-bda6-a68fa460044e"
5454
setup = """The 'Audit Directory Service Changes' logging policy must be configured for (Success, Failure).
5555
Steps to implement the logging policy with Advanced Audit Configuration:
@@ -63,7 +63,7 @@ Audit Policies >
6363
DS Access >
6464
Audit Directory Service Changes (Success,Failure)
6565
"""
66-
severity = "high"
66+
severity = "low"
6767
tags = [
6868
"Domain: Endpoint",
6969
"OS: Windows",

rules/windows/impact_high_freq_file_renames_by_kernel.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2024/05/03"
33
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -59,9 +59,9 @@ note = """## Triage and analysis
5959
- Using the incident response data, update logging and audit policies to improve the mean time to detect (MTTD) and the mean time to respond (MTTR).
6060
"""
6161
references = ["https://news.sophos.com/en-us/2023/12/21/akira-again-the-ransomware-that-keeps-on-taking/"]
62-
risk_score = 73
62+
risk_score = 21
6363
rule_id = "1397e1b9-0c90-4d24-8d7b-80598eb9bc9a"
64-
severity = "high"
64+
severity = "low"
6565
tags = [
6666
"Domain: Endpoint",
6767
"OS: Windows",
@@ -115,5 +115,5 @@ reference = "https://attack.mitre.org/tactics/TA0008/"
115115

116116
[rule.threshold]
117117
field = ["host.id", "file.name"]
118-
value = 20
118+
value = 25
119119

rules/windows/privilege_escalation_exploit_cve_202238028.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
creation_date = "2024/04/23"
33
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/08/26"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
9-
description = "Identifies a privilege escalation attempt via exploiting CVE-2022-38028 to hijack the print spooler service execution.\n"
9+
description = """
10+
Identifies a privilege escalation attempt via exploiting CVE-2022-38028 to hijack the print spooler service execution.
11+
"""
1012
from = "now-9m"
1113
index = [
1214
"logs-endpoint.events.file-*",
@@ -86,6 +88,14 @@ file where host.os.type == "windows" and event.type != "deletion" and
8688
"?:\\*\\Windows\\WinSxS\\amd64_microsoft-windows-printing-printtopdf_*\\MPDW-constraints.js",
8789
"\\Device\\HarddiskVolume*\\*\\Windows\\system32\\DriverStore\\FileRepository\\*\\MPDW-constraints.js",
8890
"\\Device\\HarddiskVolume*\\*\\Windows\\WinSxS\\amd64_microsoft-windows-printing-printtopdf_*\\MPDW-constraints.js"
91+
) and
92+
not process.executable : (
93+
"?:\\$WINDOWS.~BT\\Sources\\SetupHost.exe",
94+
"?:\\Windows\\System32\\taskhostw.exe"
95+
) and
96+
not file.path : (
97+
"?:\\$WINDOWS.~BT\\NewOS\\Windows\\WinSxS\\*\\MPDW-constraints.js",
98+
"\\Device\\HarddiskVolume*\\$WINDOWS.~BT\\NewOS\\Windows\\WinSxS\\*\\MPDW-constraints.js"
8999
)
90100
'''
91101

rules/windows/privilege_escalation_rogue_windir_environment_var.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2020/11/26"
33
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/08/26"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -81,7 +81,7 @@ type = "eql"
8181

8282
query = '''
8383
registry where host.os.type == "windows" and event.type == "change" and
84-
registry.value : ("windir", "systemroot") and
84+
registry.value : ("windir", "systemroot") and registry.data.strings != null and
8585
registry.path : (
8686
"*\\Environment\\windir",
8787
"*\\Environment\\systemroot"

rules/windows/privilege_escalation_uac_bypass_event_viewer.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2020/03/17"
33
integration = ["endpoint", "windows", "system", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/09/01"
5+
updated_date = "2025/09/11"
66

77
[transform]
88
[[transform.osquery]]
@@ -136,8 +136,8 @@ process where host.os.type == "windows" and event.type == "start" and
136136
"?:\\Windows\\System32\\WerFault.exe",
137137
138138
/* Crowdstrike specific exclusion as it uses NT Object paths */
139-
"?\\Device\\HarddiskVolume*\\Windows\\Sys?????\\mmc.exe",
140-
"?\\Device\\HarddiskVolume*\\Windows\\Sys?????\\WerFault.exe"
139+
"\\Device\\HarddiskVolume*\\Windows\\Sys?????\\mmc.exe",
140+
"\\Device\\HarddiskVolume*\\Windows\\Sys?????\\WerFault.exe"
141141
)
142142
'''
143143

rules/windows/privilege_escalation_windows_service_via_unusual_client.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2022/02/07"
33
integration = ["system", "windows"]
44
maturity = "production"
5-
updated_date = "2025/06/19"
5+
updated_date = "2025/09/11"
66

77
[rule]
88
author = ["Elastic"]
@@ -96,7 +96,13 @@ configuration where host.os.type == "windows" and
9696
"?:\\Windows\\VeeamVssSupport\\VeeamGuestHelper.exe",
9797
"?:\\Windows\\VeeamLogShipper\\VeeamLogShipper.exe",
9898
"%SystemRoot%\\system32\\Drivers\\Crowdstrike\\*-CsInstallerService.exe",
99-
"\"%windir%\\AdminArsenal\\PDQInventory-Scanner\\service-1\\PDQInventory-Scanner-1.exe\" "
99+
"\"%windir%\\AdminArsenal\\PDQInventory-Scanner\\service-1\\PDQInventory-Scanner-1.exe\" ",
100+
"\"%windir%\\AdminArsenal\\PDQDeployRunner\\service-1\\PDQDeployRunner-1.exe\" ",
101+
"\"%windir%\\AdminArsenal\\PDQInventoryWakeCommand\\service-1\\PDQInventoryWakeCommand-1.exe\" ",
102+
"\"%SystemRoot%\\nsnetpush.exe\"",
103+
"\"C:\\WINDOWS\\ccmsetup\\ccmsetup.exe\" /runservice /ignoreskipupgrade /config:MobileClient.tcf",
104+
"\"?:\\SMS\\bin\\x64\\srvboot.exe\"",
105+
"%SystemRoot%\\pbpsdeploy.exe"
100106
)
101107
'''
102108

0 commit comments

Comments
 (0)