Where to start First steps track · 15 stages
Linux Labs

Server security

Quiz: what a server exposes

Question 1 of 10
Leave the quiz

Scanning a server from an outside machine, the ss -tlnp inventory, PostgreSQL listen_addresses, an nftables ruleset with policy drop and keeping it, processes with deleted files after an upgrade, needrestart and the kernel. The questions follow the lessons “Auditing listening services” and “The update is in, the vulnerability is still alive”.

10 questions · threshold 70%

Read the output

A scan of the server from an outside machine. The server needs SSH and the site outside. Which ports are extra here?

$ sudo ip netns exec lab-outside nmap -n 192.0.2.1
Not shown: 996 closed tcp ports (reset)
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
5432/tcp open  postgresql
8080/tcp open  http-proxy
A–C or ↵ Sign in to answer
Loading…