Updates keep things out. But how do you check whether something is already in? This article walks through three checks you can run with WP-CLI: verifying core and plugin checksums , taking stock of administrator accounts , and looking for PHP files under uploads . We cover how to read each result and where it stops being useful. These checks are defensive routine work, and a clean result is not a guarantee of safety.
Why check for "already inside"
Applying updates and removing unused plugins only makes the site harder to get into from now on. A survey we looked at in the previous article on exploit timing suggests the window between disclosure and exploitation can be short, so we cannot rule out that something arrived before the update.
Maintenance therefore needs a second viewpoint: is the current state the same as the state it should be in? All three checks below are read-only.…