Skip to content
Websites · Hacked or not secure

Website hacked: what to do in the first hour

Your business website has been hacked. What to do in the first hour, who to tell in NZ, and how to clean it up so it stays clean.

By Miro, Wave Digital. Updated .

Don't start deleting things. Tell your host, change every password, then find out how they got in before you clean up, or it will happen again.

Signs your site has been hacked

If customers see spam but the site looks fine to you, see website redirects to spam.

The first hour, in order

  1. Tell your host and ask for backups from before the hack.
  2. Change every password from a computer you trust: hosting first, then WordPress admins, FTP and the database, then the email tied to the site.
  3. Turn on two-factor login for hosting, the domain registrar and email.
  4. Check for unknown admin users in WordPress under Users. Note any you don't recognise, then remove them.
  5. Take a copy of the files and database as they are now, as evidence.
WordPress Users screen listing a normal administrator and a second administrator called wp_support_2 with an unfamiliar email address, outlined in red
Example: an administrator account nobody on your team created

Customer information and who to tell

If the site holds customer details, assume they may have been seen. Under the Privacy Act 2020, a breach that has caused or is likely to cause serious harm must be reported to the Privacy Commissioner, and the people affected must be told. The Commissioner asks for this within 72 hours. See the Privacy Commissioner's guidance.

You can also report it to the NCSC at ncsc.govt.nz/report or 0800 114 115. If your email was broken into, warn customers about fake invoice scams.

Cleaning it up

Option The catch
Restore a backup from before the hack, then update everything Hackers often get in weeks before it shows, so the backup may be infected
Pay someone to clean it You give them access to the hosting

Either way, close the way in: usually an old plugin, a weak password or a leaked login. A restore leaves it open.

If Google flagged the site, open Search Console, go to Security issues and click Request review once the whole site is clean. Reviews can take weeks. Then keep it updated and backed up with regular website maintenance.

When to get help

Malware hides in the database, in harmlessly named files and in scheduled tasks that reinstall it. Miss one piece and you start again. If customer data is involved, you also need to know what was taken.

If you're not sure whether your site is affected, start with our free website check.

Is your site slow on phones, out of date or marked "Not secure"?

Put in your web address and find out free in about 30 seconds.

Rather not deal with this yourself?

We find out how they got in, clean the site and close the hole. With Website Cover, we then keep it patched, backed up and watched.

Website Cover is $95 a month + GST. We move your website over, fix this and everything else on our list, and keep it fixed. No contract.