-
Notifications
You must be signed in to change notification settings - Fork 614
[Rule Tuning] Linux DR Tuning - 11 #5511
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
Aegrah
wants to merge
4
commits into
main
Choose a base branch
from
detection-rule-tuning-linux-11
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
+633
−588
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
|
Aegrah
commented
Dec 23, 2025
rules/linux/privilege_escalation_suspicious_uid_guid_elevation.toml
Outdated
Show resolved
Hide resolved
|
⛔️ 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
Domain: Endpoint
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 5511 Reviewer Summary
Why
This PR updates and refines a broad set of Linux privilege escalation detection rules. The changes aim to:
What Changed
General:
updated_date = "2025/12/23".notesections with detailed triage, false positive, and response guidance.risk_scoreandseverityadjusted to better reflect risk.Notable Rule-Specific Changes:
privilege_escalation_chown_chmod_unauthorized_file_read
risk_scoreincreased from 21 → 47,severityfrom low → medium.privilege_escalation_container_util_misconfiguration
risk_scoreincreased from 47 → 73,severityfrom medium → high.note) expanded and improved.privilege_escalation_cve_2025_32463_nsswitch_file_creation
privilege_escalation_cve_2025_41244_vmtoolsd_lpe
risk_scoredecreased from 47 → 21,severityfrom medium → low.privilege_escalation_dac_permissions
risk_scoredecreased from 47 → 21,severityfrom medium → low.note) added.privilege_escalation_docker_escape_via_nsenter
/opt/teleport/system/bin/teleport.note) improved.privilege_escalation_docker_release_file_creation
/usr/bin/podman,/usr/bin/git).privilege_escalation_ld_preload_shared_object_modif
note) added.new_termsfield changed from["host.id", "user.id", "process.executable"]to["agent.id"].history_window_startreduced from 10d → 5d.privilege_escalation_linux_uid_int_max_bug
note) added.privilege_escalation_load_and_unload_of_kernel_via_kexec
privilege_escalation_mount_launched_inside_container
note) added.privilege_escalation_netcon_via_sudo_binary
note) added.privilege_escalation_potential_suid_sgid_exploitation
privilege_escalation_potential_suid_sgid_proxy_execution
risk_scoreincreased from 21 → 47,severityfrom low → medium.privilege_escalation_potential_wildcard_shell_spawn
privilege_escalation_shadow_file_read
note) added.history_window_startreduced from 10d → 5d.privilege_escalation_sudo_cve_2019_14287
risk_scoreincreased from 47 → 73,severityfrom medium → high.privilege_escalation_sudo_hijacking
note) added.privilege_escalation_suspicious_cap_setuid_python_execution
risk_scoreincreased from 47 → 73,severityfrom medium → high.note) added.privilege_escalation_suspicious_uid_guid_elevation
note) added.privilege_escalation_uid_change_post_compilation
risk_scoreincreased from 47 → 73,severityfrom medium → high.note) added.privilege_escalation_uid_elevation_from_unknown_executable
risk_scoreincreased from 47 → 73,severityfrom medium → high.note) added.privilege_escalation_unshare_namespace_manipulation
Behavioral Impact
Risks / Edge Cases
Rollout Notes