Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1nmap 192.168.1.10 | Auserdel olduser | |
| 2net user | BLists the user accounts on a computer, and each account is another possible way in | |
| 3Closing an unused port with a firewall rule reduces the attack surface | Cufw deny 23 | |
| 4Removing an account nobody uses reduces the attack surface | DScans a device to list its open ports and running services, which are part of its attack surface | |
| 5ufw allow 23 ufw allow 3389 ufw allow 21 | EUnused accounts are extra ways in. They should be disabled or deleted so the attack surface is smaller. | |
| 6Keep the guest account and a spare admin account switched on 'just in case' | FOpening ports that nobody needs makes the attack surface bigger, not smaller. Only allow the ports that are really needed and deny the rest. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
attack surface — All the points where an attacker could try to get into a system or take data out, such as open ports, running services and user accounts. A smaller attack surface means fewer ways in.surface = openPorts + accountsFOR EACH service IN services
IF service.needed = FALSE THEN
disable(service)FOR EACH account IN accounts
IF account.active = FALSE THEN
delete(account)// Telnet is not needed
closePort(23)
OUTPUT "Port 23 closed"before = 12
after = 9
IF after < before THEN OUTPUT "Safer"