-
Notifications
You must be signed in to change notification settings - Fork 603
[Rule Tuning] Windows 3rd Party EDR Compatibility - Part 8 #5023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
b1462c7
[Rule Tuning] Windows 3rd Party EDR Compatibility - Part 8
w0rk3r ed372eb
Apply suggestions from code review
w0rk3r ba5d92d
Update defense_evasion_wdac_policy_by_unusual_process.toml
w0rk3r ece85a4
Merge branch 'main' into 3rd_party_edr_8
w0rk3r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[metadata] | ||
creation_date = "2025/02/28" | ||
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel"] | ||
integration = ["endpoint", "windows", "m365_defender", "sentinel_one_cloud_funnel", "crowdstrike"] | ||
maturity = "production" | ||
updated_date = "2025/03/20" | ||
updated_date = "2025/08/26" | ||
|
||
[rule] | ||
author = ["Elastic"] | ||
|
@@ -18,6 +18,7 @@ index = [ | |
"endgame-*", | ||
"logs-m365_defender.event-*", | ||
"logs-sentinel_one_cloud_funnel.*", | ||
"logs-crowdstrike.fdr*", | ||
] | ||
language = "eql" | ||
license = "Elastic License v2" | ||
|
@@ -67,14 +68,24 @@ tags = [ | |
"Data Source: Sysmon", | ||
"Data Source: Microsoft Defender for Endpoint", | ||
"Data Source: SentinelOne", | ||
"Data Source: Crowdstrike", | ||
] | ||
timestamp_override = "event.ingested" | ||
type = "eql" | ||
|
||
query = ''' | ||
file where host.os.type == "windows" and event.action != "deletion" and | ||
file.path : ("?:\\Windows\\System32\\CodeIntegrity\\*.p7b", "?:\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip") and | ||
not process.executable : "C:\\Windows\\System32\\poqexec.exe" | ||
file.extension : ("p7b", "cip") and | ||
file.path : ( | ||
w0rk3r marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"?:\\Windows\\System32\\CodeIntegrity\\*.p7b", | ||
"?:\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip", | ||
"\\Device\\HarddiskVolume*\\Windows\\System32\\CodeIntegrity\\*.p7b", | ||
"\\Device\\HarddiskVolume*\\Windows\\System32\\CodeIntegrity\\CiPolicies\\Active\\*.cip" | ||
) and | ||
not process.executable : ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe ignore trusted install worker here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll review these rules for tunings as part of https://github.com/elastic/ia-trade-team/issues/619 |
||
"C:\\Windows\\System32\\poqexec.exe", | ||
"\\Device\\HarddiskVolume*\\Windows\\System32\\poqexec.exe" | ||
) | ||
''' | ||
|
||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this rule looks like a dup of https://github.com/elastic/detection-rules/blob/fbfc696a86d3ec826fbd13fb8957d294f155dc17/rules/windows/defense_evasion_network_connection_from_windows_binary.toml and we need to fix rules scope duplicate unless its justified by having multi-versions to support different datasources.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that both existed since the beginning of the repo, but yeah, there is definitely a lot of overlap. I'll take a look at this outside this PR and probably deprecate this one. +1 to my todo