Skip to content

Hacked website cleanup

Clean up a hacked site and clear the warning.

Deleting the spam pages you can see rarely fixes a hack. We find the actual entry point, close it, then request the security review Google needs before it removes the warning.

  • Finds the entry point, not just the payload
  • Rotates every credential the attacker could reach
  • No promise on when Google clears the warning

How we clean up a hacked site

Contain it, remove it, then ask Google to recheck.

The evidence we pull first

We check Search Console's Security Issues report for the sample URLs and issue type Google is citing, look at what a search result for your brand name actually shows, and pull your server and access logs for the window before the symptoms started. That timeline usually points at the entry method faster than looking at the spam content itself.

The triage order we follow

Containment comes before cleanup: we get every admin, hosting, database, and API credential changed first, so whoever still has access loses it while we work. Only then do we go looking for the injected files, database rows, or redirect scripts, because removing symptoms before closing access just invites a repeat infection mid cleanup.

What usually fixes it

Locating and deleting the injected pages or code, finding and removing any backdoor file left behind for future access, and patching or upgrading whatever outdated plugin, theme, or software let the attacker in the first place. Skipping that last part is the most common reason a cleaned site gets reinfected within weeks.

What we cannot promise

How fast Google recrawls your site and lifts the hacked site warning is outside anyone's control but Google's. We cannot promise a date, and we will not tell you a number just to sound reassuring. What we can promise is that the request we file matches what your Security Issues report is actually asking for.

What you are seeing decides where we look first

If search results show pages or keywords you never published

then check for injected content sitting directly in your files or database, most often placed there through an outdated plugin or theme with a known vulnerability. This pattern usually leaves dozens or hundreds of new pages behind, not just one, so a full site scan matters more than checking the handful of URLs Google listed.

If visitors report being redirected to an unrelated site but you see nothing wrong when you visit

then look for a conditional redirect that only fires for search traffic or mobile visitors, hidden in a theme file, a plugin, or a third party ad snippet. This kind of malicious redirect is built specifically to hide from the site owner, so checking the page as a normal visitor will not reveal it.

If your Security Issues report is empty but a user or a customer reports a browser warning

then the source may be a compromised third party script you embed, such as an ad network tag or a widget, rather than your own code. Google's report only covers what it can attribute to your domain, so audit every external script your pages load, not only your own codebase.

If the same hack reappears days or weeks after a cleanup

then the earlier cleanup removed the visible payload but missed the backdoor that let the attacker back in. Search specifically for unfamiliar files with recently modified timestamps, unexpected admin accounts, and reused passwords across your CMS, hosting, and database, since any one of those is enough to undo a cleanup.

How the engagement runs

01

Contain access

We change every admin, hosting, and database credential the attacker could have reached, and pull a backup of the infected state for reference.

02

Remove and patch

We locate and delete the injected content and any backdoor left behind, then patch or upgrade the software that let the attacker in.

03

Request the security review

We submit the review through Search Console's Security Issues report and monitor your site for any sign of reinfection afterward.

Hacked website cleanup questions

Get a straight read on your hacked site

Send us access to your hosting or CMS admin and the Security Issues report. We will tell you plainly what we find and what the cleanup involves, in a proposal, free of charge, delivered within one business day.

Keep exploring:

Manual action recoverySite not showing on GoogleLost access to domain or hostingAll recovery engagements