HoganHost blog

[email protected]

Getting Started With the ImunifyAV cPanel Plugin

ImunifyAV FREE is a malware scanner for Linux servers. Similar to the ClamAV cPanel plugin, which has fewer features than its command-line interface (CLI), ImunifyAV allows WebHost Manager (WHM) and cPanel users on best VPS server and dedicated servers to scan files and manage found malware. But the ImunifyAV FREE cPanel plugin includes more features:

  • Automated server scans to decrease the number of redundant tasks you have to do manually
  • Resource consumption options to ensure your web applications and customers’ user experience (UX) aren’t negatively affected during scans
  • History and additional info on past scans to help identify patterns in cyber attacks
  • List of directories in a specified “Ignore list”

Install ImunifyAV FREE

  1. SSH into your server
  2. Download the ImunifyAV installation shell script from Imunify360.com/antivirus:
    wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh
  3. Run the installation shell script:
    bash imav-deploy.sh
  4. Update ImunifyAV:
    yum update imunify-antivirus

Get Started in WHM

  1. Log into WHM as user root
  2. On the left, select ImunifyAV
  3. Under the Actions columnselect the right arrow button to the right of a cPanel user to scan the account
  4. Select YES, SCAN to confirm scanning the user’s files
  5. On the right, select Scan all to scan your entire server
  6. Select YES, SCAN ALL to confirm scanning all cPanel user’s files

Manage Malicious Files

If the Infection status for a cPanel user states # infections, you have a few options. Under the Actions column, select the chart button (View report). Depending on the file and your preferred workflow, do one of the following:

  • Under the Actions column, select the eye button (View file) to see the contents of the file
  • Delete the file using cPanel File Manager or SSH
  • If it’s a legit file, select the crossed-out eye button (Add to the ignore list)
  • Contact Live Support requesting an account scan or further assistance

False positives happen sometimes. Don’t be so eager to delete a file marked as malware. If there are multiple files listed that may be benign and important, create a server snapshot before you make any major changes.

Configure ImunifyAV Settings

  1. On the right, select the gear button (settings)
  2. Configure the Resource consumption settings to fit your server performance needs
  3. Configure monthly Background Scanning settings, or disable it from the Run scanning drop-down menu
  4. Uncheck Enable Sentry error reporting
  5. Save Changes at the bottom

Upgrade to ImunifyAV+ for additional features including easy file removal and more.

Enable ImunifyAV For cPanel Users

The ImunifyAV cPanel user interface is hidden by default. Enabling it allows cPanel users to view their malicious files, scan history, and ignore list.

To enable The ImunifyAV cPanel user interface via SSH:


To disable The ImunifyAV cPanel user interface:

/opt/alt/python35/share/imunify360/scripts/av-userside-plugin.sh -r

Uninstall ImunifyAV

ImunifyAV isn’t for everyone. There are many factors when choosing between ImunifyAV FREE and ClamAV. If for whatever reason you decide not to continue using it, uninstalling it is easy via SSH.

  1. Stop the ImunifyAV application:
    systemctl stop imunify-antivirus


    service imunify-antivirus stop
  2. If you’ve removed the imav-deploy.sh installation script, download it again to uninstall the program:
    wget https://repo.imunify360.cloudlinux.com/defence360/imav-deploy.sh
  3. Uninstall ImunifyAV:
    bash imav-deploy.sh --uninstall

Learn more about how to harden your VPS to get the most out of Managed VPS Hosting.

Leave a Comment

Your email address will not be published. Required fields are marked *