Scanning cP server for Malware & Viruses
Written by: Will Kruss on 28 November 2014 11:51 AM
Learn how to scan and protect your cPanel server for Malware and Viruses. An effective tutorial guide for any learners.
To protect your server from viruses and malware, or if you believe there are scripts on your server already we recommend doing the following
Login to WHM
Go To Home >> cPanel >> Manage Plugins
Click on 'Install and keep updated' next to ClamAV
WHM will then download the necessary packages for clamavconnector and will install it automatically, this may take a few minutes.
Once the installation has been completed, you will have a virus scan link in your cPanel interface.
Maldet is a malware scanner, it is a good idea to regularly scan your server for Malware. You should ensure ClamAV is installed before installing Maldet.
First login to your server via SSH as root
Enter the following commands:
In the conf.maldet file you are now editing set the alert email address to your email, you may also wish to quarantine problem files.
To run the maldet scan type: