Tripwire

Tripwire is a data integrity tool for monitoring and alerting file and directory changes.

https://github.com/Tripwire/tripwire-open-source

To install, run

Generate keys

Run

This ask you to enter password.

Creating Database

You need to edit file

customise it for your system or you may get file/directory not found errors.

Checking for changes

ModSecurity

ModSecurity is a Web Application Firewall. Protect sites from SQL injection and Application level hacking.

To install ModSecurity on Ubuntu/Debian with Apache, run

verify Apache module is installed with

Enable config file

Update config

Restart Apache