If you are using cPanel for a website as WHM then many of the cPanel comes with ClamAV virus scanner feature, which helps you to safeguard against potential threats on your server. Not only that you can also run an on-demand scan of your website files to see whether if there are any files infected with a virus or not. And ClamAV is an open source antivirus and it is also very powerful because in ClamAV it uses its extensive database to detect several types of potential threats like viruses, Trojan horses, malware, malicious scripts etc. and helps your website to free from virus.
The below mentioned steps are used to run the virus scanner in cPanel.
1. Login to cPanel. (You can use the username and password sent you along with signup or If you are customer of some reseller, then you need to contact you hosting provider for username password). The loging URL for the control panel will be domainname.com:2082, In case, If you forget your UN/PWD, you can request for the same)
2. In “Advanced” section, click on the “Virus Scanner”. The Virus scanner is a in-built application comes with control panel. It can scan for most of the common types of malware/phishing and hacked files. The time taken to scan the entire public_html might take more time, based on the numer of files. While scanning, If the software finds any suspiciuos file, then it will move to a specific folder (quarantine folder). Those moved files, will be displayed at the end of the scanning, It is up to the user to fix the problem. Once the file is moved, your website may not be working properly. So, It is strongly recommened to take the backup of your working website, before running the virus scanner.
3. Select the service to scan.
- Scan Mail — Scans all of your account's mail folders.
- Scan Entire Home Directory — Scans your account's home directory.
- Scan Public FTP Space — Scans all of the folders that you can publicly access through FTP services.
- Scan Public Web Space — Scans all of the folders that you can publicly access through the web.
4. Click on “Scan Now” button. A scan may require several minutes to complete. After the scan completes, the system returns you to the Virus Scanner interface.
Using this virus scanner or ClamAV virus is very useful for every user. And ClamAV Virus Scanner software successfully scans the services of a cPanel account and detects harmful software and malware. Not only that using ClamAV virus for your website will also help to detect a possible security threat that prompts the user to take necessary action.
The Virus Scanner scans your Control Panel account's services for malicious software. If the Virus Scanner identifies a potential threat, the system prompts you to perform the appropriate action. During the scan a new interface will appear which will display the following:- Files -The number of files that the scan processed out of the total number of files that exist in the specified directory. Data - The amount of data processed out of the total amount of data that exists in the specified directory. Scanner Progress- Displays the scan's progress. Affected Files - The files that the scan reported to contain malicious software.