Menu

Three checks to see whether a site has been compromised: checksums, admin accounts, and PHP in uploads
📰

Three checks to see whether a site has been compromised: checksums, admin accounts, and PHP in uploads

DEV Community: php·Susumu Takahashi·about 1 month ago
#99eRMEgz
#devto#dev#checksums#files#article
Long article (1156 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.