How do I know if my website has been hacked?
Check four places: Google Search Console's Security issues report, a Google search for your own site that shows what is listed under it, your list of admin users, and whether your site sends visitors somewhere strange on a phone. Any one of them can show a hack.
A clean result does not prove you are safe, only that these checks found nothing. If you think you are hacked right now, fix that first. A penetration test looks for weaknesses before an attacker uses them; it is not clean-up.
Written by WebSystems, which sells security testing, so we have a stake in this. Nothing here is legal advice, and no search volume is claimed: the question is one people type, not a count of how many.
Signs to look for
- Google or your browser shows a warning when people visit, or your site disappears from search.
- Your site sends visitors somewhere else, often only on phones or only when they arrive from Google.
- Pages you did not write show up in search results, usually selling pills, casinos or counterfeit goods.
- An admin or user account you do not recognize.
- Files changed or added that you did not change, or your host suspended the site.
- Customers get spam or phishing emails that appear to come from you.
Free checks you can run today
- Open Google Search Console for your site and look at the Security issues report. If you have never set up Search Console, setting it up is free and shows this.
- Search Google for site:yourdomain.com and read the page titles. Titles you do not recognize are a sign.
- Open your site on a phone, from a Google search result, in a private window. Some hacks only show to search visitors.
- List every admin user in your site's control panel. Remove any you cannot account for.
- Ask your host whether they have seen anything. Many keep logs you can ask about.
If you find something
- Do not delete everything. Keep a copy of the affected files and logs first, so what happened can be worked out.
- Change passwords for your site, host, domain account and email, from a device you trust.
- Restore from a backup made before the problem, then update everything that runs your site, or the same hole is used again.
- Tell your host. If customer personal information may have been taken, Canadian privacy law may require you to report it, so get advice early.
Where a penetration test fits
A penetration test is written permission for someone to look for weaknesses in your systems and report them with proof and fixes. It answers "where could someone get in?". It does not clean up a site that is already hacked, and we do not offer incident response or clean-up. If you want that report once things are fixed, ask for a scoped quote.
Questions
- Is there a free tool that tells me if my website was hacked?
- Google Search Console's Security issues report is free and shows what Google has detected. It only covers what Google can see, so a clean report is a good sign, not proof.
- Can a hacked website look completely normal?
- Yes. Some hacks only show to visitors who arrive from search, or only on phones, or hide in pages you never open. That is why checking from a search result on a phone matters.
- Should I pay for a penetration test if I think I was hacked?
- Fix and clean up first. A test finds weaknesses; it does not remove an attacker who is already in. After clean-up, a test shows whether the way in is closed.
- Do you clean up hacked websites?
- No. Our offer is testing with written authorization and a report. For a live compromise, call your host and someone who does incident response.