Security and protection1 min readUpdated

My store was hacked: what to do

The first hour after you find malware, a card skimmer or a defaced page: contain, clean, close the hole, check.

Stay calm and work in order. The goal is to stop the damage, remove every piece of the attack and close the way in, so it does not come back.

  1. Contain

    Turn on maintenance mode if customers' payment data may be at risk (card skimmers on the checkout). Change the admin passwords. Open a ticket marked urgent.

  2. Keep evidence

    Do not delete files yet. Download the files and database as they are now: we need them to find how the attacker got in.

  3. Scan

    Run WhizzyScan and the malware scan. They list infected files, injected database content (CMS blocks, configuration) and unknown admin users.

  4. Find the way in

    Usually an old extension, an unpatched store version, a leaked password or an SFTP account that should not exist. Check the access logs around the time of the first infected file.

  5. Clean

    Restore clean files from before the infection (restore files only) or replace the code from your repository. Remove injected content from the database. Delete unknown admin users and SFTP users.

  6. Close the hole

    Update the store and the vulnerable extension, apply security patches, rotate every password and key (admin, database, SFTP, API, payment).

  7. Check again

    Run the scans again, test the checkout, watch the logs for a few days.

If card data may have been stolen, your payment provider must be told. Ask us for help with the timeline from the logs.

We clean hacked stores. Open a ticket; cleaning and patching is done with support hours.

Did this solve it? If not, tell us what you see and we look at your server.

Open a ticket

Still stuck? Ask a person.

Tickets go straight to the engineers who run ShopWhizzy servers. Tell us the store, what you see and when it started, and we take it from there.