London · Gentoo Linux · Logging, auditing and integrity
Safe house GREYFRIAR
Situation
KESTREL ends the journey in London. A previous administrator tidied up before leaving, and since then the logs are empty, shell history is gone, and some commands behave oddly. If anything happens here, headquarters must be able to reconstruct it afterwards. Restore the record.
You have an administrator account on uk-greyfriar. Sign in as analyst with the password winter-greyfriar.
How to play
- Press Start the machine. It downloads once, then resumes already booted.
- Sign in, then read
HANDOVER.txt.hardencheck listshows the controls. - Fix the machine. Run
sudo hardencheck IDorsudo hardencheck all. Each passing control prints a flag. - Paste each flag below to record it.
Practice mode: flags are checked in this browser and progress is saved here. Sign in on the scoreboard during the event so your flags count.
Checking whether this machine is available…
Controls
0/6 cleared · 0/900 points
-
System logging at boot
The system logger is installed but never starts. Start it now and at every boot.
-
Protect the sign-in log
Anyone can read or rewrite the record of who signed in. Only administrators should.
-
Messages reach the disk
System messages are going nowhere. Make sure they are written to a real log file.
-
sudo keeps a record
sudo was told to stop logging what administrators run. Undo that.
-
Keep shell history
Shell history is switched off for every account. Find where, and turn it back on.
-
Trust the system tools
Some everyday commands are not the real ones and hide things from you. Find the fakes and remove them.