Skip to content

Clean a hacked site

Clean a site in one click, hand the hard cases to Claude, and undo any clean-up for 30 days.

5 min read Updated

When Rabbit Shield finds malware on a site, you can clean it from the site's Malware tab: Clean site does it in one click, and Clean with AI hands what's left to Claude. Nothing is deleted: threats go to a quarantine, and every clean-up can be undone for 30 days.

A restore point saved before anything changes
Clean site quarantine, official copies, database, passwords and keys
Clean with AI Claude, for what's left
Most sites are clean after Clean site. Clean with AI is for what it can't safely touch.

Clean site

  1. Open the site's Malware tab

    When threats are found, the tab says how many, with Clean site and Clean with AI beside them.

  2. Choose Clean site, and check the options

    The dialog lists what will be dealt with. Reset administrator passwords is ticked to start with: whoever got in may know them. Administrator accounts that appeared since an earlier scan are listed too: tick the ones to remove.

  3. Choose Clean site again

    The clean-up takes a few minutes, and the tab shows each step as it happens. You can leave the page.

The Clean site dialog.

What it does, in order

  1. Saves a restore point of the site, so everything can be put back.
  2. Moves the threats to quarantine, a folder outside the site that only the server can read. A file that matches WordPress.org's official copy is never moved.
  3. Puts back the official copies of changed WordPress files and WordPress.org plugins, at the same version.
  4. Takes injected scripts out of the database, and puts the site's address back if it was changed.
  5. Takes bad lines out of the scheduled tasks, and removes the administrator accounts you ticked.
  6. Changes the security keys and signs everyone out, customers included, and empties the site's cache.
  7. Gives administrators new passwords, if you left that ticked. Application passwords are removed too.
  8. Checks the site: the home page and the login page must answer normally, with no new PHP errors. If they don't, the clean-up is undone by itself.
The Malware tab while the site is being cleaned: step 3 of 9, two steps done, the database step under way, and the rest to do.
Each step as it happens.

The report and the new passwords

When it's done, the tab says Site cleaned and lists what each step did. New administrator passwords are shown there once: copy them somewhere safe and choose I've saved them. They're never emailed. The main administrator's new password is also on the site's Access tab, as before.

The report, with Undo.

Undo a clean-up

Choose Undo clean-up on the report, for 30 days. Every file comes back from quarantine, and every change to the files, database, scheduled tasks, accounts, passwords and keys is put back as it was. Earlier clean-ups that can still be undone are listed under the latest one. Files left in quarantine are removed after 30 days.

Clean with AI

Some malware hides inside files the site needs: a theme, a paid plugin, wp-config.php. Clean site leaves those alone, because replacing them could break the site. Clean with AI hands them to Claude, Anthropic's AI, which works on that one site as the site's own user: it reads the files, takes out what was added, and checks that the site still works.

  1. Choose Clean with AI

    The dialog lists what Claude will look at, and whether this one is included or uses your AI credits.

  2. Agree, and start

    Tick I agree that Claude may read and change this site's files and database, then start. A restore point is saved first.

  3. Read what Claude did

    When it's done, the tab says Claude cleaned the site with Claude's summary, and See what Claude did opens the whole session in the AI agent.

Included
1 AI clean-up per site each month, up to 3 per account. More use your AI credits, as any AI agent task does.
Staging copies
AI clean-ups of a staging copy use your AI credits.
Free trial
Scans and Clean site work during the free trial. AI clean-ups start once you keep the server.

Clean automatically

In the site's Settings tab, Clean up automatically runs the one-click clean-up as soon as a scan finds malware, without changing passwords or removing accounts. You get an email saying what it did, and Undo works as usual. AI clean-ups still wait for you.

Afterwards

  • Open the Warnings tab and update anything with a known security hole: it's how most sites are broken into.
  • If Google flagged the site as dangerous, ask Google to review it in Google Search Console.
  • Change any other passwords that might have been seen, like those of other WordPress users.

Still have a question?

Our team answers support tickets, in the panel and by email.

Contact support

Popular

Docs