This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Description

Integrity-checker uses a mix of traditional and new techniques to scan your website for potential issues. First and foremost, it verifies that all installed code is identical to it’s original version. By comparing WordPress core, plugins and themes in your installation with the original versions available at wordpress.org, Integrity-checker can quickly determine if there are any changes you need to be aware of. Integrity-checker also lets you compare your local version to the original to help you determine if you’ve been hacked.

Additionally, Integrity-checker scans all installed files for permission issues. Ensuring correct permissions is vital for WordPress security, as with any PHP based web application.

Lastly, Integrity-checker will look through some of the basic WordPress configuration to look for common security problems like user enumeration, directory index weak credentials etc.

Features

  • Helps you track down hacked WordPress files in core, plugins and themes
  • Makes it easy to find issues with file permissions
  • Detects common configuration problems

3rd party software

cron-expression copyright Michael Dowling, see license. Cron-expression is slightly adopted to use the Integrity Checker namespace to avoid potential conflicts.

php-diff copyright Chris Boulton under the BSD license. php-diff is slightly adopted to use the Integrity Checker namespace to avoid potential conflicts.

silexphp/Pimple copyright Fabien Potencier, see license. Pimple is slightly adopted to use the Integrity Checker namespace to avoid potential conflicts.

DataTables 1.10.13 copyright 2008-2016 SpryMedia Ltd. Licensed under the MIT license, see datatables.net/license

jqCron.js Licensed under the MIT license, see license

Screenshots

  • Scan results showing issues found in WordPress core. Some issues are marked as SOFT” meaning that they’re most likely a false positive. Other issues are marked HARD” and needs to be examined.
  • Showing the diff between the version from the WordPress repository and the version currently found in your installation
  • Showing scan results for each plugin individually. Issues are marked as HARD of SOFT. Diff can be shown for modified files.
  • Showing results from scanning WordPress settings.

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/integrity-checker directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Tools->Plugin Name screen to use the plugin

FAQ

Why should I use Integrity Checker instead of…

Integrity Checker have a few quite unique features: the ability to compare checksums for individual themes and plugins and the ability to see the diff between two versions of the same file. But there are lots of other great security tools around for WordPress and you should try them out. Some tools put an emphasis on preventing security problems while other tools, like Integrity Checker, deals more with trying to discover problems after the fact.

One very fundamental idea in all security related work is the concept of defense in depth. That means that you should not rely on any one single security technique. Instead, you should embrace multiple forms of security, good password standards, using https where it matters, keep WordPress updated at all times etc. As a consequence, you will want/need more than one security tool to help you with that. We think Integrity Checker is an excellent addition to your security toolbox, we hope you agree.

Integrity Checker reports some issues, but how do I fix them

Integrity Checker is a checker tool. It scans and reports but it doesn’t have any ambition to fix anything. Some tools try to do both, Integrity Checker doesn’t (yet).

What does a SOFT issue mean?

A soft issue is almost always a false positive, but something you’d want to have a look at. The most common reason for a SOFT issue is that the readme.txt file in a plugin is different. This is because a plugin developer might update the readme.txt without bumping the plugin to a new version. For instance when a new version of WordPress is released, a lot of plugin developers updates so that the Tested up to” information reflects the new WordPress version number. Another common reason is that you (or someone else) may have added .htaccess files for added security, when Integrity Checker finds an .htaccess file, it will issue a SOFT warning.

I’d like to run Integrity Checker on a schedule

Integrity Checker has an older brother, the wp-cli sub command wp-checksum. Integrity Checker and wp-checksum uses the same backend database and shares a lot of code. So currently we think that the best way to schedule checksum scanning is via the wp-cli tool. Having said that, we’d like to hear your opinion how to go forward. One way would be to open up the API (see below) to Integrity Checker and have you solve the scheduling in your own environment, another way could be to integrate a scheduled into the plugin itself. Or both, let us know what would benefit you the most.

Does Integrity Checker support wp-cli

No, but there a separate tool for that, see above.

How about an API?

Integrity Checker actually implements a REST API (that’s why it requires WordPress 4.4) that your web browser uses to scan and report issues. The authentication method is currently limited to cookies, meaning that the only practical way to use this API is via the Integrity Checker page in WordPress admin. Right now, WordPress doesn’t ship with oAuth authentication for REST clients and therefore Integrity Checker doesn’t even attempt to support oAuth. Secure access to the Integrity Checker API is something we’re looking to add in the near future.

How does Integrity Checker work

We have a database and an API over at https://api.wpessentials.io where we collect data about most plugins and themes on the WordPress.org repo. As we get requests for comparing checksums for plugins we haven’t previously seen, we add it to the database. Integrity Checker relies on using the API for this database. We index as many plugins and themes from the .org repository as we can and we’ve asked a few commercial plugin vendors if they want to contribute to the database.

How does access to the backend API work

Integrity Checker uses our backend api to retrieve checksums for themes and plugins. As an anonymous user, you can query our API 25 times per hour. We think (but would love your input) that this is sufficient for most small and medium sized WordPress installations with 20-25 plugins and a theme. There are some caching going on in the background, so repeated scans doesn’t always result in more queries to us. We create an anonymous user in our database and assign an API key to that user, that API key is sent back to your WordPress installation and stored in your database. You can see your API key in the About section in Integrity Checker as well as your current API usage.

If you are willing to share your email address with us, we increase that hourly quota up to 75 requests per hour.

The API key’s can be reused between sites, so once you have registered with us, you can use that key on more than one site.

If you need more than 75 requests per hour assigned to one API key, you can purchase a premium subscription.

Integrity Checker is currently in version 0.9 and we’re actively trying to figure this out. Any feedback on rate limits is most welcome.

Why isn’t the backend API 100% free

Because we need to eat and pay bills. We’d like our database to be 100% free for all and at the same time find a business model that allow us to devote 100% of our time to it. With the business model we’re currently using, we can have most casual users access our database free and at the same time have a model where larger users can pay a monthly fee to access the database via the API.

The API keys can be shared between different WordPress installations and between Integrity Checker and the wp-cli tool so if you’re hosting 10-20 WordPress installations on a few different server, you’ll only need to get one premium subscription. If you’re a hosting provider looking to analyze all your clients installations, we suggest you contact us.

Can I help?

Absolutely! Integrity Checker is open source and pull requests are welcome. We use github for our ongoing development efforts. Have a look at https://github.com/eriktorsner/integrity-checker

Reviews

Май 24, 2018
Since i installed this i finaly found my site secure, only modifications to the core were the ones i mage my self. it’s not showing any iframes but there clearly is one, you can find my topic about it here: https://wordpress.org/support/topic/found-miner-in-majority-of-wordpress-sites/#post-10317242 im still investigating what this might be tho, since the main adress of that iframe is a monero miner page… Any sugestions about this iframe would be greatly appreciated!
Июль 24, 2017
Of course this plugin is not THE magic cure for infected sites, but it helped me to find many infected scripts on my site and i was able to fight back the hackers in a more efficient way. Great tool, does exactly what it says in a convenient way, showing you a diff view of the detected changes if you want, even realizing when there are ‘only whitespace changes’. This saved me a lot of work!
Мартъи 11, 2017 1 reply
I’ve modified the review after discussion with the author This is a very useful tool! The free API limit might be a little low if you want to test the site recurrently but it’s still a useful tool.
Мартъи 7, 2017
Just saw this tool and created an account just to Thank you guys. Very useful tool for finding malware. You guys need to be more famous!! PS: There needs to be an option to ignore blank line, whitespace and other non-important changes
Январь 17, 2017
Simple, easy to use, fast scan and display of the most essential security base for any WordPress install >> the correct file/folder permissions and checksums for core, plugins, themes and miscellaneous files! Just awesome! Thank you!
Read all 6 reviews

Contributors & Developers

“Integrity Checker” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Integrity Checker” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.10.0

  • Feature: Improved file scanner, store results in custom table
  • Feature: Added detailed settings for file scanner
  • Feature: Scheduler (requires registration)
  • Feature: Support for alternative checksum data, reduces the risk for false positives
  • Feature: Reinstall compromised plugins via plugin screen
  • Fix: Missed-wp-version-meta in version leak test. reported by @sixer
  • Fix: REST calls would not work at all on sites without pretty permalinks
  • Fix: Previous versions would store too much result data in auto loading options

0.9.3

  • First version on WordPress repo

0.9.1

  • Ripped out CMB2, more/better docblocks

0.9

  • Initial submit to WordPress repository