Skip to content

Commit

Permalink
Merge branch 'develop' into patch-27
Browse files Browse the repository at this point in the history
  • Loading branch information
tclahr authored Jan 21, 2025
2 parents 8f26127 + d332606 commit ec0d6de
Show file tree
Hide file tree
Showing 10 changed files with 439 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@

### Artifacts

- chkrootkit/hidden_etc_ld_so_preload.yaml: Added collection of hidden /etc/ld.so.preload using debugfs and xfs_db tools [linux] ([mnrkbys](https://github.com/mnrkbys)).
- files/applications/ark.yaml: Added collection of metadata about recently opened archive files in Ark, the KDE archive manager [freebsd, linux, netbsd, openbsd].
- files/applications/atftp.yaml: Added collection of atftp history files [all] (by [Pierre-Gronau-ndaal](https://github.com/Pierre-Gronau-ndaal)).
- files/applications/dolphin.yaml: Added collection of session data for the Dolphin file manager in the KDE desktop environment. This file contains information about the state of the Dolphin application, such as the currently open directories and their paths and the last accessed locations [freebsd, linux, netbsd, openbsd].
- files/applications/dragon_player.yaml: Added collection of paths to recently opened video files using the Dragon Player [freebsd, linux, netbsd, openbsd].
- files/applications/geany.yaml: Added collection of metadata about recently opened files in Geany text editor [freebsd, linux, netbsd, openbsd].
- files/applications/gedit.yaml: Added collection of metadata about recently opened files in Gedit text editor [freebsd, linux, netbsd, openbsd].
- files/applications/gnome_text_editor.yaml: Added collection of metadata about recently opened files in Gnome Text Editor [freebsd, linux, netbsd, openbsd].
- files/applications/katesession.yaml: Added colleection of metadata about recently opened files in Kwrite and Kate text editors [freebsd, linux, netbsd, openbsd].
- files/applications/nano.yaml: Added collection of nano history file [all] (by [Pierre-Gronau-ndaal](https://github.com/Pierre-Gronau-ndaal)).
- files/applications/okular.yaml: Added collection of metadata related to documents that have been opened or interacted with using Okular, a document viewer for KDE [freebsd, linux, netbsd, openbsd].
- files/system/gvfs_metadata.yaml: Added collection of data from the gvfs-metadata directory to retrieve user-specific metadata, such as file access details, custom properties, and interaction history [freebsd, linux, netbsd, openbsd].
- files/system/kactivitymanagerd.yaml: Added collection of activity tracking data used by KActivityManager (part of KDE) to track and manage user activities, such as recently opened files, applications, and other resources [freebsd, linux, netbsd, openbsd].
- files/system/upstart.yaml: Added collection of system-wide and user-session Upstart configuration files [linux].
- files/system/xdg_autostart.yaml: Added collection of system-wide and user-specific XDG autostart files [linux].
- live_response/packages/0install.yaml: Added collection of the list of installed packages managed by Zero Install package manager [linux] (by [Pierre-Gronau-ndaal](https://github.com/Pierre-Gronau-ndaal)).
- live_response/packages/apk.yaml: Added collection of the list of installed packages managed by the apk package manager [linux] (by [Pierre-Gronau-ndaal](https://github.com/Pierre-Gronau-ndaal)).
- live_response/packages/conary.yaml: Added collection of the list of installed packages managed by the Conary package manager [linux] (by [Pierre-Gronau-ndaal](https://github.com/Pierre-Gronau-ndaal)).
- live_response/packages/dpkg.yaml: Updated to verify all packages to compare information about the installed files in the package with information about the files taken from the package metadata stored in the dpkg database [linux] ([mnrkbys](https://github.com/mnrkbys)).
- live_response/packages/package_owns_file.yaml: Added collection of which installed package owns a specific file or command. Note that this artifact is resource-intensive and time-consuming to execute, so it is disabled by default in all profiles [linux] ([mnrkbys](https://github.com/mnrkbys)).
Expand Down
28 changes: 28 additions & 0 deletions artifacts/chkrootkit/hidden_etc_ld_so_preload.yaml
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
10 changes: 10 additions & 0 deletions artifacts/files/applications/atftp.yaml
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

9 changes: 9 additions & 0 deletions artifacts/files/applications/nano.yaml
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
10 changes: 10 additions & 0 deletions artifacts/live_response/packages/apk.yaml
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
Loading

0 comments on commit ec0d6de

Please sign in to comment.