Missions / Network

What Is Listening?

BeginnerNetwork100 points~12 min

ChaiCorp's small app server should only offer a website (HTTP and HTTPS) to the internet, plus SSH for the admins. You ran two things:

  1. An authorised Nmap scan from outside, which shows what the internet can reach.
  2. ss -tulpn on the server itself, which shows every program that is listening and on which address.

In the ss output, 0.0.0.0 means "listen on every network interface" (reachable from outside unless a firewall blocks it). 127.0.0.1 means "only this machine".

shell nmap -sV app.chaicorp.example (from outside)
Starting Nmap 7.94 ( https://nmap.org ) at 2026-11-21 11:02 PKT
Nmap scan report for app.chaicorp.example (203.0.113.20)
Host is up (0.012s latency).
Not shown: 994 closed tcp ports (reset)
PORT     STATE SERVICE  VERSION
21/tcp   open  ftp      vsftpd 2.3.4
22/tcp   open  ssh      OpenSSH 9.6p1 Ubuntu 3ubuntu13.5 (Ubuntu Linux; protocol 2.0)
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-0ubuntu0.24.04.1
6379/tcp open  redis    Redis key-value store 7.0.15
Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel

Nmap done: 1 IP address (1 host up) scanned in 14.21 seconds
shell sudo ss -tulpn (on the server)
Netid State  Recv-Q Send-Q Local Address:Port  Peer Address:Port Process
udp   UNCONN 0      0      127.0.0.53%lo:53       0.0.0.0:*     users:(("systemd-resolve",pid=612,fd=13))
tcp   LISTEN 0      32           0.0.0.0:21       0.0.0.0:*     users:(("vsftpd",pid=1022,fd=3))
tcp   LISTEN 0      128          0.0.0.0:22       0.0.0.0:*     users:(("sshd",pid=880,fd=3))
tcp   LISTEN 0      511          0.0.0.0:80       0.0.0.0:*     users:(("nginx",pid=1101,fd=6))
tcp   LISTEN 0      511          0.0.0.0:443      0.0.0.0:*     users:(("nginx",pid=1101,fd=7))
tcp   LISTEN 0      151          0.0.0.0:3306     0.0.0.0:*     users:(("mysqld",pid=1200,fd=24))
tcp   LISTEN 0      70         127.0.0.1:33060    0.0.0.0:*     users:(("mysqld",pid=1200,fd=21))
tcp   LISTEN 0      511          0.0.0.0:6379     0.0.0.0:*     users:(("redis-server",pid=1188,fd=6))
tcp   LISTEN 0      511        127.0.0.1:8080     0.0.0.0:*     users:(("node",pid=1350,fd=19))

Need help? Review: Scanning with Nmap · Network Commands · Lab: Read the Scan

0/6 solved0 / 100 pts

Q1. Which service is running a very old version (from 2011) that is famous for a built-in backdoor? Give the name and version as Nmap shows them.

worth 17 pts

Q2. On which port is the database reachable from the internet?

worth 17 pts

Q3. Which program listens on port 8080? It is only reachable from the server itself.

worth 17 pts

Q4. Redis only needs to be used by the app on this same server. Which local address should it listen on instead of 0.0.0.0?

worth 17 pts

Q5. Why did Nmap not show port 8080 at all?

worth 17 pts

Q6. Which action should come first?

worth 17 pts