Research session unavailable. No participant research session is associated with this browser. Use the participant access link supplied by the facilitator.
← Back to dashboard
TA0043 Reconnaissance · T1595.002 · Vulnerability Scanning

Identify service versions

Lesson Purpose

What you are learning

Use the trainer's authorized service-identification action on the assigned lab target. The result may show which service or protocol is listening on an open port and may report a version. Treat the result as a clue, not proof of the exact software build, patch level, vulnerability, or exploitability.

Learning Objectives
Why This Matters

Service information can help with asset review, patching, and exposure management. Defenders should confirm scanner results with trusted inventory or system records before making important decisions. In real environments, the same kind of traffic may come from legitimate troubleshooting, asset discovery, monitoring, or security testing. Defenders therefore compare the pattern with approved work before deciding that the activity is suspicious.

OWASP Web Security Testing Guide (WSTG)

Use a repeatable web-testing method

Connect this ATT&CK training activity to the WSTG approach: establish expected behavior, identify the relevant attack surface, change one controlled input or observation at a time, compare the response with the baseline, and record evidence before drawing a conclusion.

For reconnaissance-oriented lessons such as T1595, treat reachability, exposed services, and observable application behavior as information gathering. A reachable service is evidence about exposure; it is not by itself proof of a vulnerability.

Open WSTG web security fundamentals
Exercise

Review the command and flag explanations shown below. Then run only the trainer-provided service-identification action against the configured lab target. Read the PORT, STATE, SERVICE, and VERSION columns. Record only what Nmap reports. If a version is blank or generic, do not invent one. Do not test any other address.

Before You Run the Command

What the command is doing

This lesson uses Nmap service/version detection on the trainer's fixed TCP ports. The command uses -Pn so Nmap does not depend on ICMP reachability first, -sV to perform service/version detection, and -p 22,80 to restrict the scan to the trainer-approved port set. The trainer supplies the authorized lab target.

How to Read the Result

Finding the service and version

How service/version identification works: Nmap's -sV option connects to an open service and sends lightweight protocol-specific probes. It then compares the responses with its service-probe database to estimate the service name and, when the response exposes enough detail, a product and version string. Read the Nmap result row from left to right: PORT identifies the tested port and protocol, STATE describes connectivity, SERVICE is Nmap's service classification, and VERSION contains the product/version clue when Nmap can infer one. If VERSION is blank or generic, do not invent a version. Record only what the output actually shows.

Lesson Command Reference

Command used in this lesson

The command that will be run:

nmap -Pn -sV -p 22,80 <authorized-target>

What each part means

How to read the Nmap result

Controlled Tool Runner

Authorized reconnaissance action

Commands, flags, ports, and targets are fixed by the trainer. The participant cannot enter arbitrary shell commands.

Tool action blocked. Your assigned lab is not ready for this exercise yet. Please wait a moment and try again, or contact the facilitator.

Run service identification

Identify services only on TCP ports 22 and 80 on the facilitator-authorized target.

Fixed command for this action:

nmap -Pn -sV -p 22,80 <authorized-target>

The trainer substitutes only the facilitator-authorized target. The participant cannot modify the command, flags, ports, or target.

Command that will run: nmap -Pn -sV -p 22,80 <authorized-target>

The trainer substitutes only your facilitator-authorized lab target for <authorized-target>. You cannot edit the command, flags, ports, or target.

Findings

Enter one finding per line. Identity and condition are locked by the facilitator.

Finding format examples

Replace the placeholders with the values shown by Nmap. If the VERSION column does not contain a specific version, omit it rather than guessing.

TCP <port> <state> — <service>
TCP <port> <state> — <service> <version if Nmap shows one>
Learning Moment

Service and version strings are useful clues, but they should be verified before making a vulnerability claim. Defenders should interpret this result with other evidence and context before deciding what it means.

Defender Perspective

Service-detection probes may appear as repeated connections or unusual requests in firewall, IDS/IPS, proxy, service, or host logs. Confirm the asset owner, expected service, installed version, patch status, and whether the scan was approved. Reduce risk with accurate inventory, timely patching, fewer exposed services, and monitoring. Defenders should compare the source, timing, rate, and destination pattern with approved administration, monitoring, and vulnerability-management work. This comparison helps separate normal activity from scanning that needs review.

Continue Your Learning Pathway

Next Step · Continue ATT&CK Training

Continue building your reconnaissance and resource-development foundation with the next ATT&CK lesson.

Complete this lesson first. Finish the required lesson activity and knowledge check, if present, before continuing.

Return to dashboard