-
Notifications
You must be signed in to change notification settings - Fork 622
[Rule Tuning] Linux DR CP Tuning #5512
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
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
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
|
|
Starting the rule tests ... |
This reverts commit 386dc90.
|
⛔️ Test failed Results
|
rules/cross-platform/defense_evasion_deletion_of_bash_command_line_history.toml
Outdated
Show resolved
Hide resolved
terrancedejesus
approved these changes
Jan 5, 2026
DefSecSentinel
approved these changes
Jan 7, 2026
Contributor
DefSecSentinel
left a comment
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.
LGTM
|
⛔️ Test failed Results
|
Aegrah
commented
Jan 7, 2026
rules/cross-platform/defense_evasion_deletion_of_bash_command_line_history.toml
Outdated
Show resolved
Hide resolved
…line_history.toml
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
bbr
Building Block Rules
OS: Linux
Rule: Tuning
tweaking or tuning an existing rule
Team: TRADE
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.
PR 5512 Reviewer Summary
Why
This PR updates, refines, and in some cases deprecates, several cross-platform detection rules for command and control, defense evasion, persistence, and privilege escalation. The changes are intended to:
What Changed
General:
updated_date = "2025/12/23".notesections with detailed triage, false positive, and response guidance.risk_score,severity, andhistory_window_startupdated for consistency and improved detection.Notable Rule-Specific Changes:
command_and_control_curl_wget_spawn_via_nodejs_parent
command_and_control_non_standard_ssh_port
defense_evasion_deletion_of_bash_command_line_history
defense_evasion_masquerading_space_after_filename
process.args == "runc"to reduce false positives.defense_evasion_timestomp_touch
persistence_ssh_authorized_keys_modification
authorized_keysandauthorized_keys2(removes/etc/ssh/sshd_configand/root/.ssh).history_window_startreduced from 10d → 5d.privilege_escalation_setuid_setgid_bit_set_via_chmod
privilege_escalation_sudoers_file_mod
Behavioral Impact
Risks / Edge Cases
Rollout Notes