Data breach scenario
Your website was hacked: working out whether customer data was exposed
A defaced homepage or a strange redirect is alarming, but it does not tell you whether personal information was taken. Some attacks only change what visitors see. Others read the database behind the site, or plant code that captures what customers type. The first job is to find out which kind you have.
By Kyle Deligny, Titanos, Brisbane. Last reviewed 1 December 2026. General information, not legal advice.
The Privacy Act question comes after that: was personal information accessed or disclosed without authority, and is serious harm likely? This is general information, not legal advice.
Contain the site first
Put the site into maintenance mode, or take it offline, so visitors are not sent to a harmful page and the attacker cannot keep collecting data. Take a full copy of the files and the database as they are now before you clean anything, because your host and investigator will need it.
Change the passwords for hosting, the content management system, the database, FTP and any admin accounts, and revoke API keys the site uses. Do this from a clean device.
Identify the type of attack
A defacement changes content and may involve no data access at all. Injected code can redirect visitors to scams or load a script that records form entries, which is the pattern covered in our page on form and checkout skimming. A web shell gives the attacker a way back in and often a view of the database.
Look at modified file dates, unfamiliar admin users, new files in upload folders and unexpected outbound connections. Your host's access logs show requests that match the attack, such as a probe of an out-of-date plugin.
Check what data sits behind the site
List what the site stores or handles: customer accounts, order history, contact form messages, uploaded documents, booking details and payment tokens. Card numbers should sit with a payment provider rather than your own server, so check whether that was the case.
If the attacker had database access, assume the stored personal information was accessible. If they only altered pages, record the evidence that the database was not reached, such as logs showing no database queries from the compromised account.
| Finding | Privacy question |
|---|---|
| Content changed only, no database access shown in logs | Likely no personal information accessed; record the evidence |
| Injected script on forms or checkout | Assess everything entered during the infection period |
| Web shell or database access | Assess all personal information stored by the site |
| Admin account taken over | Assess everything that account could view or export |
Decide on notification
If personal information was accessed and serious harm is likely, notify the affected people and the Office of the Australian Information Commissioner (OAIC) as soon as practicable. If you are unsure, begin the assessment straight away: you have 30 days to finish it, but delay makes harm more likely. The scheme binds APP entities, which generally means businesses with annual turnover above AU$3 million, health service providers and a few other groups, so check whether it covers you. If it does not, telling affected customers is still a sensible step.
Read our notifiable data breach explainer for the test, and record your decision in the breach register whichever way it falls.
Rebuild properly
Restore from a backup taken before the compromise, not from the infected files, then update the core software, themes and plugins. Remove anything you no longer use, turn on multi-factor authentication for admin logins and keep a tested backup stored away from the site.
Hacked website checklist
- Put the site in maintenance mode or take it offline.
- Copy all files and the database before cleaning anything.
- Change hosting, CMS, database, FTP and admin passwords from a clean device.
- Revoke API keys and tokens used by the site.
- Identify the type of attack using file dates, new users and logs.
- List the personal information the site stores or collects.
- Establish whether the database or forms were reached, and the infection period.
- Apply the serious harm test and write down the reasons.
- Notify affected people and the OAIC if the breach is notifiable.
- Restore from a clean backup, update software and add MFA.
Questions people ask
Is a defaced website a data breach?
Not necessarily. A defacement that changed only page content, with no access to personal information, is a security incident rather than a notifiable data breach. You need logs or other evidence to support that conclusion.
Should I tell my customers anyway?
If their data may have been reached, a short honest message that explains what you know and what to watch for is often the right step, even when the notification threshold is not met.
Who should I report the hack to?
Report it through ReportCyber, run by the Australian Signals Directorate. If the breach is notifiable you must also notify the OAIC and the affected individuals.
My host says they cleaned it. Am I done?
Not yet. A clean-up does not tell you what was accessed. Ask for the logs, confirm how the attacker got in and complete your own assessment of personal information.
Where to from here
The free privacy policy audit reads your published privacy policy against the Australian Privacy Principles and tells you what is missing. Privacy Care keeps your policy and your shopper data practices current for AU$149 a month, with a 3-month minimum. Would it be okay if we showed you what the audit finds? A no is welcome.
Sources
- ACSC, report and recover: ReportCyber
- ACSC, securing your website
- OAIC, notifiable data breaches scheme
- Privacy Act 1988, Part IIIC
General information, not legal advice. Laws and guidance change: check the linked primary sources and ask a qualified adviser about your own situation. Written by Kyle Deligny with AI assistance, last reviewed 1 December 2026. How we write and check: editorial policy.
