Skip to content

Malware and blacklists

Malware signs in the homepage

This check looks in your homepage's HTML for the common signs of a hacked site: crypto miners, hidden iframes, search-engine redirects, obfuscated scripts, hidden spam links and defacement.

Scanetra rating: Medium to highCheck MAL-01

Why it matters

Injected code harms your visitors and your reputation, and it's built to stay hidden from the site owner. Search engines and browsers may flag or remove a hacked site. Some legitimate scripts are minified or use hidden frames, so each sign needs checking.

What Scanetra looks for

  • Known in-browser cryptocurrency miners.
  • Hidden iframes from other sites.
  • Scripts that redirect only visitors from search engines.
  • Obfuscated inline scripts.
  • Links hidden with CSS that contain spam keywords.
  • A title or heading such as "hacked by".

It reads only your homepage's public response. How a scan works

How to fix it

Confirm it

Find the code by the line number in the report. If you or a plugin didn't add it, treat the site as compromised.

Clean up

Remove the code from the theme, plugins, database or tag manager, or restore a clean backup. Update the CMS, plugins and themes.

Lock it down

Change all admin, hosting, FTP and database passwords, and look at server logs and recently changed files to find how it got in.

Replace example.com with your own domain, and test changes on a staging copy first where you can.

Check that it worked

The code is gone from the page source. Then scan again.

Check your own site

A free scan tells you whether your site passes this check, and the 24 others.

Scan a website