A baseline is a written record of the ordinary state of your device: the packages installed, the ports listening, and the hashes of the files you care about. This set covers why it has to be written down, why the day you take it matters, and what an open listener really means.
Each one is marked as you go, and the explanation arrives straight after, which is
the part worth reading.
4 questions, marked as you go.
Tasks
These need your own device. Run the command in Termux, then paste what it printed.
The marking looks at what the output means, so spacing, version numbers and
ordering do not matter. If you have not installed anything yet, the
lesson covers the setup.
Build and read a baseline snapshot
This writes a small package list and a settings file, then records the ports, the packages and the hashes of those files into one dated snapshot. Read the three sections it prints.
Run this in Termux
On your own device. Nothing on this page executes it. The command runs in
your terminal, and this box only reads what you paste back.
The port section is short on purpose. An empty list, or a single loopback listener, is the normal case you are recording.
each watched file has a sha256 line
the package list is sorted and captured
the snapshot has the three sections
the commands actually ran
What a good answer looks like
Three headed sections. Under the ports you get whatever your device is listening on, or nothing at all, and both are fine. Under the packages you get the list in sorted order, which is what makes two snapshots line up later. Under the hashes you get one line per file, a 64-character digest, two spaces, then the path. That digest is the record you will compare against in the next lesson. If the hash section is empty, sha256sum did not run.
Marking your own work
Both halves of this are checked in your browser, with no server involved, so nothing
stops you from pasting output you did not run. The tasks are written so that the
easiest way to pass one is to actually do it and read the result, which is the whole
intention.