Labs / Read the Scan
NetworkMedium

Read the Scan

ChaiCorp asked you to test one of its internet-facing servers. You ran an authorised Nmap scan. Read the output and answer the questions to get the flag.

$ nmap -sV 203.0.113.20
Starting Nmap ( https://nmap.org )
Nmap scan report for shop.chaicorp.example (203.0.113.20)
Host is up (0.031s latency).
Not shown: 993 closed tcp ports (reset)
PORT     STATE    SERVICE  VERSION
22/tcp   open     ssh      OpenSSH 9.6p1 Ubuntu (Ubuntu Linux; protocol 2.0)
25/tcp   filtered smtp
80/tcp   open     http     nginx 1.24.0 (Ubuntu)
443/tcp  open     ssl/http nginx 1.24.0 (Ubuntu)
3306/tcp open     mysql    MySQL 8.0.36
6379/tcp open     redis    Redis key-value store 7.2.4

Nmap done: 1 IP address (1 host up) scanned
1. How many ports are open?
2. What does "filtered" on port 25 most likely mean?
3. Which two services are the most worrying to find open to the internet?
4. What should you recommend in your report?

Submit the flag