-
Notifications
You must be signed in to change notification settings - Fork 129
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 patch-27
- Loading branch information
Showing
10 changed files
with
439 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: 1.0 | ||
output_directory: /chkrootkit | ||
# Collect /etc/ld.so.preload even if it is hidden by LD_PRELOAD Rootkits. | ||
# ref 1: https://www.youtube.com/watch?v=3UrEJzqqPYQ | ||
# ref 2: https://righteousit.com/wp-content/uploads/2024/04/ld_preload-rootkits.pdf | ||
# ref 3: https://www.youtube.com/watch?v=-K9hhqv21P8 | ||
# ref 4: https://righteousit.com/wp-content/uploads/2024/04/xfs_db-ftw.pdf | ||
artifacts: | ||
- | ||
description: Dump /etc/ld.so.preload with debugfs. | ||
supported_os: [linux] | ||
collector: command | ||
condition: command_exists "debugfs" && df -T %mount_point%/etc | tail -n +2 | awk '{print $2}' | grep -q "ext" | ||
command: linux_dump_etc_ld_so_preload.sh -f %mount_point%/etc/ld.so.preload | ||
output_file: etc_ld_so_preload.txt | ||
- | ||
description: Dump /etc/ld.so.preload with xfs_db. | ||
supported_os: [linux] | ||
collector: command | ||
condition: command_exists "xfs_db" && df -T %mount_point%/etc | tail -n +2 | awk '{print $2}' | grep -q "xfs" | ||
command: linux_dump_etc_ld_so_preload.sh -f %mount_point%/etc/ld.so.preload | ||
output_file: etc_ld_so_preload.txt | ||
- | ||
description: Collect file stats for /etc/ld.so.preload even if it is hidden. | ||
supported_os: [linux] | ||
collector: stat | ||
path: /etc/ld.so.preload | ||
output_file: stat_etc_ld_so_preload.txt |
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,10 @@ | ||
version: 1.0 | ||
artifacts: | ||
- | ||
description: Collect atftp history files. | ||
supported_os: [all] | ||
collector: file | ||
path: /%user_home% | ||
name_pattern: [".atftp_history"] | ||
max_depth: 4 | ||
|
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 nano history files. | ||
supported_os: [all] | ||
collector: file | ||
path: /%user_home% | ||
name_pattern: [".nano_history"] | ||
max_depth: 4 |
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,10 @@ | ||
version: 1.0 | ||
condition: command_exists "apk" | ||
output_directory: /live_response/packages | ||
artifacts: | ||
- | ||
description: Display installed packages. | ||
supported_os: [linux] | ||
collector: command | ||
command: apk info -vv | ||
output_file: apk_info_-vv.txt |
Oops, something went wrong.