This project is a File Integrity Monitor (FIM) designed to detect unauthorized file changes by comparing hash values. Using Python and various hashing algorithms, the tool verifies file integrity, making it useful for security monitoring.
- File Hashing: Computes MD5, SHA-1, and SHA-256 hashes.
- File Monitoring: Compares current and original hashes to detect changes.
- Alert System: Notifies users if a file’s integrity is compromised.
- Python 3.x
- hashlib (Standard library)
Setup Instructions
-
Clone the repository:
-
Install any required libraries.:
- pip install -r requirements.txt
-
Run the monitor:
- python file_integrity_monitor.py
1. Set up the files you want to monitor by adding them to the configuration.
-
Run the script to generate and store baseline hashes.
-
Periodically rerun the monitor to check for file changes.