Malware scanning, security scans and vulnerability alerts
Last updated
Most hacked WordPress sites are broken into through a plugin or theme with a known security hole, and the damage is often hidden in files or the database for weeks before anyone notices. MaintainHQ watches for both: it tells you when software on a site has a known vulnerability, and it scans every site for signs of malware each day.
Malware scanning is included on every plan. This guide explains the three kinds of check on the Security page, what each finding means and how to act on it.
Finding your way around the Security page
Open Security in the left-hand menu (under Look after). The page is called Security & Firewall and has three tabs:
- Overview: security scans, the firewall and the scan history.
- WP Hardening: settings that make WordPress harder to attack. See hardening, firewall and two-factor sign-in.
- Malware scan: the daily malware scan and its findings.
Each site’s own page has the same tools for that site under Security, with a Known vulnerabilities card at the top.
Known vulnerability alerts
A vulnerability is a security hole in a particular version of WordPress, a theme or a plugin that attackers know how to use. Once a day, MaintainHQ compares the versions installed on every site with Wordfence Intelligence, a public database of WordPress vulnerabilities.
When a site is affected, three things happen:
- You get a Known Vulnerability alert, once per issue, listing what is affected and the fixed version.
- Gus, the AI assistant, prepares a fix for your approval. Nothing is changed until you approve it.
- The site’s Security tab shows a Known vulnerabilities card. The Plugins, Themes and WordPress core tabs also show the issues that apply to them.
Each item on the card shows the software and installed version, whether it is Inactive, each vulnerability’s severity and title, its CVE number (a standard reference for the vulnerability) and a Details link. On the right it says Update to (version) or later, or No fixed version yet. The Gus’s fixes link opens the fix Gus has prepared.
Security scans on the Overview tab
A security scan checks the outside of your site, the way a visitor’s browser sees it. Choose a site and press Run Scan, or let the scheduled scans run. The scan looks for:
- Whether the site is served over HTTPS (a secure connection).
- An SSL certificate that has expired, is not trusted, or expires within 14 days.
- Missing security headers: Strict-Transport-Security, X-Frame-Options and Content-Security-Policy.
Each scan is marked Clean, Warning or Critical, with the number of issues and the first few findings in Scan History. The cards at the top count Clean Scans, Warnings, Critical scans and Threats Blocked by the firewall in the last 24 hours. Fix with Gus on a scan with findings asks Gus to look at them.
The daily malware scan
The malware scan runs on each site once a day, and you can start one at any time with Scan now. It is read-only: nothing on your site is changed, moved or quarantined automatically. It checks:
- Plugin, theme, upload and root files, both PHP and JavaScript, for code patterns used by malware.
- Plugins and themes from WordPress.org, compared with WordPress.org’s official copies, so any file that has been changed stands out.
- Premium and custom themes, compared with a baseline of their files recorded at the first scan or at the last change you approved.
- The database, for injected content and suspicious entries.
Malware scanning needs the MaintainHQ plugin 3.18.0 or later. If a site has an older plugin, the tab tells you to update it.
Reading the results
- Last scan: when it ran, whether it was Complete, Partly complete or Failed, and how many files were read.
- Infected: findings marked Critical or High.
- Suspicious: findings worth a look.
- Checked against WordPress.org: how many plugins and themes were compared with official copies, and how many could only be checked by pattern or against their baseline.
The Findings table lists each finding’s file or location, the reason, its severity (Critical, High, Suspicious, Low or Info) and when it was first seen. Press Details to see the matched code (shortened, with secrets such as passwords hidden), when it was first and last seen, extra facts such as the line number or the file’s last-modified date, and What to do.
Acting on a finding
- Genuine malware: follow what to do if your site is hacked, or press Fix with Gus in the If malware is found card to have Gus investigate and prepare a fix for your approval.
- Not malware: some legitimate code looks suspicious. If you are sure, press Not malware (ignore) in the Details window. It stays in the list, greyed out. Press Restore to undo.
- A theme you changed yourself: the Theme baselines card lists themes whose files have changed since their baseline, with the files added, removed and changed. If you or your developer made the changes, press Approve current files (or These changes are ours: approve as the new baseline). Only file names are sent to MaintainHQ, never their contents.
Findings that disappear in a later scan are marked resolved automatically.
Getting told straight away
Under Alert settings in the left-hand menu, check these alerts are on and going where you will see them:
- Malware Detected: the daily malware scan found new suspicious code or database entries.
- Known Vulnerability: WordPress, a theme or a plugin has a known vulnerability (Gus prepares the fix).
- SSL Expired and SSL Expiring Soon.