Skip to content

Commit 00c6e78

Browse files
authored
[Rule Tuning] Windows - Small Adjusts for Compatibility (#5032)
1 parent 9c2ceb2 commit 00c6e78

File tree

3 files changed

+6
-17
lines changed

3 files changed

+6
-17
lines changed

rules/windows/command_and_control_tool_transfer_via_curl.toml

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

77
[rule]
88
author = ["Elastic"]
@@ -97,7 +97,7 @@ process where host.os.type == "windows" and event.type == "start" and
9797
"mshta.exe", "hh.exe", "mmc.exe"
9898
) and
9999
not (
100-
user.id == "S-1-5-18" and
100+
?user.id == "S-1-5-18" and
101101
/* Don't apply the user.id exclusion to Sysmon for compatibility */
102102
not event.dataset : ("windows.sysmon_operational", "windows.sysmon")
103103
) and

rules/windows/defense_evasion_disable_posh_scriptblocklogging.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2022/01/31"
33
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/08/13"
5+
updated_date = "2025/08/27"
66

77
[rule]
88
author = ["Elastic"]
@@ -90,13 +90,11 @@ registry where host.os.type == "windows" and event.type == "change" and
9090
"\\REGISTRY\\MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\PowerShell\\ScriptBlockLogging\\EnableScriptBlockLogging",
9191
"MACHINE\\SOFTWARE\\Policies\\Microsoft\\Windows\\PowerShell\\ScriptBlockLogging\\EnableScriptBlockLogging"
9292
) and registry.data.strings : ("0", "0x00000000") and
93-
not (
94-
process.executable : (
93+
not process.executable : (
9594
"?:\\Windows\\System32\\svchost.exe",
9695
"?:\\Windows\\System32\\DeviceEnroller.exe",
9796
"?:\\Windows\\system32\\omadmclient.exe",
9897
"?:\\Program Files (x86)\\N-able Technologies\\AutomationManagerAgent\\AutomationManager.AgentService.exe"
99-
) and user.id == "S-1-5-18"
10098
)
10199
'''
102100

rules/windows/impact_backup_file_deletion.toml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2021/10/01"
33
integration = ["endpoint", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/08/27"
66

77
[rule]
88
author = ["Elastic"]
@@ -14,7 +14,7 @@ false_positives = [
1414
"Certain utilities that delete files for disk cleanup or Administrators manually removing backup files.",
1515
]
1616
from = "now-9m"
17-
index = ["logs-endpoint.events.file-*", "endgame-*", "logs-sentinel_one_cloud_funnel.*"]
17+
index = ["logs-endpoint.events.file-*", "logs-sentinel_one_cloud_funnel.*"]
1818
language = "eql"
1919
license = "Elastic License v2"
2020
name = "Third-party Backup Files Deleted via Unexpected Process"
@@ -60,22 +60,13 @@ This rule identifies file deletions performed by a process that does not belong
6060
references = ["https://www.advintel.io/post/backup-removal-solutions-from-conti-ransomware-with-love"]
6161
risk_score = 47
6262
rule_id = "11ea6bec-ebde-4d71-a8e9-784948f8e3e9"
63-
setup = """## Setup
64-
65-
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2,
66-
events will not define `event.ingested` and default fallback for EQL rules was not added until version 8.2.
67-
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
68-
`event.ingested` to @timestamp.
69-
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
70-
"""
7163
severity = "medium"
7264
tags = [
7365
"Domain: Endpoint",
7466
"OS: Windows",
7567
"Use Case: Threat Detection",
7668
"Tactic: Impact",
7769
"Resources: Investigation Guide",
78-
"Data Source: Elastic Endgame",
7970
"Data Source: Elastic Defend",
8071
"Data Source: SentinelOne",
8172
]

0 commit comments

Comments
 (0)