Skip to content

Commit 52b0235

Browse files
w0rk3rtradebot-elastic
authored andcommitted
[Rule Tuning] Windows 3rd Party EDR Compatibility - Part 11 (#5026)
* [Rule Tuning] Windows 3rd Party EDR Compatibility - Part 11 * Apply suggestions from code review Co-authored-by: Samirbous <[email protected]> --------- Co-authored-by: Samirbous <[email protected]> (cherry picked from commit 41dd521)
1 parent 0bc25fd commit 52b0235

5 files changed

+47
-38
lines changed

rules/windows/lateral_movement_defense_evasion_lanman_nullsessionpipe_modification.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2021/03/22"
3-
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
3+
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Elastic"]
@@ -18,6 +18,7 @@ index = [
1818
"winlogbeat-*",
1919
"logs-m365_defender.event-*",
2020
"logs-sentinel_one_cloud_funnel.*",
21+
"logs-crowdstrike.fdr*",
2122
]
2223
language = "eql"
2324
license = "Elastic License v2"
@@ -74,19 +75,17 @@ tags = [
7475
"Data Source: Sysmon",
7576
"Data Source: Microsoft Defender for Endpoint",
7677
"Data Source: SentinelOne",
78+
"Data Source: Crowdstrike",
7779
"Resources: Investigation Guide",
7880
]
7981
timestamp_override = "event.ingested"
8082
type = "eql"
8183

8284
query = '''
8385
registry where host.os.type == "windows" and event.type == "change" and
84-
registry.path : (
85-
"HKLM\\SYSTEM\\*ControlSet*\\services\\LanmanServer\\Parameters\\NullSessionPipes",
86-
"\\REGISTRY\\MACHINE\\SYSTEM\\*ControlSet*\\services\\LanmanServer\\Parameters\\NullSessionPipes",
87-
"MACHINE\\SYSTEM\\*ControlSet*\\services\\LanmanServer\\Parameters\\NullSessionPipes"
88-
) and length(registry.data.strings) > 0 and
89-
not registry.data.strings : "(empty)"
86+
registry.value : "NullSessionPipes" and
87+
length(registry.data.strings) > 0 and
88+
not registry.data.strings : "(empty)"
9089
'''
9190

9291

rules/windows/lateral_movement_incoming_winrm_shell_execution.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/11/24"
3-
integration = ["endpoint", "windows"]
3+
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/05/20"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Elastic"]
@@ -22,6 +22,7 @@ index = [
2222
"logs-endpoint.events.process-*",
2323
"logs-endpoint.events.network-*",
2424
"logs-windows.sysmon_operational-*",
25+
"logs-sentinel_one_cloud_funnel.*",
2526
]
2627
language = "eql"
2728
license = "Elastic License v2"
@@ -72,6 +73,7 @@ tags = [
7273
"Data Source: Elastic Defend",
7374
"Data Source: Sysmon",
7475
"Resources: Investigation Guide",
76+
"Data Source: SentinelOne",
7577
]
7678
type = "eql"
7779

rules/windows/lateral_movement_powershell_remoting_target.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/11/24"
3-
integration = ["endpoint", "windows"]
3+
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel"]
44
maturity = "production"
5-
updated_date = "2025/05/20"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Elastic"]
@@ -22,6 +22,7 @@ index = [
2222
"logs-endpoint.events.process-*",
2323
"logs-endpoint.events.network-*",
2424
"logs-windows.sysmon_operational-*",
25+
"logs-sentinel_one_cloud_funnel.*",
2526
]
2627
language = "eql"
2728
license = "Elastic License v2"
@@ -75,6 +76,7 @@ tags = [
7576
"Tactic: Execution",
7677
"Data Source: Elastic Defend",
7778
"Data Source: Sysmon",
79+
"Data Source: SentinelOne",
7880
"Resources: Investigation Guide",
7981
]
8082
type = "eql"

rules/windows/lateral_movement_rdp_enabled_registry.toml

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/11/25"
3-
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"]
3+
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Elastic"]
@@ -18,6 +18,7 @@ index = [
1818
"endgame-*",
1919
"logs-m365_defender.event-*",
2020
"logs-sentinel_one_cloud_funnel.*",
21+
"logs-crowdstrike.fdr*",
2122
]
2223
language = "eql"
2324
license = "Elastic License v2"
@@ -73,24 +74,29 @@ tags = [
7374
"Data Source: Sysmon",
7475
"Data Source: Microsoft Defender for Endpoint",
7576
"Data Source: SentinelOne",
77+
"Data Source: Crowdstrike",
7678
]
7779
timestamp_override = "event.ingested"
7880
type = "eql"
7981

8082
query = '''
8183
registry where host.os.type == "windows" and event.type == "change" and
82-
registry.path : (
83-
"HKLM\\SYSTEM\\*ControlSet*\\Control\\Terminal Server\\fDenyTSConnections",
84-
"\\REGISTRY\\MACHINE\\SYSTEM\\*ControlSet*\\Control\\Terminal Server\\fDenyTSConnections",
85-
"MACHINE\\*ControlSet*\\Control\\Terminal Server\\fDenyTSConnections"
86-
) and
84+
registry.value : "fDenyTSConnections" and
8785
registry.data.strings : ("0", "0x00000000") and
88-
not process.executable : ("?:\\Windows\\System32\\SystemPropertiesRemote.exe",
89-
"?:\\Windows\\System32\\SystemPropertiesComputerName.exe",
90-
"?:\\Windows\\System32\\SystemPropertiesAdvanced.exe",
91-
"?:\\Windows\\System32\\SystemSettingsAdminFlows.exe",
92-
"?:\\Windows\\WinSxS\\*\\TiWorker.exe",
93-
"?:\\Windows\\system32\\svchost.exe")
86+
not process.executable : (
87+
"?:\\Windows\\System32\\SystemPropertiesRemote.exe",
88+
"?:\\Windows\\System32\\SystemPropertiesComputerName.exe",
89+
"?:\\Windows\\System32\\SystemPropertiesAdvanced.exe",
90+
"?:\\Windows\\System32\\SystemSettingsAdminFlows.exe",
91+
"?:\\Windows\\WinSxS\\*\\TiWorker.exe",
92+
"?:\\Windows\\system32\\svchost.exe",
93+
"\\Device\\HarddiskVolume*\\Windows\\System32\\SystemPropertiesRemote.exe",
94+
"\\Device\\HarddiskVolume*\\Windows\\System32\\SystemPropertiesComputerName.exe",
95+
"\\Device\\HarddiskVolume*\\Windows\\System32\\SystemPropertiesAdvanced.exe",
96+
"\\Device\\HarddiskVolume*\\Windows\\System32\\SystemSettingsAdminFlows.exe",
97+
"\\Device\\HarddiskVolume*\\Windows\\WinSxS\\*\\TiWorker.exe",
98+
"\\Device\\HarddiskVolume*\\Windows\\system32\\svchost.exe"
99+
)
94100
'''
95101

96102

rules/windows/persistence_adobe_hijack_persistence.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2020/02/18"
3-
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "m365_defender"]
3+
integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "m365_defender", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/03/20"
5+
updated_date = "2025/08/26"
66

77
[transform]
88
[[transform.osquery]]
@@ -41,6 +41,7 @@ index = [
4141
"endgame-*",
4242
"logs-sentinel_one_cloud_funnel.*",
4343
"logs-m365_defender.event-*",
44+
"logs-crowdstrike.fdr*",
4445
]
4546
language = "eql"
4647
license = "Elastic License v2"
@@ -97,14 +98,6 @@ Attackers can replace the `RdrCEF.exe` executable with their own to maintain the
9798
references = ["https://twitter.com/pabraeken/status/997997818362155008"]
9899
risk_score = 21
99100
rule_id = "2bf78aa2-9c56-48de-b139-f169bf99cf86"
100-
setup = """## Setup
101-
102-
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2,
103-
events will not define `event.ingested` and default fallback for EQL rules was not added until version 8.2.
104-
Hence for this rule to work effectively, users will need to add a custom ingest pipeline to populate
105-
`event.ingested` to @timestamp.
106-
For more details on adding a custom ingest pipeline refer - https://www.elastic.co/guide/en/fleet/current/data-streams-pipeline-tutorial.html
107-
"""
108101
severity = "low"
109102
tags = [
110103
"Domain: Endpoint",
@@ -117,15 +110,22 @@ tags = [
117110
"Data Source: Sysmon",
118111
"Data Source: SentinelOne",
119112
"Data Source: Microsoft Defender for Endpoint",
113+
"Data Source: Crowdstrike",
120114
]
121115
timestamp_override = "event.ingested"
122116
type = "eql"
123117

124118
query = '''
125119
file where host.os.type == "windows" and event.type == "creation" and
126-
file.path : ("?:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe",
127-
"?:\\Program Files\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe") and
128-
not process.name : "msiexec.exe"
120+
file.path : (
121+
"?:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe",
122+
"?:\\Program Files\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe",
123+
124+
/* Crowdstrike specific condition as it uses NT Object paths */
125+
"\\Device\\HarddiskVolume?\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe",
126+
"\\Device\\HarddiskVolume?\\Program Files\\Adobe\\Acrobat Reader DC\\Reader\\AcroCEF\\RdrCEF.exe"
127+
) and
128+
not process.name : ("msiexec.exe", "AdobeARM.exe")
129129
'''
130130

131131

0 commit comments

Comments
 (0)