Mission 95

Exposed services

Compare listeners, firewall rules, and nginx config.

Security administration
8 minutes Admin Lesson 95 of 360
ssufwgrep
Lesson 95 of 360 0/360 lessons 0/17 missions Security administration · 8 minutes
0%
Continue View profile
Ops lab terminal Training lab
New learnerrank 0XP 0%complete
learner@clairos:/home/learner $ Unix ops lab: type a command, press Enter
Instructions 8 minutes

Click any instruction for the command details, the why, and the common mistake to avoid.

Show listeners

Run ss -tulpn.

ss -tulpn
Show firewall

Run ufw status.

ufw status
Search listen

Run grep listen /etc/nginx/sites-available/learn.conf.

grep listen /etc/nginx/sites-available/learn.conf
Lesson support

What to notice while you play.

Objective

Inspect service exposure from multiple angles.

Hint

Run ss, ufw status, then grep listen.

Why it matters

Security reviews need both network and config evidence.

Common mistakes
  • Only checking the firewall.
  • Only checking the process list.
Reference

Commands in this lesson.

grep [-i] <text> <file>

Find literal text inside a file.

ss|ip

Inspect simulated sockets and addresses.

ssh|scp|ssh-keygen

Practice SSH inspection and dry-run transfer shapes without network access.

ufw status

Inspect simulated firewall rules.