Skip to content
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

[New Rule] Executable Bit Set for rc.local/rc.common #3736

Merged
merged 5 commits into from
Jun 10, 2024

Conversation

Aegrah
Copy link
Contributor

@Aegrah Aegrah commented Jun 3, 2024

Summary

Research related to this PR is conducted and documented in https://github.com/elastic/ia-trade-team/issues/374. This issue also contains the query + validation aspect.

This PR:

  • Adds a new rule that detects the setting of the executable bit for the /etc/rc.local and /etc/rc.common files for the file owner.
image

No hits last 90d in telemetry.

@Aegrah Aegrah self-assigned this Jun 3, 2024
@Aegrah Aegrah marked this pull request as ready for review June 3, 2024 08:52
Copy link
Contributor

@terrancedejesus terrancedejesus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition!

@Aegrah Aegrah merged commit 70496f8 into main Jun 10, 2024
9 checks passed
@Aegrah Aegrah deleted the rclocal-common-executable-bit-set branch June 10, 2024 07:57
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
protectionsmachine pushed a commit that referenced this pull request Jun 10, 2024
* [New Rule] Executable Bit Set for rc.local/rc.common

* Endgame compatibility

* Update rules/linux/persistence_rc_local_common_executable_bit_set.toml

(cherry picked from commit 70496f8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants