Sites are scanned on a schedule without you asking, and malware a scan finds is cleaned for you automatically. If something is found you are told — you do not have to be watching.
Scanning now, because you are worried
Open the site and use Scan now on the security card. The card moves to scanning and updates itself when the result arrives; you do not need to keep the page open.
Asking for a scan of your own site costs nothing and changes nothing about the site, so if you have any reason to suspect a problem, run one. If a scan is already in progress, asking again simply joins the one already running rather than starting a second.
If something is found
The result names the files. Malware on a WordPress site almost always arrives one of two ways, and both matter more than the clean-up:
- An out-of-date plugin or theme. This is the overwhelming majority. Keeping plugins updated is the single most effective thing you can do, and the platform can do it for you.
- A password that was reused somewhere else. Change it, and turn on two-factor.
What we clean for you, automatically
When a scan finds malware, the platform cleans it straight away, on every type of site:
- Infected files are cleaned. The scanner removes the malicious code and keeps the original, so a clean can be undone.
- What cannot be cleaned is quarantined. The file is moved out of your site into a quarantine folder in your account. It is kept, never deleted.
- We email you to say we cleaned malware off the site, with a link to exactly which files were cleaned or quarantined and what we did.
- Every clean is in the site's history on the security card, with Restore next to each cleaned or quarantined file. One click puts the file back, and it stays restored: it is only cleaned again if its content changes.
- You can also press Clean now on an infected site to run a clean yourself.
Files a site cannot open without (such as wp-config.php or the home page's index.php or index.html) are never moved aside automatically, because that would take the site down. If malware is left after a clean, the clean has failed: you are warned and given time to fix it, and a site is only suspended when a clean fails. Our paid hack repair service is there for what an automatic clean cannot fix.
Cleaning up after a clean
Restore from a backup taken before the infection wherever you can — it is faster and more complete than removing files one at a time, because a compromise you can see is rarely the only change that was made. Check the restore point is genuinely earlier than the first sign of trouble.
Then apply the updates that let it in, before the site is public again. A site cleaned and left un-updated is re-infected within days, usually by the same automated scan that found it first.
False positives
Occasionally a scanner flags a file that is a legitimate part of a plugin. Tell support and we will exclude it — do not delete a file a plugin needs on the strength of one scanner's opinion.
Este artigo ainda não foi traduzido para o seu idioma, pelo que está a ler a versão em inglês.