Add Linux.Forensics.BodyFile artifact#1133
Add Linux.Forensics.BodyFile artifact#1133chrisdfir wants to merge 4 commits intoVelocidex:masterfrom
Conversation
This artifact collects detailed file metadata from all Linux directories, including file size, modification time, access time, and symbolic link targets, limited to 10 directory levels deep.
|
How is this different from the standard file finder? |
Updated extension to YAML
The output is different. Rather than using file finder we use artifacts like this with offline triage collectors that we can reuse on hosts. MInimal config and this collects all of the paths at the recursion depth set. By default, 10, which is more than any other bodyfile at this collection speed with output that can be parsed into a SIEM. This artifact is necessary unless you want to configure file finder for every use case. |
|
You have to be really careful with these kinds of artifacts on Linux. That's why the Linux file finder does some safety checks like not following symlinks, staying out of /proc etc. Take a look at that artifact for the type of things needed on Linux |
|
We're working to replicate the bodyfile artifact from UAC that uses the stat command. I'll work on an update to add the exclusions. |
|
A better approach is probably to just call the standard artifact with pre-set parameters and rearrange the columns as needed. Then you don't have to worry about the implementation details |
This artifact collects detailed file metadata from all Linux directories, including file size, modification time, access time, and symbolic link targets, limited to 10 directory levels deep.