Case study

WordPress Malware Removal in Montreal: Cleaning a Moving Company Site Hit Four Times

A long-established Montreal moving company's WordPress site had been infected in 2017, 2021, 2023 and 2026 on its previous host, and its configuration file held the main hosting account password. We backed everything up, removed the malicious files, verified WordPress 7.1.4 core and plugins as clean, and moved database access to a dedicated least-privilege user.

4Infection waves traced
7.1.4WordPress version verified clean
Client
A long-established moving company
Industry
Moving and storage
Location
Montreal, Quebec, Canada
Year
2026
Services
Malware removal, WordPress security, Database access hardening, Backups

The client's name is withheld. Infection years come from file dates found during the cleanup on 18 November 2026.

The challenge: malware that kept coming back

This WordPress malware removal case study comes from Montreal. The client is a long-established moving company whose website brings in quote requests. When we reviewed it, the site's files showed infections in 2017, 2021, 2023 and 2026, all on its previous host.

One finding made the risk much worse: the site's configuration file used the password for the main hosting account. Anyone who could read that file through malware could also take over the whole hosting account, not just the website. The job was to clean the site properly and close that hole for good.

What we found

Four waves over nine years

Malicious files dated from 2017, 2021, 2023 and 2026, which showed that earlier infections had never been fully removed.

The master password in a website file

The WordPress configuration file connected to the database using the main hosting account's password.

Files that needed verifying

Core and plugin files had to be checked against clean copies to be sure nothing had been altered.

How we removed the malware

The site is a live source of quote requests, so we worked carefully and logged every step.

Full backup first

We took a complete backup of files and database before changing anything, so every step could be reversed.

Removed malicious files

We cleaned and quarantined the malicious files from all four waves, keeping copies aside for reference rather than simply deleting them.

Verified WordPress

We verified WordPress core and plugins against clean copies on version 7.1.4.

Gave the database its own user

We created a dedicated, least-privilege database user for the website, so the hosting account password is no longer stored in the site's files.

Logged everything

Every action was logged, so the owner has a clear record of what was found and changed.

Results at a glance

AreaBeforeAfter
MalwareFiles from infections in 2017, 2021, 2023 and 2026Cleaned and quarantined
WordPress core and pluginsUnverifiedVerified clean on 7.1.4
Database loginMain hosting account password in the config fileDedicated least-privilege database user
BackupsNone taken before workFull backup before any change
Record of workNoneEvery action logged

What other businesses can learn

When malware keeps coming back, the earlier cleanups missed something. A proper cleanup verifies every core and plugin file, not just the obvious ones, and changes the passwords the attacker may have seen.

Never let a website use your main hosting password. Give each site its own database user with only the access it needs, so one compromised site cannot unlock everything else. We apply the same approach in our website development and maintenance work, and a clean site protects the trust you build through online reputation management. Read how we handled a four-wave infection for a training brand, or contact us for help.

Frequently asked questions

Straight answers to the questions business owners ask us most.

Still have a question? Talk to us

Why does my WordPress site keep getting hacked?

Usually because the first cleanup left something behind: a hidden backdoor file, an altered plugin, an unknown admin user, or a password the attacker still knows. Outdated software and shared passwords make it easy to get back in. A full cleanup verifies every file, removes all backdoors and changes every relevant password.

What is a least-privilege database user?

It is a database login that can only reach the one database the website needs, with only the permissions the website uses. If the site is compromised, the attacker gets that limited login, not the master password for the whole hosting account, so other sites, email and billing stay protected.

Should I back up a hacked website before cleaning it?

Yes. A full backup before any change means a mistake during the cleanup can be undone, and it keeps evidence of what the attackers did. The backup should be stored outside the website folder and treated as infected, so it is never restored blindly without checking.

Related services and case studies

Want results like these?

Every project starts with a free audit of your website, Google presence and competitors.

  • A plain-language review of your website and Google presence
  • Quick wins you can act on straight away
  • No obligation and no spam

Get your free audit

Takes under a minute.

We'll get back to you by email or phone. No spam; see our privacy policy.