he TryHackMe Hardening Basics Part 2 Room is the second in a series of subscriber only rooms from TryHackMe which explains some of the tools used to secure a Linux machine. The room is available at: https://tryhackme.com/room/hardeningbasicspart2
1.1 Which SSH Protocol version is the most secure?
Answer: 2
1.2 This is a random, arbitrary number, used as the session key, that is used to encrypt GPG.
Answer: nonce
1.3 Yey/Ney – GPG is based on the OpenPGP standard
Answer: Yey
1.4 What is the command to generate your GPG keys?
Answer: gpg –gen-key
1.5 What is the command to symmetrically encrypt a file with GPG?
Answer: gpg -c
1.6 What is the command to asymmetrically encrypt a file with GPG?
Answer: gpg -e
1.7 What is the command to create SSH keys?
Answer: ssh-keygen
1.8 Where are ssh keys stored in a user’s home directory?
Answer: .ssh
1.9 What option needs to be set to select the type of key to generate for SSH?
Answer: -t
1.10 The SSH configuration options presented in this chapter were found in what file (full path)?
Answer: /etc/ssh/sshd_config
2.1 Where are the AppArmor profiles located?
Answer: /etc/apparmor.d
2.2 This directory includes partial profiles to be used in your own custom profiles
Answer: abstractions
2.3 This punctuation mark is REQUIRED at the end of every rule in a profile
Answer: ,
2.4 This AppArmor mode enforces the profiles but also logs them
Answer: audit
2.5 This command checks the status of AppArmor
Answer: aa-status