MALDET INSTALLATION
Install Required Dependencies:
Download and Install Maldet:
sudo apt update
sudo apt install -y inotify-tools
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -zxvf maldetect-current.tar.gz
cd maldetect-*
sudo bash install.sh
Update Maldet Definitions:
sudo maldet -d
Configure Maldet:
sudo nano /usr/local/maldetect/conf.maldet
Run a Scan:
sudo maldet -a /var/www
Maldet logs:
cat /usr/local/maldetect/event_log