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] APT Package Manager Configuration File Creation #3739

Merged
merged 5 commits into from
Jun 11, 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 detecting the file creation event for configuration files in the /etc/apt/apt.conf.d/ directory, with a robust set of exclusions built-in by default.
image

Only TPs in testing stack, 9 hits last 1 year in telemetry, all cases to look at.

@Aegrah Aegrah self-assigned this Jun 3, 2024
@Aegrah Aegrah marked this pull request as ready for review June 3, 2024 08:53
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.

LGTM! Added a question about adding APT itself to the list of exclusions.

@Aegrah Aegrah merged commit 4003219 into main Jun 11, 2024
9 checks passed
@Aegrah Aegrah deleted the new-rule-apt-config-file-creation branch June 11, 2024 07:43
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
protectionsmachine pushed a commit that referenced this pull request Jun 11, 2024
* [New Rule] APT Package Manager Configuration File Creation

* Update rules/linux/persistence_apt_package_manager_file_creation.toml

* Update persistence_apt_package_manager_file_creation.toml

(cherry picked from commit 4003219)
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