Get attributes of files and directories.
GetFileInfo GetFileInfo Sandbox: execFile · Timeout: 30s
discovery.enumerate Iterate through a directory to GetFileInfo: A bash or zsh oneliner can provide an attacker with information about specific files of interest.
for FILE in ~/Downloads/*; do echo $(GetFileInfo $FILE) >> fileinfo.txt; sleep 2; done | Type | Rule / Indicator |
|---|---|
| other | No detections at time of publishing |
Uses the CommandLine/Terminal to return type, creator, attributes, created, and modified file information of a file or directory.