Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder missing from collection / differences in artifact counts #28

Closed
anthony-pierce opened this issue Nov 29, 2021 · 3 comments
Closed
Assignees
Labels
type: bug Something isn't working type: enhancement New feature or request

Comments

@anthony-pierce
Copy link

anthony-pierce commented Nov 29, 2021

Noticed that the previous version 1.7 would gather the contents of the system's "tmp" directory, but 2.0.0 does not. Could this be added back in?

On another note noticed that by default "/live_response/process/proctree.yaml" is not being ran as part of the "-p full" or "-p full-with-memory" options. Would you be able to add that into both of those?
sudo ./uac -p full .= 181 artifacts
sudo ./uac -p full-with-memory .= 182 artifacts
sudo ./uac -a memory_dump/*,live_response/*,bodyfile/*,files/*,chkrootkit/*,hash_executables/* .= 183 artifacts

@tclahr tclahr self-assigned this Nov 30, 2021
@tclahr tclahr added type: bug Something isn't working type: enhancement New feature or request labels Nov 30, 2021
@tclahr
Copy link
Owner

tclahr commented Dec 1, 2021

Hi anthony-pierce,

I will add an artifact to grab the contents of the system's "/tmp" directory in the next release. In the meantime, you can create your own custom artifact based on the example below. I would create a tmp.yaml file and place it into artifacts/files/system directory.

version: 1.0
artifacts:
  -
    description: Collect system temporary files.
    supported_os: [all]
    collector: file
    path: /tmp/*
    file_type: f
    max_file_size: 5242880 # 5MB
  -
    description: Collect hidden system temporary files.
    supported_os: [all]
    collector: file
    path: /tmp
    name_pattern: [".*"]
    file_type: f
    max_file_size: 5242880 # 5MB
  -
    description: Collect system temporary files.
    supported_os: [macos]
    collector: file
    path: /private/tmp/*
    file_type: f
    max_file_size: 5242880 # 5MB
  -
    description: Collect hidden system temporary files.
    supported_os: [macos]
    collector: file
    path: /private/tmp
    name_pattern: [".*"]
    file_type: f
    max_file_size: 5242880 # 5MB

@tclahr
Copy link
Owner

tclahr commented Dec 18, 2021

'live_response/process/proctree.yaml' artifact file was added on both 'full' and 'full-with-memory-dump' profiles. Please check branch v2.1.0-dev.

@tclahr
Copy link
Owner

tclahr commented Dec 18, 2021

New artifact to collect temporary files located in the '/tmp' directory (files/system/tmp.yaml). Please check branch v2.1.0-dev.

@tclahr tclahr closed this as completed Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants