Implement an Integrity Monitor
Build a small program that compares a directory with a trusted hash manifest.
Build a small program that compares a directory with a trusted hash manifest.
Prepare 20m · Build 110m · Verify 30m · Document 20m
Work only inside the folder created by Smartphone-Academy.py prepare integrity-monitor. Use the supplied samples or systems you personally administer.
Prepare the Termux workspace
Open Termux in the Academy root and prepare this lab with the local companion. It creates safe samples, notes and evidence files under your Termux account.
python Smartphone-Academy.py prepare integrity-monitorNo root. Use the supplied files and keep the workspace under $HOME.Practical mission
- Create a deterministic manifest with relative paths
- Detect additions, modifications and deletions separately
- Ignore the tool's own report directory safely
- Test all three change categories with copied samples
A baseline command, check command and report for added, changed and removed files.
Quality gate
Analyst reflection
Which result from “Test all three change categories with copied samples” would need more evidence before it could support an operational decision?
After checking the evidence, run python Smartphone-Academy.py complete integrity-monitor. Progress is stored locally in the Termux home directory.