cPanel Virus Scan

How to Use the Virus Scanner in cPanel

This article describes how to use the virus scanner in cPanel to scan your account files for viruses, trojan horses, and other types of malware. You can scan e-mail files, files in public web and FTP directories, or your entire account.

By default, the cPanel virus scanner is not installed on Cloud and Dedicated servers. If you have one of these account types and would like this feature installed, please open a support ticket and we will install it for you.
 

What the Virus Scanner Looks for

The virus scanner in cPanel searches for viruses, trojan horses, malware, and other threats. It does this by using databases from several sources:

  • ClamAV: Clam AntiVirus is an open-source program that can detect a wide variety of threats. For more information about ClamAV, please visit http://www.clamav.net
  • R-fx Networks: This virus definitions database is designed for shared hosting environments. For more information about the R-fx Networks Linux Malware Detect project, please visit http://www.rfxn.com/projects/linux-malware-detect

 

Running a Virus Scan

To run a virus scan, follow these steps:

  1. In the Advanced section of the cPanel home screen, click Virus Scanner

 

Showing the Virus scanner location in cPanel

 

  1. Under Start a New Scan, select which directory you want to scan:
    1. Scan Mail: This option scans the mail directory in your account, looking for viruses in incoming and outgoing e-mail messages
      1. You should run this scan if one of your recipients reports receiving a virus from you
    2. Scan Entire Home Directory: This option scans all of the files in your account
    3. Scan Public Web Space: This option scans the public_html directory in your account, looking for infected web site files
      1. You should run this scan frequently to check if any of your web site files are infected with known viruses
    4. Scan Public FTP Space: This option scans the public_ftp directory in your account, looking for infected files
      1. You only need to run this scan if you share files using FTP.
  2. Click Scan Now
    1. If there are a lot of files in the directory, the scan may take some time to complete

 

Showing the Start a New Scan form in cPanel Virus Scanner

 

  1. If the virus scan finds any infected files, you can specify what to do with the files:
    1. Quarantine: When this option is selected, the virus scanner moves the file to the quarantine directory. The quarantine directory is located at/home/username/quarantine_clamavconnector, where username represents your account username
    2. Destroy: When this option is selected, the virus scanner deletes the infected file
    3. Ignore: When this option is selected, the virus scanner leaves the infected file unchanged
  2. To complete the virus scan process, click Process Cleanup

Share:

Leave a Reply