Skip to content

Commit

Permalink
Merge pull request #155 from tclahr/release/2.6.0
Browse files Browse the repository at this point in the history
Release/2.6.0
  • Loading branch information
tclahr authored May 31, 2023
2 parents 2de5e29 + 89fa0b5 commit 7dce010
Show file tree
Hide file tree
Showing 39 changed files with 454 additions and 139 deletions.
62 changes: 34 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,42 @@
# Changelog

## 2.5.0 (2022-02-22)

### Features

- Added extraction of memory sections and strings from '/proc/[pid]/mem' using the data available in '/proc/[pid]/maps', even if processes are shown up as being (deleted). This functionality is enabled via 'tools/linux_procmemdump.sh' script.
- Artifacts file: Added a new option to define a custom output file name where the standard error messages (stderr stream) will be stored in. Please check the [project's documentation page](https://tclahr.github.io/uac-docs/collectors/#stderr_output_file) for more information.
## 2.6.0 (2023-05-30)

### Artifacts

- files/applications/anydesk.yaml: Added the collection of AnyDesk configuration, chat transcript, screenshot, session recording and trace files [freebsd, linux, macos].
- files/applications/box_drive.yaml: Added the collection of Box Drive client configuration and sqlite database files [macos].
- files/applications/qnap_qsync.yaml: Added the collection of QNAP Qsync client configuration and log files [linux, macos].
- files/applications/spotlight_shortcuts.yaml: Added the collection of searches that a user performed in the Spotlight application [macos].
- files/applications/synology_drive.yaml: Added the collection of Synology Drive client configuration, database and log files [linux, macos].
- files/system/coreanalytics.yaml: Added the collection of information about the system usage and application execution history [macos].
- files/system/powerlog.yaml: Added the collection of Powerlog archive files [macos].
- live_response/network/ip6tables.yaml: Added the collection of firewall rules information using ip6tables tool [android, linux].
- live_response/network/iptables.yaml: Updated command parameters to support legacy iptables versions [android, linux].
- live_response/network/lsof.yaml: Added the listing of UNIX domain socket files.
- live_response/packages/synopkg.yaml: Added the collection of installed packages on Synology DSM systems [linux].
- live_response/process/deleted.yaml: Added the collection of process memory sections and strings (for processes shown up as being deleted) from '/proc/[pid]/mem' [linux].
- live_response/system/lastlog.yaml: Added the collection of the last login log '/var/log/lastlog' file [linux].
- live_response/system/timedatectl.yaml: Added the collection of current settings of the system clock and RTC, including whether network time synchronization is active or not [linux].
- memory_dump/process_memory_sections_strings.yaml: Added the collection of process memory sections and strings from '/proc/[pid]/mem' [linux].
- memory_dump/process_memory_strings.yaml: Added the collection of process memory strings only from '/proc/[pid]/mem' [linux].

### Profiles

- full.yaml: Updated the artifacts collection order. 'bodyfile/bodyfile.yaml' artifact is now collected sooner.
- ir_triage.yaml: Updated the artifacts collection order. 'bodyfile/bodyfile.yaml' artifact is now collected sooner.
- live_response/containers/lxc.yaml: Added the collection of information about all active and inactive Linux containers and virtual machines (LXD), including their configuration, network, and storage information [linux].
- live_response/containers/pct.yaml: Added the collection of information about all active and inactive Linux containers (LXC) running on Proxmox VE [linux].
- live_response/containers/pct.yaml: Added the collection of the current configuration of Linux containers (LXC) running on Proxmox VE [linux].
- live_response/containers/pct.yaml: Added the collection of the list of assigned CPU sets for each Linux container (LXC) running on Proxmox VE [linux].
- live_response/process/deleted.yaml: Added the collection of files being hidden in a memfd socket [linux].
- live_response/storage/arcstat.yaml: Added the collection of ZFS ARC and L2ARC statistics [freebsd, linux, netbsd, openbsd, solaris].
- live_response/storage/findmnt.yaml: Added the collection of all mounted filesystems in the tree-like format [linux].
- live_response/storage/iostat.yaml: Updated the collection of device I/O statistics [aix, freebsd, linux, openbsd, solaris].
- live_response/storage/iscsiadm.yaml: Added the collection of information about iSCSI connected devices [linux].
- live_response/storage/ls_dev_disk.yaml: Added the collection of the mapping of logical volumes with physical disks [linux].
- live_response/storage/pvesm.yaml: Added the collection of status for all Proxmox VE datastores [linux].
- live_response/system/ha-manager.yaml: Added the collection of information about Proxmox VE HA manager status [linux].
- live_response/system/hidden_directories.yaml: Updated max_depth value to 6 [all].
- live_response/system/hidden_files.yaml: Updated max_depth value to 6 [all].
- live_response/system/kernel_tainted_state.yaml: Added the collection of the kernel tainted state [linux].
- live_response/system/kernel_tainted_state.yaml: Added the collection of the list of what modules are marked at tainting the kernel [linux].
- live_response/system/pvecm.yaml: Added the collection of information about Proxmox VE local view of the cluster nodes [linux].
- live_response/system/pvecm.yaml: Added the collection of information about Proxmox VE local view of the cluster status [linux].
- live_response/system/pvesubscription.yaml: Added the collection of Proxmox VM subscription information [linux].
- live_response/system/pveum.yaml: Added the collection of Proxmox VE users and groups list [linux].
- live_response/system/pveversion.yaml: Added the collection of version information for Proxmox VE packages [linux].
- live_response/system/sgid.yaml: Updated max_depth value to 6 [all].
- live_response/system/socket_files.yaml: Updated max_depth value to 6 [all].
- live_response/system/suid.yaml: Updated max_depth value to 6 [all].
- live_response/system/world_writable_directories.yaml: Updated max_depth value to 6 [all].
- live_response/system/world_writable_files.yaml: Updated max_depth value to 6 [all].
- live_response/vms/qm.yaml: Added the collection of information about all active and inactive virtual machines running on Proxmox VE [linux].
- live_response/vms/qm.yaml: Added the collection of the current configuration of virtual machines running on Proxmox VE [linux].

### Artifacts File

- 'loop_command' property was renamed to 'foreach'. Don't forget to update your custom artifacts files as 'loop_command' property name will be removed in the next release.

### Tools

- AVML updated to v0.11.0.
- AVML updated to v0.11.2.
16 changes: 8 additions & 8 deletions artifacts/live_response/containers/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ artifacts:
command: docker version
output_file: docker_version.txt
-
description: Display a live stream of one or more containers resource usage statistics
description: Display a live stream of one or more container's resource usage statistics.
supported_os: [linux]
collector: command
command: docker stats --all --no-stream --no-trunc
Expand All @@ -34,28 +34,28 @@ artifacts:
description: Fetch the logs of all containers.
supported_os: [linux]
collector: command
loop_command: docker container ps --all | sed 1d | awk '{print $1}'
foreach: docker container ps --all | sed 1d | awk '{print $1}'
command: docker container logs %line%
output_file: docker_container_logs_%line%.txt
-
description: Return low-level information on Docker objects.
supported_os: [linux]
collector: command
loop_command: docker container ps --all | sed 1d | awk '{print $1}'
foreach: docker container ps --all | sed 1d | awk '{print $1}'
command: docker inspect %line%
output_file: docker_inspect_%line%.txt
-
description: Display detailed information on one or more networks.
supported_os: [linux]
collector: command
loop_command: docker container ps --all | sed 1d | awk '{print $1}'
foreach: docker container ps --all | sed 1d | awk '{print $1}'
command: docker network inspect %line%
output_file: docker_network_inspect_%line%.txt
-
description: Display the running processes of all containers.
supported_os: [linux]
collector: command
loop_command: docker container ps --all | sed 1d | awk '{print $1}'
foreach: docker container ps --all | sed 1d | awk '{print $1}'
command: docker top %line%
output_file: docker_top_%line%.txt
-
Expand All @@ -68,7 +68,7 @@ artifacts:
description: Displays the raw CNI network configuration for all networks.
supported_os: [linux]
collector: command
loop_command: docker network ls | sed 1d | awk '{print $1}'
foreach: docker network ls | sed 1d | awk '{print $1}'
command: docker network inspect %line%
output_file: docker_network_inspect_%line%.txt
-
Expand All @@ -81,13 +81,13 @@ artifacts:
description: Display detailed information about all volumes.
supported_os: [linux]
collector: command
loop_command: docker volume ls | sed 1d | awk '{print $2}'
foreach: docker volume ls | sed 1d | awk '{print $2}'
command: docker volume inspect %line%
output_file: docker_volume_inspect_%line%.txt
-
description: Display changes in the container filesystem since its creation.
supported_os: [linux]
collector: command
loop_command: docker container ps --all | sed 1d | awk '{print $1}'
foreach: docker container ps --all | sed 1d | awk '{print $1}'
command: docker diff %line%
output_file: docker_diff_%line%.txt
80 changes: 80 additions & 0 deletions artifacts/live_response/containers/lxc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
version: 1.0
artifacts:
-
description: List all containers and virtual machines.
supported_os: [linux]
collector: command
command: lxc list --all-projects --format compact
output_file: lxc_list.txt
-
description: List all images.
supported_os: [linux]
collector: command
command: lxc image list --format compact
output_file: lxc_image_list.txt
-
description: Display system-wide information.
supported_os: [linux]
collector: command
command: lxc info
output_file: lxc_info.txt
-
description: List profiles.
supported_os: [linux]
collector: command
command: lxc profile list --format compact
output_file: lxc_profile_list.txt
-
description: List available storage pools.
supported_os: [linux]
collector: command
command: lxc storage list --format compact
output_file: lxc_storage_list.txt
-
description: List warnings.
supported_os: [linux]
collector: command
command: lxc warning list --format compact
output_file: lxc_warning_list.txt
-
description: Show the version information.
supported_os: [linux]
collector: command
command: lxc version
output_file: lxc_version.txt
-
description: Show detailed information about all containers and virtual machines including the instance's last 100 log lines.
supported_os: [linux]
collector: command
foreach: lxc list --format compact | sed 1d | awk '{print $1}'
command: lxc info %line% --show-log
output_file: lxc_info_%line%_--show-log.txt
-
description: Show detailed configuration about all containers and virtual machines.
supported_os: [linux]
collector: command
foreach: lxc list --format compact | sed 1d | awk '{print $1}'
command: lxc config show %line%
output_file: lxc_config_show_%line%.txt
-
description: Show detailed information on one or more networks.
supported_os: [linux]
collector: command
foreach: lxc list --format compact | sed 1d | awk '{print $1}'
command: lxc network info %line%
output_file: lxc_network_info_%line%.txt
-
description: Show detailed information about all profiles.
supported_os: [linux]
collector: command
foreach: lxc profile list --format compact | sed 1d | awk '{print $1}'
command: lxc profile show %line%
output_file: lxc_profile_show_%line%.txt
-
description: Show detailed information about all storage pools.
supported_os: [linux]
collector: command
foreach: lxc storage list --format compact | sed 1d | awk '{print $1}'
command: lxc storage show %line%
output_file: lxc_storage_show_%line%.txt

29 changes: 29 additions & 0 deletions artifacts/live_response/containers/pct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 1.0
artifacts:
-
description: List all Proxmox VE active and inactive LXC containers.
supported_os: [linux]
collector: command
command: pct list
output_file: pct_list.txt
-
description: Get the current configuration of LXC containers.
supported_os: [linux]
collector: command
foreach: pct list | sed -e '1d' | awk '{print $1}'
command: pct config %line% --current
output_file: pct_config_%line%_--current.txt
-
description: List all snapshots.
supported_os: [linux]
collector: command
foreach: pct list | sed -e '1d' | awk '{print $1}'
command: pct listsnapshot %line%
output_file: pct_listsnapshot_%line%.txt
-
description: Print the list of assigned CPU sets.
supported_os: [linux]
collector: command
command: pct cpusets
output_file: pct_cpusets.txt

14 changes: 7 additions & 7 deletions artifacts/live_response/containers/podman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ artifacts:
description: Fetch the logs of all containers.
supported_os: [linux]
collector: command
loop_command: podman container ps --all | sed 1d | awk '{print $1}'
foreach: podman container ps --all | sed 1d | awk '{print $1}'
command: podman container logs %line%
output_file: podman_container_logs_%line%.txt
-
description: Return low-level information on Docker objects.
supported_os: [linux]
collector: command
loop_command: podman container ps --all | sed 1d | awk '{print $1}'
foreach: podman container ps --all | sed 1d | awk '{print $1}'
command: podman inspect %line%
output_file: podman_inspect_%line%.txt
-
description: Display detailed information on one or more networks.
supported_os: [linux]
collector: command
loop_command: podman container ps --all | sed 1d | awk '{print $1}'
foreach: podman container ps --all | sed 1d | awk '{print $1}'
command: podman network inspect %line%
output_file: podman_network_inspect_%line%.txt
-
description: Display the running processes of all containers.
supported_os: [linux]
collector: command
loop_command: podman container ps --all | sed 1d | awk '{print $1}'
foreach: podman container ps --all | sed 1d | awk '{print $1}'
command: podman top %line%
output_file: podman_top_%line%.txt
-
Expand All @@ -68,7 +68,7 @@ artifacts:
description: Displays the raw CNI network configuration for all networks.
supported_os: [linux]
collector: command
loop_command: podman network ls | sed 1d | awk '{print $1}'
foreach: podman network ls | sed 1d | awk '{print $1}'
command: podman network inspect %line%
output_file: podman_network_inspect_%line%.txt
-
Expand All @@ -81,13 +81,13 @@ artifacts:
description: Display detailed information about all volumes.
supported_os: [linux]
collector: command
loop_command: podman volume ls | sed 1d | awk '{print $2}'
foreach: podman volume ls | sed 1d | awk '{print $2}'
command: podman volume inspect %line%
output_file: podman_volume_inspect_%line%.txt
-
description: Display changes in the container filesystem since its creation.
supported_os: [linux]
collector: command
loop_command: podman container ps --all | sed 1d | awk '{print $1}'
foreach: podman container ps --all | sed 1d | awk '{print $1}'
command: podman diff %line%
output_file: podman_diff_%line%.txt
14 changes: 10 additions & 4 deletions artifacts/live_response/hardware/lspci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@ artifacts:
collector: command
command: lspci
output_file: lspci.txt
-
description: List all PCI devices including the kernel driver.
supported_os: [android]
collector: command
command: lspci -e -k
output_file: lspci_-e_-k.txt
-
description: List all PCI devices.
supported_os: [linux]
collector: command
command: lspci -vv
output_file: lspci_-vv.txt
-
description: List all PCI devices including the kernel driver.
supported_os: [android]
description: List all PCI devices.
supported_os: [linux]
collector: command
command: lspci -e -k
output_file: lspci_-e_-k.txt
command: lspci -nn -k
output_file: lspci_-nn_-k.txt
Loading

0 comments on commit 7dce010

Please sign in to comment.