Skip to content

CLI version of File Integrity Monitoring application. A portable python based FIM tool that tracks modified files from base folder

Notifications You must be signed in to change notification settings

yujin-xin/File-integrity-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

File Integrity Monitoring (FIM) Tool – Python CLI

Overview

A lightweight, cross-platform File Integrity Monitoring (FIM) tool developed in Python to provide reliable file integrity verification using cryptographic hash functions. Designed with portability and simplicity in mind, the tool operates entirely from the command line, requiring no installation or graphical interface.

Core componenets

  • Monitoring and event detection
  • Hashing Algorithms
  • Baseline Comparison
  • File hashing and comparison

Key features

  • Portability: Runs on any system with Python installed. No dependencies or installation required.
  • Multi-Hash Support: Supports SHA1, SHA256, and SHA512 algorithms for checksum generation and verification.
  • Integrity Verification: Compares current file hashes against known (baseline) values to detect tampering or corruption.
  • Console-Based: Built as a command-line interface for ease of automation, scripting, and minimal resource usage.

Use Cases

  • Verifying file integrity after transfer, backup, or deployment
  • Detecting unauthorized changes to sensitive files or configuration assets
  • Lightweight alternative to complex FIM or endpoint protection platforms in constrained environments

Benefits

  • Minimal footprint and high portability make the tool ideal for use in secure, low-resource, or isolated environments.
  • Hash algorithm flexibility supports varying levels of security or compliance requirements.
  • CLI design enables seamless integration into existing shell scripts, cron jobs, or DevOps workflows.

Technical Stack

  • Language: Python (standard library only)
  • Platform: Cross-platform (Windows, Linux, macOS)
  • Interface: Command-line interface (CLI)

Installation

git clone https://github.com/yujin-xin/File-integrity-monitoring
cd File-integrity-monitoring
python3 FIM.py "./rootFolder"

Note: "./rootFolder" is the directory containing files to be hashed.

About

CLI version of File Integrity Monitoring application. A portable python based FIM tool that tracks modified files from base folder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages