Linux
File integrity monitoring on Linux
On Linux, the Logchase FIM agent runs as a systemd service and scans the directories assigned to it in the console. Temporary, swap and cache files are skipped by default, so they do not bury real changes.
Recommended paths to monitor
/etc/ passwd /etc/ shadow /etc/ group - Local accounts and password hashes. An unexpected entry can be a backdoor account.
/etc/ sudoers /etc/ sudoers.d/ - Who may run commands as root, a common privilege escalation target.
/etc/ ssh/ sshd_config /root/ .ssh/ authorized_keys - SSH access rules and keys. Attackers add keys to keep their access.
/etc/ crontab /etc/ cron.d/ /etc/ systemd/ system/ - Scheduled jobs and services, frequent persistence points.
/var/ www/ - Web application files. New or modified scripts can be a webshell.
/bin /sbin /usr/ bin /usr/ sbin - System binaries. A replaced binary points to tampering or a rootkit.
By default, Logchase reports changes under /etc, /bin, /sbin, /usr/bin and /usr/sbin as high severity, and changes to files such as /etc/shadow, /etc/sudoers and sshd_config as critical.