-
Notifications
You must be signed in to change notification settings - Fork 613
[Tuning] Top Noisy Rules #5449
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
Open
Samirbous
wants to merge
12
commits into
main
Choose a base branch
from
tun-top-vol
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[Tuning] Top Noisy Rules #5449
+136
−130
Conversation
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
#1 Multiple Logon Failure from the same Source Address: converted to ES|QL and raised the threshold to 100 failed auths, alert quality should be better since it aggregates all failed auths info into one alert vs multiple EQL matches. (expected reduction more than 50%) #2 Privileged Account Brute Force - coverted to ESQL and set the threshold to 50 in a minute. this should drop noise volume by more than 50%.
Contributor
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
terrancedejesus
approved these changes
Dec 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
Domain: Endpoint
eql-to-esql
noise-reduction
OS: Linux
OS: Windows
windows related rules
Rule: Tuning
tweaking or tuning an existing rule
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.
#1 Multiple Logon Failure from the same Source Address: converted to ES|QL and raised the threshold to 100 failed auths, alert quality should be better since it aggregates all failed auths info into one alert vs multiple EQL matches. (expected reduction more than 50%)
#2 Privileged Account Brute Force - coverted to ESQL and set the threshold to 50 in a minute. this should drop noise volume by more than 50%.
#3 Linux Restricted Shell Breakout via Linux Binary(s) - most of the FPs were coming from the
*PAGER*pattern (removed).#4 Command Execution via ForFiles -
-dand/dare the noisiest pattern (excluded) should still trigger on malicious use forfiles /p c:\windows\system32 /m notepad.exe /c "cmd /c c:\windows\system32\calc.exe"#5 Remote File Copy to a Hidden Share: unrelated matches like _movec matching on
*move*or ABCOPY matching on*copy*plus limited rule to cmd/ps and removed xcopy/robocopy used lot in legit copy batch operations.#6 Suspicious Service was Installed in the System - main noisy patterns are windows\temp and psexecsvc and remcomsvc (both are inconclusive for triage and better look for exec /childs from psexec/remcom)
#7 LSASS Process Access via Windows API : converted to ESQL to match on rare instances and removing random patterns from paths should help reduce significantly FPs.
#8 Suspicious Execution via Scheduled Task: few noisy patterns (.bat and .cmd script in cmd.exe args non conclusive for alert triage, excluded also few PS script by path).
#9 Hosts File Modified : main noise comes from Linux with event.action set to rename (which is not indicative of file overwrite) and a set of programfiles for Windows.
#10 Process Termination followed by Deletion - rule scope is an edge case detected by Elastic Defend, expensive correlation (by file.path/process.executable) and starts with a generic process event, marked the rule for deprecation.