Skip to content

Commit beca254

Browse files
w0rk3rtradebot-elastic
authored andcommitted
[Rule Tuning] Windows 3rd Party EDR Compatibility - Part 4 (#5019)
* [Rule Tuning] Windows 3rd Party EDR Compatibility - Part 4 * Update rules/windows/defense_evasion_microsoft_defender_tampering.toml Co-authored-by: Samirbous <[email protected]> --------- Co-authored-by: Samirbous <[email protected]> (cherry picked from commit 85a0d27)
1 parent 071407d commit beca254

5 files changed

+36
-23
lines changed

rules/windows/defense_evasion_lsass_ppl_disabled_registry.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2025/05/27"
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/05/27"
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,13 +74,14 @@ 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 : ("HKLM\\SYSTEM\\ControlSet*\\Control\\Lsa\\RunAsPPL", "\\REGISTRY\\MACHINE\\SYSTEM\\ControlSet*\\Control\\Lsa\\RunAsPPL") and
84+
registry.value : "RunAsPPL" and registry.path : "*\\SYSTEM\\*ControlSet*\\Control\\Lsa\\RunAsPPL" and
8385
not registry.data.strings : ("1", "0x00000001", "2", "0x00000002")
8486
'''
8587

rules/windows/defense_evasion_masquerading_business_apps_installer.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
creation_date = "2023/09/01"
33
integration = ["endpoint"]
44
maturity = "production"
5-
updated_date = "2025/05/05"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Elastic"]
@@ -12,7 +12,7 @@ developer. Attackers may trick users into downloading malicious executables that
1212
via malicious ads, forum posts, and tutorials, effectively gaining initial access.
1313
"""
1414
from = "now-9m"
15-
index = ["logs-endpoint.events.process-*"]
15+
index = ["logs-endpoint.events.process-*", "endgame-*"]
1616
language = "eql"
1717
license = "Elastic License v2"
1818
name = "Potential Masquerading as Business App Installer"
@@ -31,6 +31,7 @@ tags = [
3131
"Tactic: Initial Access",
3232
"Tactic: Execution",
3333
"Resources: Investigation Guide",
34+
"Data Source: Elastic Endgame",
3435
]
3536
timestamp_override = "event.ingested"
3637
type = "eql"

rules/windows/defense_evasion_masquerading_communication_apps.toml

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

77
[rule]
88
author = ["Elastic"]
@@ -11,7 +11,7 @@ Identifies suspicious instances of communications apps, both unsigned and rename
1111
conceal malicious activity, bypass security features such as allowlists, or trick users into executing malware.
1212
"""
1313
from = "now-9m"
14-
index = ["logs-endpoint.events.process-*"]
14+
index = ["logs-endpoint.events.process-*", "logs-sentinel_one_cloud_funnel.*", "endgame-*"]
1515
language = "eql"
1616
license = "Elastic License v2"
1717
name = "Potential Masquerading as Communication Apps"
@@ -25,6 +25,8 @@ tags = [
2525
"Tactic: Defense Evasion",
2626
"Data Source: Elastic Defend",
2727
"Resources: Investigation Guide",
28+
"Data Source: SentinelOne",
29+
"Data Source: Elastic Endgame",
2830
]
2931
timestamp_override = "event.ingested"
3032
type = "eql"
@@ -35,40 +37,40 @@ process where host.os.type == "windows" and
3537
(
3638
/* Slack */
3739
(process.name : "slack.exe" and not
38-
(process.code_signature.subject_name in (
40+
(process.code_signature.subject_name : (
3941
"Slack Technologies, Inc.",
4042
"Slack Technologies, LLC"
4143
) and process.code_signature.trusted == true)
4244
) or
4345
4446
/* WebEx */
4547
(process.name : "WebexHost.exe" and not
46-
(process.code_signature.subject_name in ("Cisco WebEx LLC", "Cisco Systems, Inc.") and process.code_signature.trusted == true)
48+
(process.code_signature.subject_name : ("Cisco WebEx LLC", "Cisco Systems, Inc.") and process.code_signature.trusted == true)
4749
) or
4850
4951
/* Teams */
5052
(process.name : "Teams.exe" and not
51-
(process.code_signature.subject_name == "Microsoft Corporation" and process.code_signature.trusted == true)
53+
(process.code_signature.subject_name : "Microsoft Corporation" and process.code_signature.trusted == true)
5254
) or
5355
5456
/* Discord */
5557
(process.name : "Discord.exe" and not
56-
(process.code_signature.subject_name == "Discord Inc." and process.code_signature.trusted == true)
58+
(process.code_signature.subject_name : "Discord Inc." and process.code_signature.trusted == true)
5759
) or
5860
5961
/* RocketChat */
6062
(process.name : "Rocket.Chat.exe" and not
61-
(process.code_signature.subject_name == "Rocket.Chat Technologies Corp." and process.code_signature.trusted == true)
63+
(process.code_signature.subject_name : "Rocket.Chat Technologies Corp." and process.code_signature.trusted == true)
6264
) or
6365
6466
/* Mattermost */
6567
(process.name : "Mattermost.exe" and not
66-
(process.code_signature.subject_name == "Mattermost, Inc." and process.code_signature.trusted == true)
68+
(process.code_signature.subject_name : "Mattermost, Inc." and process.code_signature.trusted == true)
6769
) or
6870
6971
/* WhatsApp */
7072
(process.name : "WhatsApp.exe" and not
71-
(process.code_signature.subject_name in (
73+
(process.code_signature.subject_name : (
7274
"WhatsApp LLC",
7375
"WhatsApp, Inc",
7476
"24803D75-212C-471A-BC57-9EF86AB91435"
@@ -77,17 +79,17 @@ process where host.os.type == "windows" and
7779
7880
/* Zoom */
7981
(process.name : "Zoom.exe" and not
80-
(process.code_signature.subject_name == "Zoom Video Communications, Inc." and process.code_signature.trusted == true)
82+
(process.code_signature.subject_name : "Zoom Video Communications, Inc." and process.code_signature.trusted == true)
8183
) or
8284
8385
/* Outlook */
8486
(process.name : "outlook.exe" and not
85-
(process.code_signature.subject_name == "Microsoft Corporation" and process.code_signature.trusted == true)
87+
(process.code_signature.subject_name : "Microsoft Corporation" and process.code_signature.trusted == true)
8688
) or
8789
8890
/* Thunderbird */
8991
(process.name : "thunderbird.exe" and not
90-
(process.code_signature.subject_name == "Mozilla Corporation" and process.code_signature.trusted == true)
92+
(process.code_signature.subject_name : "Mozilla Corporation" and process.code_signature.trusted == true)
9193
)
9294
)
9395
'''

rules/windows/defense_evasion_masquerading_renamed_autoit.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/09/01"
3-
integration = ["endpoint", "windows", "m365_defender"]
3+
integration = ["endpoint", "windows", "m365_defender", "crowdstrike"]
44
maturity = "production"
5-
updated_date = "2025/05/05"
5+
updated_date = "2025/08/26"
66

77
[transform]
88
[[transform.osquery]]
@@ -43,6 +43,7 @@ index = [
4343
"logs-windows.sysmon_operational-*",
4444
"endgame-*",
4545
"logs-m365_defender.event-*",
46+
"logs-crowdstrike.fdr*",
4647
]
4748
language = "eql"
4849
license = "Elastic License v2"
@@ -110,6 +111,7 @@ tags = [
110111
"Data Source: Elastic Defend",
111112
"Data Source: Sysmon",
112113
"Data Source: Microsoft Defender for Endpoint",
114+
"Data Source: Crowdstrike",
113115
]
114116
timestamp_override = "event.ingested"
115117
type = "eql"

rules/windows/defense_evasion_microsoft_defender_tampering.toml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[metadata]
22
creation_date = "2021/10/18"
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/27"
5+
updated_date = "2025/08/26"
66

77
[rule]
88
author = ["Austin Songer"]
@@ -19,6 +19,7 @@ index = [
1919
"logs-m365_defender.event-*",
2020
"logs-sentinel_one_cloud_funnel.*",
2121
"endgame-*",
22+
"logs-crowdstrike.fdr*",
2223
]
2324
language = "eql"
2425
license = "Elastic License v2"
@@ -85,6 +86,7 @@ tags = [
8586
"Data Source: Microsoft Defender for Endpoint",
8687
"Data Source: SentinelOne",
8788
"Data Source: Elastic Endgame",
89+
"Data Source: Crowdstrike",
8890
]
8991
timestamp_override = "event.ingested"
9092
type = "eql"
@@ -109,7 +111,11 @@ registry where host.os.type == "windows" and event.type == "change" and process.
109111
"?:\\Windows\\system32\\svchost.exe",
110112
"?:\\Windows\\CCM\\CcmExec.exe",
111113
"?:\\Windows\\System32\\DeviceEnroller.exe",
112-
"?:\\Program Files (x86)\\Trend Micro\\Security Agent\\tmuninst.exe"
114+
"?:\\Program Files (x86)\\Trend Micro\\Security Agent\\tmuninst.exe",
115+
"\\Device\\HarddiskVolume*\\Windows\\system32\\svchost.exe",
116+
"\\Device\\HarddiskVolume*\\Windows\\CCM\\CcmExec.exe",
117+
"\\Device\\HarddiskVolume*\\Windows\\System32\\DeviceEnroller.exe",
118+
"\\Device\\HarddiskVolume*\\Program Files (x86)\\Trend Micro\\Security Agent\\tmuninst.exe"
113119
)
114120
115121
/*

0 commit comments

Comments
 (0)