The malware scan reads every file and the database looking for malware, backdoors, hidden spam and card skimmers. It also watches the list of administrators, because adding a hidden administrator is one of the first things malware does. The scan is in the free version.
Run a scan
- Open Keel › Monitoring › Malware scan.
- Press Start scanning.
The scan runs in short steps in the background, so the site stays fast for visitors. You can leave the page and come back; progress is saved.
WordPress files and plugins from WordPress.org are compared with the official copies first. Files that match exactly are skipped, so the scan spends its time on what changed or does not belong.
Choose what to scan
What to scan decides how far the scan looks:
- The whole hosting account (recommended): everything PHP can read in the account, such as other sites, old copies of this site and staging folders (not mail, logs or settings folders). Malware often hides next to WordPress, and an infected neighbour can reinfect a clean site.
- Only this WordPress folder: the WordPress installation itself. The database is scanned either way.
Skip big folders you trust (an old backup, a mirror) in Folders and files to skip. Skipped paths are listed under “What was not fully checked”, so nothing is hidden from you.
Read the results
| Result | Meaning | What to do |
|---|---|---|
| Serious | Code that is almost certainly malicious: a backdoor, an injected redirect, a card skimmer, a hidden administrator. | Deal with these first. |
| Suspicious | Code malware often uses, but some legitimate plugins do too. | Look at the file and its location before acting. |
| Changed core or plugin file | A file that differs from the official copy. | Replace it with the official copy, unless you changed it yourself. |
| Not fully checked | Files too big to read, or skipped folders. | Malware files are almost always small; check anything unexpected. |
Watch the administrator list
Watch the administrator list compares the administrators with a saved list every five minutes. Malware often adds an administrator straight into the database, which skips WordPress and any alert based on it. This catches it and emails you at once.
After a clean-up
- Change every password: WordPress users, hosting, database, FTP and SFTP.
- Make new WordPress salts so stolen logins stop working: Hardening › Security tools.
- Update everything and delete plugins and themes you do not use, to close the way in.
- Scan again, and keep scanning weekly for a month.
- If Google flagged the site, request a review in Search Console › Security issues.
Rather not do it yourself? The WpToHeadless team cleans hacked sites: get in touch.
Every setting on this screen
The same explanations you see next to each setting in Keel.
Keel › Monitoring › Malware scan
| Setting | What it does |
|---|---|
| Scan automatically (Pro) | Around 02:00 site time, in the background. Uses WordPress' scheduled tasks, so it needs some visits (or a real cron job) to start. |
| What to scan | Malware often hides next to WordPress: in other folders of the hosting account, old copies of the site or other sites on the same account. "The whole hosting account" reads everything PHP may read there (not mail, logs or settings folders). |
| Email me when the scan finds something serious | |
| Watch the administrator list | Every 5 minutes the administrators are compared with a saved list. Malware often adds an administrator straight into the database, which skips WordPress (and its alerts); this catches it and emails you at once. |
| Folders and files to skip | For big folders you trust (an old backup, a mirror). Skipped paths are listed under "What was not fully checked". |
| Largest file to read | Bigger files are listed, not read. Malware files are almost always small. |
| Work per step | The scan runs in short steps so the site stays fast. Lower it on a slow or busy host. |