Simple helper script to install, update and run Rootkit Hunter on: Ubuntu 24.04 LTS / Linux Mint 22.x
The script:
- Updates APT package lists
- Installs
rkhunterif missing - Checks the rkhunter config
- Updates rkhunter data files
- Updates the file property database
- Runs a non-interactive scan showing warnings only
Full scan logs are saved to:
/var/log/rkhunter.log
To run the program:
git clone https://github.com/AmirIqbal1/rkhunter-script.git
cd rkhunter-script
chmod +x rkhunter-check.sh
sudo ./rkhunter-check.sh