DAY 4 · MODULE 5

File Integrity Monitoring

Detect unexpected content changes by comparing known-good and current cryptographic hashes.

60 minBrowser integrity monitorIn Progress
01 · LEARN

Understand the concept

Baseline
SHA-256
Known-good hash
Current hash
Change detection
Integrity alert
Why this matters

Integrity monitoring helps defenders notice unauthorized or unexpected changes to important files and configurations.

02 · VISUALIZE

See what happens internally

Interactive visualization loads here.
Stage 2 Interactive Lab

Operate this concept in a larger realtime simulation and save your practical score.

Open Interactive Lab
03 · PRACTICAL

Perform the activity

  1. Use the SHA-256 visualizer.
  2. Run the browser file-integrity concept code.
  3. Change simulated file content.
  4. Verify that the hash comparison produces an alert.
Workshop safety: Activities involving scanning, web vulnerabilities or security testing must be performed only on the assigned training target or intentionally vulnerable lab.
04 · CODE / COMMANDS

Read and understand the working example

original_hash = sha256(original)
current_hash = sha256(current)
print(original_hash == current_hash)
Open in Browser Code Lab
05 · CHALLENGE

Prove your understanding

Extend the Python exercise to compare two simulated configuration files and report which one changed.

Login to Save Progress