-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into rpm-dpkg-search-filename
- Loading branch information
Showing
44 changed files
with
724 additions
and
311 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 1.0 | ||
artifacts: | ||
# Git hooks/Git pager can be used to run persistence. | ||
# ref: https://www.elastic.co/security-labs/sequel-on-persistence-mechanisms | ||
- | ||
description: Collect Git hooks under .git/hooks directory. | ||
supported_os: [linux, macos] | ||
collector: file | ||
path: / | ||
path_pattern: ["*/.git/hooks/*"] | ||
file_type: [f] | ||
- | ||
description: Collect /etc/gitconfig file. | ||
supported_os: [linux, macos] | ||
collector: file | ||
path: /etc/gitconfig | ||
- | ||
description: Collect ~/.gitconfig file. | ||
supported_os: [linux, macos] | ||
collector: file | ||
path: /%user_home%/.gitconfig | ||
exclude_nologin_users: true | ||
- | ||
description: Collect ~/.config/git/gitconfig file. | ||
supported_os: [linux, macos] | ||
collector: file | ||
path: /%user_home%/.config/git/config | ||
exclude_nologin_users: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: 1.0 | ||
artifacts: | ||
# https://wiki.archlinux.org/title/XDG_Base_Directory | ||
# https://github.com/gwsw/less/issues/153 | ||
# https://www.greenwoodsoftware.com/less/news.590.html | ||
# https://www.greenwoodsoftware.com/less/news.600.html | ||
- | ||
description: Collect less history file. This file is used to store search string. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
collector: file | ||
path: /%user_home%/.lesshst | ||
exclude_nologin_users: true | ||
- | ||
description: Collect less history file. This file is used to store search string. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
collector: file | ||
# $XDG_STATE_HOME/lesshst | ||
path: /%user_home%/.local/state/lesshst | ||
exclude_nologin_users: true | ||
- | ||
description: Collect less history file. This file is used to store search string. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
collector: file | ||
# $XDG_DATA_HOME/lesshst | ||
path: /%user_home%/.local/share/lesshst | ||
exclude_nologin_users: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
version: 1.0 | ||
version: 2.0 | ||
artifacts: | ||
- | ||
description: Collect Apache logs. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
supported_os: [all] | ||
collector: file | ||
path: /var/log | ||
name_pattern: ["access_log*", "access.log*", "error_log*", "error.log*"] | ||
max_file_size: 1073741824 # 1GB | ||
- | ||
description: Collect Apache logs. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
supported_os: [all] | ||
collector: file | ||
path: /var/log/apache | ||
max_file_size: 1073741824 # 1GB | ||
- | ||
description: Collect Apache logs. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
supported_os: [all] | ||
collector: file | ||
path: /var/log/apache2 | ||
max_file_size: 1073741824 # 1GB | ||
- | ||
description: Collect Apache logs. | ||
supported_os: [aix, freebsd, linux, macos, netbsd, netscaler, openbsd, solaris] | ||
supported_os: [all] | ||
collector: file | ||
path: /var/log/httpd | ||
max_file_size: 1073741824 # 1GB |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 1.0 | ||
artifacts: | ||
- | ||
description: Collect journal log files. | ||
supported_os: [linux] | ||
collector: file | ||
path: / | ||
name_pattern: ["*.journal"] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 1.0 | ||
artifacts: | ||
- | ||
description: Collect /run/log files. | ||
supported_os: [linux] | ||
collector: file | ||
path: /run/log | ||
max_file_size: 1073741824 # 1GB | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 1.0 | ||
# APT can be used to run persistence. | ||
# ref: https://www.elastic.co/security-labs/sequel-on-persistence-mechanisms | ||
artifacts: | ||
- | ||
description: Collect script files under /etc/apt/apt.conf.d/ directory. | ||
supported_os: [linux] | ||
collector: file | ||
path: /etc/apt/apt.conf.d |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: 1.0 | ||
# DNF can be used to run persistence. | ||
# ref: https://www.elastic.co/security-labs/sequel-on-persistence-mechanisms | ||
artifacts: | ||
- | ||
description: Collect configuration files under /etc/dnf/pluginconf.d/ directory. | ||
supported_os: [linux] | ||
collector: file | ||
path: /etc/dnf/pluginconf.d | ||
- | ||
description: Collect script files under dnf-plugins directories. | ||
supported_os: [linux] | ||
collector: file | ||
path: / | ||
name_pattern: ["dnf-plugins"] | ||
file_type: [d] |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 1.0 | ||
# YUM can be used to run persistence. | ||
# ref: https://www.elastic.co/security-labs/sequel-on-persistence-mechanisms | ||
artifacts: | ||
- | ||
description: Collect configuration files under /etc/yum/pluginconf.d/ directory. | ||
supported_os: [linux] | ||
collector: file | ||
path: /etc/yum/pluginconf.d | ||
- | ||
description: Collect script files under /usr/lib/yum-plugins/ directory. | ||
supported_os: [linux] | ||
collector: file | ||
path: /usr/lib/yum-plugins |
This file contains 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
Oops, something went wrong.