Cyber Security

Website Malware: 10 Signs Your Site Is Infected and How to Check It

Many infected websites look normal to the owner. Here are ten signs of website malware and free ways to check your site today.

In this article · 5 sections
  1. 10 warning signs
  2. Free ways to check
  3. If you find malware
  4. Prevention
  5. FAQs
  6. Can malware hurt my Google rankings?
  7. Is a small business site really a target?

Hacked websites often look perfectly normal when the owner visits. Attackers hide website malware so it only shows to Google, mobile visitors or people arriving from search, which means problems can run for weeks. Here's what to watch for.

10 warning signs

  1. Strange pages in Google: search site:yourdomain.com and look for Japanese, casino, pharmacy or "replica" pages
  2. Mobile redirects: visitors from Google on phones get redirected to spam or "you won a prize" pages
  3. Browser warnings: "Deceptive site ahead" or "This site may harm your computer"
  4. Search Console alerts for security issues or a sudden spike in indexed pages
  5. Unknown admin users in WordPress or your custom admin panel
  6. New or modified files: odd PHP files in uploads/image folders, files named like wp-cache.php, class.php, random strings
  7. Hosting account suspended or warnings about spam emails sent from your server
  8. Slow site and high CPU usage
  9. Unexpected changes to .htaccess with redirect rules
  10. Popups or ads you never added

Free ways to check

  • Google Search Console → Security issues and Pages report
  • Google Safe Browsing site status tool
  • External scanners such as Sucuri SiteCheck (they only see the public side)
  • Host malware scanners (many hosts, including Hostinger, offer them)
  • Compare your files with your last clean backup

If you find malware

  1. Change hosting, FTP, database and admin passwords
  2. Take a backup of the infected state (for analysis), then clean or restore from a known clean backup
  3. Update CMS, themes, plugins, PHP version
  4. Remove unknown admin users and files
  5. Request a review in Search Console after cleaning

Full steps: website hacked recovery. For legal and reporting duties, see hacked website legal responsibility.

Prevention

  • Keep software updated and remove unused plugins
  • Strong passwords + 2FA for admin and hosting
  • A web application firewall. See WAF explained
  • Regular off-server backups
  • Secure coding for custom PHP sites. See PHP security: SQL injection and XSS

FAQs

Can malware hurt my Google rankings?

Yes. Spam pages, redirects and warnings can cause heavy ranking and traffic losses until cleaned.

Is a small business site really a target?

Yes. Most attacks are automated bots scanning every site for known weaknesses.

Was this article helpful?

Your answer helps us improve our guides

Share this article

Joboo Web

Web design, SEO & digital marketing team · Ludhiana, Punjab

Joboo Web has helped Indian businesses grow online since 2019 — building fast websites and running SEO, Google Ads and social campaigns for clients in 80+ cities. About us →

Keep reading

💬
👋 Need a website or more leads? Ask me!