Lazo Lab Sign up

Python Projects & Skills / Security tools in Python

Lesson 28 of 28

File integrity monitor

Save the hash of every file in a folder, then check later to see what changed. Real tools like AIDE and Tripwire work the same way.

Key points

  • Store hashes in JSON
  • Re-hash and compare
  • Report added, removed and changed files
Watch a video on thisOpens YouTube search results for “File integrity monitor” in a new tab

Quiz · +10 XP

How does a file integrity monitor spot a changed file?

Log in to save progress and earn XP.