Skip to content

Commit

Permalink
artif: new artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tclahr committed May 22, 2024
1 parent 801a04c commit 907ec52
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
2 changes: 1 addition & 1 deletion artifacts/files/logs/solaris.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.0
version: 2.0
artifacts:
-
description: Collect lastlog log file.
Expand Down
34 changes: 14 additions & 20 deletions artifacts/live_response/process/procfs_information.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ artifacts:
output_file: ls_-l_proc.txt
-
description: Collect running processes executable path.
supported_os: [freebsd, macos, openbsd]
supported_os: [aix]
collector: command
command: ps -eo args | grep ^/ | awk '{print $1}' | sort -u
command: ls -l /proc/[0-9]*/object/a.out
output_file: running_processes_full_paths.txt
-
description: Collect running processes executable path.
Expand All @@ -20,15 +20,15 @@ artifacts:
output_file: running_processes_full_paths.txt
-
description: Collect running processes executable path.
supported_os: [netscaler]
supported_os: [freebsd, macos, openbsd]
collector: command
command: ls -l /proc/[0-9]*/file
command: ps -eo args | grep ^/ | awk '{print $1}' | sort -u
output_file: running_processes_full_paths.txt
-
description: Collect running processes executable path.
supported_os: [aix]
supported_os: [netscaler]
collector: command
command: ls -l /proc/[0-9]*/object/a.out
command: ls -l /proc/[0-9]*/file
output_file: running_processes_full_paths.txt
-
description: Collect running processes executable path.
Expand All @@ -42,12 +42,6 @@ artifacts:
collector: command
command: ls -l /proc/[0-9]*/cwd
output_file: ls_-l_proc_pid_cwd.txt
-
description: Display the list of all modules loaded into the kernel.
supported_os: [linux]
collector: command
command: cat /proc/modules
output_file: cat_proc_modules.txt
-
description: Collect the command name associated with a process.
supported_os: [android, linux]
Expand Down Expand Up @@ -144,14 +138,6 @@ artifacts:
command: strings /proc/%line%/psinfo
output_directory: proc/%line%
output_file: psinfo.txt
-
description: Collect the list of files which the process has open.
supported_os: [solaris]
collector: command
foreach: for pid in /proc/[0-9]*; do echo ${pid} | sed -e 's:/proc/::'; done
command: pfiles -F %line%
output_directory: proc/%line%
output_file: pfiles.txt
-
description: Collect information about all file descriptors opened by a process.
supported_os: [aix]
Expand All @@ -160,6 +146,14 @@ artifacts:
command: procfiles -n -c %line%
output_directory: proc/%line%
output_file: procfiles.txt
-
description: Collect the list of files which the process has open.
supported_os: [solaris]
collector: command
foreach: for pid in /proc/[0-9]*; do echo ${pid} | sed -e 's:/proc/::'; done
command: pfiles -F %line%
output_directory: proc/%line%
output_file: pfiles.txt

# References:
# https://www.defensive-security.com/storage/uploads/Advanced%20Linux%20Detection%20and%20Forensics%20Cheatsheet%20by%20Defensive%20Security.pdf

0 comments on commit 907ec52

Please sign in to comment.