CentOS Web Panel Antivirus Scan

Sometimes you need to run a virus scan on your server to make sure your files are not infected with files that can compromise you site. CentOS Web Panel comes with an Antivirus Scanner that you can run to check your files on your account.

Running the Scan

  1. Login to your CentOS Web Panel Client, not the admin (CWP-client)
  2. Select the antivirus scan from either the File Management
  3. or the quick access scan on the right side of the panel
  4. Select what scan you want
    • Scan with full info
    • Scan and log only found
    • Get the last scan results.
  5. Click the start Antivirus Scan button
  6. After the scan runs you can see the results with the get the last scan results option.

 

Run Scan Using Command Line

Using maldet (Malware scanner)

Update Maldet

maldet -u

Scan public_html folder of infected user account

maldet -a /home/USERNAME/public_html

Replace USERNAME with the user account’s username

Using ClamAV (Clam Antivirus)

clamscan -r /home/USERNAME/public_html | grep FOUND

Replace USERNAME with the user account’s username

If you have noticed that an account is sending SPAM and started spamming today then you can search files modified in eg. last two days

find /home/USERNAME/public_html -ctime -2 -name "*.php"

Replace USERNAME with the user account’s username

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Add Domains With CentOS Web Panel

When working with CentOS 7 Web Panel (CWP7), you may need to add a domain to an existing user....

Admin Email Creation within CentOS Web Panel

When using CentOS Web Panel, you will need to be able to manage emails when administering the...

Admin Email Management Within CentOS Web Panel

When using CentOS Web Panel as your server management portal, you will need to manage email...

CentOS 7 Web Panel Overview

A solid control panel is strongly desired for many Ch-center clients. In many cases, it may come...

CentOS Web Panel Custom DNS

CentOS Web Panel (CWP) offers a couple of different methods of managing DNS within its settings....