Core file integrity
Definition
Core file integrity is the assurance that WordPress core files match known-good versions and have not been tampered with.
Also called: WordPress core integrity, core integrity, tampered core files
Why it matters for WordPress
Attackers sometimes patch a core file so their backdoor loads on every request. The site can look fine in wp-admin while wp-includes is no longer stock WordPress. Comparing core to official hashes catches that class of persistence even when malware signatures miss it.
How it shows up in practice
- Scanner reports that specific core files differ from expected checksums
- Odd behavior after a “cleanup” that never reinstalled core
- Manual edits someone made “just to fix a warning” inside core (also a problem)
- Reinfection until the modified dropper file is replaced
What to do
- Scan core after incidents and on a regular schedule.
- Investigate diffs; do not dismiss them because the homepage looks fine.
- Reinstall core from trusted packages when tampering is confirmed (and avoid editing core going forward).
- Pair with malware scanning and an events log for a full picture.
In WP Security Ninja
The Core scanner checks WordPress core files against known-good copies so unexpected edits stand out. Use it with the malware scanner when you suspect quiet tampering rather than only spam redirects.
Go deeper
Want the full walkthrough?
This page stays short on purpose. The guide covers steps, examples, and what to check on a live WordPress site.
Open full guideRelated terms
Nearby ideas in the dictionary
- File integrity monitoring File integrity monitoring checks whether important files changed compared with a known-good baseline.
- Malware Malware on WordPress is unwanted code that steals data, spam-sends, redirects visitors, or keeps a backdoor open.
- Backdoor A backdoor is hidden access an attacker leaves so they can return without the original vulnerability.
- wp-config.php wp-config.php holds database credentials, keys, and core WordPress settings for the site.