Malware-Filecount-Log is a script that logs file counts and directory sizes, with optional Slack notifications.
This script will store the file count and directory size into a log file. This can also be sent to slack.
This tool is designed for incident response teams who need to monitor file counts and directory sizes regularly. It can be particularly useful in environments where file changes are critical to security assessments.
Ensure that the script has the necessary permissions to access the directories being monitored.
Clone the repository using git clone
Set up a cron job to run the script at desired intervals0 */3 * * * bash /home/root/scripts/filecount-run.sh
Sets up a cron job to run the script every 3 hours.