Is my website hacked? Seven signs you can check in ten minutes

Most hacked websites look fine from the outside, and the owner notices nothing for weeks. This article lists seven signs you can check in ten minutes without a developer, and what not to do if you find something.

In short: If you suspect your website has been hacked, check the Google results (site: search), the security issues section in Search Console, the list of administrators, the plugins, and whether there are PHP files in the uploads folder. If you find something, do not delete it right away. Make a backup first, then change every password, and only then clean up.

Is my website hacked? Opening it in a browser rarely tells you, because most hacked websites look fine from the outside. The attacker wants the owner to notice nothing, so they can keep using the site for spam, redirects or data collection. In the cases I cleaned up, the owner did not know for days, and once for years.

If you suspect your website has been hacked, check these seven things. You do not need a developer, and ten minutes is enough.

1. Is my website hacked? Start with what Google sees

Type this into Google: site:yourdomain.com (with your own domain). Go through the results. Titles in foreign languages, gambling, pharmacy, replica watches or adult content among the results are an almost certain sign.

Be careful here. Some malware shows spam only to the search robot, and the normal site to you and your visitors. In one such case Google got 17 MB of gambling pages while the owner saw a clean site. That is why a Google result tells you more than opening the site yourself.

2. Search Console: security issues

If Google Search Console is connected, open the Security & Manual Actions menu. If Google found malware or hacked content, it reports it here, along with the affected URLs.

3. An unknown administrator

In the WordPress admin, go to Users and filter for the Administrator role. You should know every name. Check the old accounts nobody has used for a long time as well. On one webshop the attacker gave admin rights to two old customer accounts, because nobody was watching them.

4. A plugin you did not install

In the Plugins list, look for:

  • a plugin with a random or odd name
  • a known plugin listed twice, under a slightly different name
  • a code snippets plugin (for example WPCode or Code Snippets) that you did not install
  • a file manager plugin (for example WP File Manager)

The last two are not malware in themselves. Attackers like them because they allow running code from the admin.

5. A PHP file in the uploads folder

The wp-content/uploads folder holds images and documents. A PHP file has no business there. If the file manager of your hosting shows a file ending in .php in this folder, especially one with a random name, it is almost always a backdoor.

6. Odd behaviour on mobile or when arriving from Google

Some malware redirects only certain visitors: only on mobile, only those coming from Google, or only on the first visit. Try your site from your phone, on mobile data, by clicking through from a Google search.

The new pattern this year is the fake "Cloudflare verification", a page asking you to press Windows+R and paste a command. A real check never asks for that. If you see this on your own site, your site is infected, and it puts the computers of your visitors at risk too.

7. Signs on the hosting

  • hosting storage that suddenly filled up
  • an email from your host about malware or outgoing spam
  • your emails suddenly landing in the spam folder of recipients
  • an unknown FTP account or cron job in the hosting control panel

If you found something: what not to do

  • Do not delete anything right away. First back up the files and the database, separately, outside the web root. This backup is what later shows how they got in.
  • Do not clean only the visible part. On one webshop the contractor removed the backdoor and the fake page, but the replaced jQuery file and two new admins stayed.
  • Do not change passwords from the same computer if it is suspicious. In one case the passwords were stolen from the browser of a team member. As long as that computer is infected, the new password leaks too.

Changing passwords goes beyond the WordPress admin. The hosting, FTP, database, email accounts and the keys of connected services (invoicing, newsletter, payments) all belong here.

If you see any of the signs above, or cannot check them, send me your site's address and I will take a look. On the sites I maintain, I check these regularly as part of monthly maintenance.

Sárosi Zoltán

Written by

Sárosi Zoltán

Founder, WordPress developer – Eagle Solutions

I have been building websites and online stores from Harghita County since 2011, for small businesses, associations and agency partners. Everything I write here comes from my own projects.

More about me →

Have a question about your own website?

Tell me in a few sentences what you need. I reply within one business day, and the first consultation is free.

Already have a website? Put its address in the message and I'll send you a free 10-point list of what I would improve.

Not sure yet what you need? Work out your price range in two minutes →

Download the 10-point website checklist (PDF) →

← Back to the blog