PrestaShop malware removal: hacked store, card skimmer in the checkout - init.d - Linux systems, DevOps and PrestaShop development

PrestaShop malware removal: hacked store, card skimmer in the checkout

Infected PrestaShop store? We clean it up, find how they got in and close the door.

PrestaShop malware removal starts from €149 for one store, with the price set in the quote before we start: if your PrestaShop has been hacked, sends customers to spam sites, is flagged by Google or, worse, has a skimmer in the checkout copying card details, we clean files and database, look for the entry point and, when an update or a configuration change is enough, close the hole too. It's done by sysadmins who write PrestaShop modules and run the servers behind the stores, during office hours, Monday to Friday 09:00-18:00; a new cleanup within 30 days through the same hole is free.

How can I tell if my PrestaShop has been hacked?

An infected store rarely stops: it usually keeps selling, and that is exactly what makes the infection hard to notice. The signs worth taking seriously:

  • customers reporting suspicious charges after a purchase, or an extra card field on the payment page: the typical sign of a skimmer, a small script copying card details while the customer types them;
  • redirects to spam sites, especially from mobile or from a Google search, while opening the site directly looks normal;
  • the browser's red warning or a Google Search Console security message;
  • back office admins nobody created, or password reset emails nobody requested;
  • new PHP files in module, theme or image folders, with recent modification dates.

How a skimmer works and why it slips past checks is explained in our article on the hacked PrestaShop with a skimmer in the checkout. If you see any of these signs, don't reinstall modules or restore a backup at random: you could erase the traces needed to find out how they got in.

Why a store is a different target

An infected brochure site loses reputation; an infected store can lose its customers' payment details. Attacks on PrestaShop stores often aim exactly there: a small script injected into the checkout, the database or a payment module, sending elsewhere whatever the customer types. It doesn't slow the store down and throws no errors: for weeks nobody notices.

The most common ways in are modules with known vulnerabilities never updated, old PrestaShop versions, weak or reused back office passwords and admin folders left with the default name.

What we do

  • Backup of the current state, before touching anything: it also helps reconstruct what happened.
  • Finding the entry point: access logs, modified files, vulnerable modules, recently created accounts.
  • Cleaning files and database: malicious code in modules, theme and upload folders; scripts injected into configuration tables and content, where skimmers often hide.
  • Admins and access: removal of fake accounts, new passwords for back office, database and hosting.
  • Closing the hole when updating or disabling a module, fixing a configuration or protecting the admin area is enough, within one hour of work.
  • Google review and report: what we found, since when it was active, what we removed and what's left to do.

Price and terms

The starting figure covers, for one store and during office hours (Monday-Friday, 09:00-18:00), cleaning files and database, finding the entry point, closing the hole when one hour of work is enough, the Google review and the report. We agree the price in the quote, free of charge, before we start: you approve it and only then do we touch the store. The same applies to Joomla, Drupal and Magento sites; for WordPress there's WordPress malware removal.

If within 30 days the store is reinfected through the same hole we closed, we clean it again at no cost. Closing a hole that takes more than an hour - an abandoned module to replace, custom code to fix - is not included: we stop and update the quote before going ahead, hourly, with hour packages or with the module adaptation, which is quoted separately. The other fixes are on the PrestaShop page.

A typical case

A sporting goods store receives three reports of odd charges in the same week. The store works normally, but in the configuration table we find a script that loads only on the payment page and sends the card form data to an external domain. The entry point is a product import module with a vulnerability known for two years and never updated. We remove the script, update the module, change every password and move the admin area to a non-default address. The report includes the date of the first change, useful to the client when talking to the payment provider.

Isn't restoring a backup enough?

It's often the first idea, and often the wrong one. If the hole was already open when the backup was taken, you restore a clean store with the door wide open: within days the infection is back. A restore also erases the traces (logs, modified files, dates) needed to understand how they got in and since when. That's why we start with a backup of the current state, to keep as evidence, and clean the store as it is: the old backup is only used to compare files.

Who it's for

  • PrestaShop stores with reports of suspicious charges, redirects or a Google warning.
  • Shops that already tried to clean up on their own or with a security module and got reinfected.
  • Agencies and web studios looking after a client's store that need the technical cleanup done, with a report to hand over.
  • Stores on old PrestaShop versions or with modules never updated, where the hole almost always is.

How we work

We need access to hosting, back office and, if there is one, Google Search Console. We take the backup of the current state right away, then work on two fronts in parallel: cleaning files and database, and finding the entry point in the logs. If a skimmer is active in the meantime, it's the first thing we remove, so the checkout stops leaking data. At the end you receive a report with what we found, since when it was active, what we removed and what's left to do: it also helps when talking to your payment provider and, if needed, for the data protection notification.

After the cleanup

A store stuck on old versions stays exposed: the upgrade to PrestaShop 9 and the monthly maintenance in PrestaShop support keep core and modules up to date. If you'd like to know the store's condition before something happens, there's the store check-up; for a wider check of server and application there's the security page.

Frequently asked questions

How can I tell if my PrestaShop store has been hacked?

The most common signs: customers reporting suspicious charges after a purchase, an extra card field or a payment page that looks different, redirects to spam sites, the browser's red warning, a Google Search Console security message, back office admins nobody created, new PHP files in module or image folders.

How much does PrestaShop malware removal cost?

For one store it starts from €149, which covers cleaning files and database, finding the entry point and closing the hole when an update or a configuration change within one hour of work is enough. We set the price in the quote, free of charge, before we start. Closing a hole that needs development, such as replacing an abandoned module, is not included: it's quoted separately. The same applies to Joomla, Drupal and Magento.

What if the store gets reinfected?

If within 30 days the reinfection comes through the same hole we closed, we clean it again at no cost. We don't promise it will never happen again: passwords reused elsewhere or another vulnerability remain possible, and anyone guaranteeing otherwise is selling a promise.

What if the hole can't be closed in an hour?

It happens when the entry point is an abandoned module to replace or custom code to fix. We stop, tell you what's needed and update the quote before going ahead: hourly, with packages or with the module adaptation.

Do I have to notify anyone if card data was stolen?

If the checkout was compromised there may be obligations towards your payment provider and, for personal data, towards the data protection authority: under GDPR the notification is due within 72 hours of becoming aware of the breach, without waiting for the cleanup to finish, and it can be completed later. If card details may have been read, customers usually need to be told as well. The report states since when the infection was active and which data it could read, useful to complete the notification; the legal assessment stays with you or your advisers.

How long does it take to remove the Google warning?

After the cleanup we submit the review request from Google Search Console; review times depend on Google, usually from a few days to a few weeks. We need access to the Search Console property.

Do I have to close the store during the cleanup?

Usually not. If a skimmer is active in the checkout we remove it first, so the store stops leaking data right away; the rest of the cleanup happens with the store open. We put the store in maintenance mode only when the compromise is such that orders can't be guaranteed, and we decide it together.

Isn't restoring a backup enough?

Only if the backup predates the opening of the hole, and usually nobody knows. Restoring a backup taken while the infection was already running brings the same problem back online and erases the traces needed to find out how they got in. That's why we clean the store as it is and use the old backup only to compare files.

Other fixes

PrestaShop fixes and maintenance →
quote.service

Is your PrestaShop store in trouble?

Tell us what's happening: we reply within one working day with the likely cause and the price.

Get in touch

from €149price set in the quote

Request this fix →
Book a 30-minute call
Open in a new tab