Skip to content

A PowerShell script that monitors a directory in real-time, logging file changes including creations, deletions, and modifications using SHA256 hashes for integrity verification.

Notifications You must be signed in to change notification settings

Farenfv/file_integrity_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

File Integrity Monitor

This PowerShell script monitors a specified directory for file changes, including creations, deletions, and modifications. It logs these changes and generates SHA256 hashes to track file integrity.

Features

  • Monitors for file changes in real-time.
  • Logs all changes to a log file.
  • Generates and updates baseline SHA256 hashes for files.
  • Detects file creations, deletions, and modifications.

Prerequisites

  • Windows operating system.
  • PowerShell 5.0 or later.

Installation

  1. Clone the repository or download the script file.
  2. Place the script in a directory of your choice.

Usage

  1. Open PowerShell.
  2. Navigate to the directory where the script is located.
  3. Run the script using the following command:
    .\file_integrity_monitor.ps1
  4. Enter the directory you want to monitor when prompted.

About

A PowerShell script that monitors a directory in real-time, logging file changes including creations, deletions, and modifications using SHA256 hashes for integrity verification.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published