About Contact Careers Launching Soon System Status Legal

Article · Security

What Does Malware Protection on Web Hosting Actually Do?

Many hosting plans say they include malware protection. The phrase sounds complete, but it covers only part of the problem. This article explains what malware is, what a host's protection does, what it cannot do and what stays your job.

What malware is

NIST, the US standards body, lists a definition in its glossary: a program secretly placed into a system to harm the victim's data, applications or operating system, or to annoy or disrupt them. On a website, that can mean hidden files, spam pages, redirects or code that attacks your visitors.

Google's Security Issues help in Search Console separates three kinds of problem: hacked content added without permission, malware and unwanted software, and social engineering that tricks visitors. Google also warns that a site may carry more than one type of malware.

What hosting malware protection does

On Server Salad plans, the protection is cPGuard. As listed in what is included, it offers real-time malware scanning and automated cleanup for your files, plus a firewall. Plans also include a web application firewall and DDoS protection.

In plain terms, that gives you:

  • Scanning: the system looks through your files for harmful code.
  • Cleanup: some of what it finds can be dealt with automatically.
  • A firewall: it can block some bad requests before they reach your site.

Details differ between hosts, so ask any host what its tool scans, how often and what happens when it finds something.

What it does not do

A scanner works on files. Several common ways in do not involve a bad file at first:

  • A stolen or weak password. Someone who logs in as you is not breaking in. CISA's phishing page describes how a fake email can lead to a lookalike login page that collects credentials.
  • Old software. The WordPress project says the most important thing for security is to keep WordPress, plugins and themes up to date.
  • A site visitor's device. Protection on the server does not clean a visitor's phone or your own computer. WordPress's hardening guide says to keep the computers you use free of malware too.

No tool catches everything, so treat protection as one layer.

What stays your job

  1. Update everything. See how to update plugins and themes safely.
  2. Use strong, unique passwords and two-step sign-in. See two-step sign-in for website owners.
  3. Delete plugins and themes you do not use. The less code on the site, the less to patch.
  4. Keep backups and test a restore. Backups are how you recover when prevention fails. See why website backups matter.
  5. Watch for changes. WordPress's hardening guide describes monitoring for changed and added files, and external services that check a site for defacement or added malware. At the least, watch Search Console for security warnings.

Signs your site may need attention

  • A warning in Search Console under Security Issues, or a browser warning for visitors.
  • Pages, links or redirects you did not create.
  • Your host reports or quarantines files.
  • Sudden changes in email, speed or traffic that you cannot explain.

If you see these, follow what to do first if your website is hacked. Google notes that fixing malware can require reading code and server configuration, and suggests getting outside help if that is beyond your skills. After you fix every listed issue, you can request a review in Search Console, which Google says can take from a few days to a few weeks.

Questions to ask a host

  • What does the scanner check, and how often?
  • What happens when it finds something: does it only alert you, or does it clean up?
  • Who do you contact, and when?
  • Are backups kept separately, and for how long?

For our answers, see the list in what is included or contact our team.

FAQ

Is malware protection the same as antivirus?

They are related ideas, but not identical. Antivirus usually protects a computer. Hosting protection scans the files on your account and sits beside a firewall.

Can I rely on it alone?

No. It helps, but updates, strong logins and backups prevent and repair problems that scanning does not.

Will it stop my site from being hacked?

It lowers the risk and may catch harmful files early, but nothing can promise that a site will never be hacked.

Related reading

Guide Security

What to Do First If Your Website Is Hacked

Strange pages, redirects or a browser warning? These steps cover what to do first: contain the problem, contact your host, clean up and prevent a repeat.