CompTIA Security+ Lab 02: Network Reconnaissance and Vulnerability Scanning


This guide covers network reconnaissance vulnerability scanning step by step, with every setting in the order you will use it. Reconnaissance is how every attacker (and every penetration tester) begins: finding out what is alive on the network, which ports are open and which services are vulnerable. This lab runs the classic sequence against your Windows 10 lab VM from Kali Linux, matching Security+ objectives 2.2 and 2.3 on tool-based attacks and analysis.

network reconnaissance vulnerability scanning in a home lab

COMPTIA SECURITY+NETWORK RECONNAISSANCE VUL…ENTERPRISE LABtimer 45 MIN LAB
NH
Nurul Huda AUTHORInfrastructure & Cloud Architect · Verified 2026

print Print Lab

● VALID ON THE CONFIG BELOW

dns LAB TOPOLOGY & PREREQUISITES

# example values used while writing and testing this guide

LAB VM

HypervisorVMware Workstation
vCPU2
RAM4 GB
Isolationhost-only network

ATTACK VM

OSKali Linux
ToolsWireshark, nmap
Usernon-root
Snapshotsafter each lab

TARGETS

Rangelab only
Legalisolated, private
Resetrevert snapshot

01constructionPrerequisites

Complete the lab settings guide and Lab 01 first: Kali Linux and Windows 10 VMs must both be running on the same isolated lab network.

02downloadStep 1: Passive Recon

On Kali, check your own network and note the Windows VM’s address:

ip a — your interface and subnet
arp-scan --localnet — quick list of live neighbors

03usbStep 2: Host Discovery and Port Scanning with nmap

nmap -sn 192.168.x.0/24 — ping sweep: who is alive?
nmap -sV target-ip — service scan: which ports and versions
nmap -O target-ip — OS fingerprinting

Read the output like an attacker: every open port is a door. On the Windows side, compare what nmap found with the actual services (run netstat -an in a command prompt) and note how a firewall filters results.

04terminalStep 3: Vulnerability Scanning

Run a dedicated scanner against the target: Kali’s Nuclei, OpenVAS, or Nessus Essentials all work. Point it at the Windows VM and let it enumerate findings: missing patches, weak services, open SMB, and so on. Export the report — the skill the exam tests is not clicking “scan” but reading results and ranking what matters.

05settings_ethernetStep 4: Close the Loop

For each high-risk finding, do the fix and rescan: enable the firewall, disable an unnecessary service, apply updates. Seeing the finding disappear is the defense half of the exercise.

Related Content

▶ UP NEXT IN THE SECURITY TRACK

CompTIA Security+ Labs: Hands-On Practice for the SY0-701 Exam

Finish this lab, then continue down the track. Each guide builds on the one before it.

rocket_launch Launch Next Lab