How to scan your site for any malware or viruses using cpGuard / myGuard in cPanel

269ac00f765508cb74b25d006dbf5bb2

Written by Dennis Nind

Last published at: February 8th, 2019

Here at Brixly, security is a high priority - that is why we automatically 'live scan' all changes on our servers to detect, and remove malware. However, occasionally malware can be injected by other methods and may be responsible for defacing your site, sending mass mail or causing damage to your site content. You are able to perform a full scan of your account to detect, and remove malware. To do this, you can...

  1. Login to cPanel for the account you wish to check
  2. Go to 'Security -> cpGuard'
  3. In the dropdown provided, select whether you want to scan just the public_html directory, or your entire account (which includes mail etc) - (recommended - scan just your public_html directory. If nothing is found yet you still suspect there is malware, then scan the entire account).
  4. Click 'Scan Now'
  5. This will start the scanning process, and will display the output below with 'Scan in Progress'


Once the scan completes, you will be able to revisit the plugin and check the results. 


Note

files thought to be 'suspicious' will automatically be 'nulled' (the permissions changed to 000) and files containing viruses or malware will be put in quarantine (removed from the account and moved to a safe location outside of the account).