Voting starts in March for the Drupal Association Board election.
This module does not protect your site's file integrity. Only you can do that by configuring the site correctly and by not installing insecure software. It can be used to check a Drupal site for file integrity breeches.
This module lets the site maintainer “fingerprint” an entire site (except the files below the
public:// upload directory) when it is in an untainted state. It can then be configured to periodically compare the site to this “fingerprint”, and report the following:
- modified files and directories;
- potential back-doors (files added to the site);
- files removed from the site;
- files writeable by the web-server.
This module should only be used on a stable production site to alert the site maintainer as a first line of defence against file integrity breeches.
The module, as currently designed, is less suitable for large sites. It works well for sites with less than 6000 files, but becomes less usable if the site is larger than this. See
README.md for details.
File integrity check considers having files (outside of the
public:// upload directory) writable by the web-server a security hazard, and will warn about such files during fingerprinting. If you're installing this module for the first time, make sure this has been fixed before you fingerprint the site for the first time. (File integrity check will produce a lot of warnings if you don't do this.)
Explanation: Having executable PHP-files writable by the web-server is a major security hazard. This means that anyone that manages to compromise the web-server can escalate to a PHP-injection attack. The web-server has a very large attack surface, so it is one of the easiest targets for hackers attacking a Drupal site.
I recommend that the files that are part of Drupal is not owned by web-server user, but by some other user (for example the site owner), and having them readable (but not writeable) by the web-server group (mode bits 640). For example (
joe is the site owner and
www-data is the web-server group):
-rw-r----- joe www-data index.php
- Advanced help hint:
To hint about how to get
- Advanced Help:
When this module is enabled, the project's
README.mdmay be displayed on the screen.
- Markdown filter:
When this module is enabled, display of the project's
README.mdwill be rendered with the markdown filter.
The project is considered complete, and I have been using it for about one month on a production site without any issues. However, before making a full release I want feedback from more users. Please take a look at this issue and respond if you've tested the module.
The following projects may be applied to use cases that are similar to the use case this module is designed to handle:
This Drupal module differs from the File integrity module by not being designed to do used on a production site to perform automatic and periodic checks. Instead, it will verify integrity of core and modules on demand by downloading a untainted copy from Drupal.org and compare. Note that it will not detect back-doors.
- MD5 Check:
This Drupal module differs from the File integrity module by only monitoring the directories of installed modules, and by comparing the current version to the previous, instead of comparing to a saved “fingerprint”. It does not send email, but log potential integrity breeches using watchdog.
This is not a Drupal module. It is a general source control system that may also be used to monitor changes to a set of files.
This is not a Drupal module, but a C library and a set of CLI-tools that can be used to monitor and act upon filesystem events.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Security
- Reported installs: 221 sites currently report using this module. View usage statistics.
- Downloads: 1,779
- Last modified: May 9, 2016
- This project is not covered by the security advisory policy.
It may have publicly disclosed vulnerabilities. Use at your own risk!