Web

Malware

Malware is software built to harm devices or the people using them. On a business website it injects spam, redirects visitors and triggers Google warnings.

Also called malicious software, website malware, hacked website, virus, trojan, ransomware, malware infection

SiiteWritten by SiiteUpdated November 11, 2026

Malware, short for malicious software, is any program or code designed to harm a computer, a phone, the software it runs or the person using it. Most people picture a virus on a laptop, but for a business the more common encounter is malware on its own website: code slipped in by an attacker that redirects visitors, plants spam pages or offers harmful downloads. The owner often finds out last, through a red warning in the browser or a message from Google. For a resort, a clinic or an online seller in the Philippines, that warning arrives exactly where customers check before they book or pay, which makes a hacked site a sales problem as much as a technical one.

In short

  • Software or code built to cause harm.
  • On websites it redirects, injects spam or plants files.
  • Google and browsers warn visitors away from infected pages.
  • Clean backups and prompt updates are the main defence.

The kinds people mean by the word

Malware is the umbrella term, and the names underneath describe how each kind behaves.

  • Virus. Code that attaches itself to files and spreads when they are opened or shared.
  • Trojan. Harmful software disguised as something useful, such as a free plugin or a fake update.
  • Ransomware. Software that locks or encrypts files and demands payment for their return.
  • Spyware. Programs that quietly collect information, from passwords to browsing habits.
  • Unwanted software. Programs Google describes as deceptive or unexpected, such as ones that change browser settings without asking.

How it shows up on a website

Google groups website infections into a few patterns, and each looks different to a visitor.

  • Code injection. Scripts added to your pages that redirect visitors to another site or use their device for cryptocurrency mining.
  • Content injection. Spam links or text added to real pages, often about pharmaceuticals or other products unrelated to the business.
  • URL injection. Entire new pages created on your domain, full of spam or hidden redirects.
  • Harmful downloads. Files offered from your site that Google judges to be malware or unwanted software.

Our page on phishing covers the related case where a hacked site is used to host fake login pages.

How sites get infected

Most website infections come through doors left open rather than clever attacks. Google names three common routes: a directory on the server left with open permissions, outdated content management software with known weaknesses, and third-party plugins that were themselves compromised.

Weak or reused passwords for the admin area and the hosting account add a fourth. A site built years ago and never updated, with former staff still holding logins, collects all four. Our page on WordPress explains the update routine that closes most of them.

What visitors and Google see

Google runs a system called Safe Browsing that flags pages it judges harmful. When a site is affected, its pages can appear with a warning label in search results, and browsers such as Chrome can show a full warning page marked Dangerous before the site loads.

Two details catch owners out. The warnings depend on browsing context, so you may not reproduce them on your own phone. And attackers often hide their changes from the owner, showing spam or redirects only to visitors arriving from Google, so the homepage looks normal to everybody inside the business.

The report that tells you the truth

The Security Issues report in Google Search Console is where Google states what it found. It names the issue type, the date it was first detected and a sample of affected addresses.

  • Treat it as the source of truth, even when the site looks fine to you.
  • Read the sample as a sample, because other pages may be affected too.
  • Keep it separate from Manual Actions, a different report about attempts to manipulate rankings rather than about harm to visitors.

Google reports the progress of a review by email to the verified owners, which is one more reason to verify the site under an account the business controls.

Cleaning up and asking for a review

A cleanup has two jobs: remove the harmful code everywhere, and close the weakness that let it in.

Google suggests either restoring the affected files from the last good backup or removing the injected content by hand. Restoring is quicker, provided the backup predates the infection. Then update the software, remove unknown admin accounts and change every password.

Only when every page is clean should you request a review in the report, with a short note on what was found and fixed. Fixing some pages does not earn a partial return. Google says reviews take from a few days to a few weeks.

Where it goes wrong

  • Deleting the visible spam while the code that recreates it stays.
  • Restoring a backup taken after the infection began.
  • Requesting a review early, before every affected page is fixed.
  • Skipping updates for plugins that are installed but unused.
  • Having no Search Console access, so nobody sees the report or the review emails.

Words you will hear

  • Hacked site. A website changed by somebody without the owner’s permission.
  • Injection. Code, links or pages inserted into an otherwise normal site.
  • Backdoor. A hidden way back in that an attacker leaves after the first break-in.
  • Cloaking. Showing search engines and chosen visitors something the owner never sees.
  • Interstitial. The full-screen browser warning shown before a flagged page.
  • Reconsideration request. Asking Google to check a cleaned site again.

This week, open Search Console and check the Security Issues report for a green tick. Then confirm when the last backup ran, where it is stored, and who in the business could restore it.

Questions we get

More about malware

What does malware mean?

Malware is short for malicious software: any program or code designed to harm a computer, a phone, the software on it or the person using it. Viruses, trojans, ransomware and spyware are all kinds of malware.

How do I know if my website has malware?

The clearest sign is the Security Issues report in Google Search Console, which lists what Google found and sample affected addresses. Other signs are strange pages in a site search, visitors reporting redirects, or a browser warning on your own address.

Why can I not see the problem when Google says my site is hacked?

Infected sites often show their spam or redirects only to certain visitors, such as people arriving from Google or Google's own crawler. Owners who type the address directly see a normal page, so rely on the Security Issues report instead.

What happens to my Google rankings if my site has malware?

Affected pages can carry a warning label in search results, and browsers can show a full warning page before anybody reaches the site. Google tries to keep hacked content out of results until the problem is fixed and reviewed.

How long does it take for a Google warning to be removed?

After the whole site is cleaned, you request a review in the Security Issues report. Google says a review can take from a few days to a few weeks, and you are told the outcome by email.

Can a backup fix a hacked website?

Often, if the backup predates the infection and sits somewhere the attacker could not reach. Restoring it removes the injected files, but the weakness that let the attacker in must also be closed, or the infection returns.

Is malware on a website the same as phishing?

They overlap but differ. Malware is harmful code or software. Phishing is a trick that persuades a person to hand over details. A hacked site can host phishing pages, and phishing messages often lead to malware.

Do it yourself

Guides on the same topic

Free step by step guides for owners doing the work themselves. No sign up and no email required.

Want this handled for you?

Let us take malware off your desk.

The guides and these pages are yours to use for nothing. When you would rather have the work done properly than done by you, tell us what is already in place and we will put a proposal together.

or call +63 2 5323 8174