Hands-on task
Integrity against a manifest: three reports
After an incident you need to check the /srv/bin directory against the reference checksum manifest /root/manifest.sha256, taken before the break-in. Put together three reports, one name per line, with names exactly as they're written in the manifest (relative to /srv/bin), no hashes or comments:
/root/changed.txt: files whose contents don't match the reference;/root/missing.txt: files from the manifest that are gone;/root/extra.txt: files that are in/srv/bin(subdirectories included) but not in the manifest.
Don't change the directory or the manifest.
- sha256sum -c
- file integrity
- manifest
- stdout/stderr
- comm