04 / Systems / 35 min READ + PRACTICE
Asset inventory and service discovery.
Map a permitted lab network and interpret ports without treating every open service as a vulnerability.
Inventory your assets
List your lab machines, IP addresses, operating systems, exposed ports and owners. First check listening sockets from the VM itself. Compare what the machine says it is serving with what a second permitted VM can actually reach.
Use a narrow probe
A connection attempt to one specific port of your own VM can tell you whether the service is reachable. A refused connection, dropped packet and application-level denial are different observations. Prefer explicit targets and small request counts.
Verify a finding
A banner may be absent, misleading or outdated. Record the observed protocol, configuration and evidence; do not equate a version string with exploitability. Tie each issue to an actual misconfiguration and a recommended fix.
Try it in your lab
Record the services listening on your own lab VM with ss -ltn, then confirm one chosen port from the other VM with permission.
Make sure it clicks
Why can an open port be intentional and secure?
A prompt you can adapt
Turn this redacted list of my lab listening ports into an asset inventory and identify verification questions.How to set up OpenCode ↗