🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Cybersecurity › Cybersecurity Threats: Attack Types, Threat Actors, and Vulnerability Analysis › Lesson 8
TEC-CYBE44-02 · Lesson 8 · 14 clock hours · lab

Reconnaissance: OSINT, Scanning, and Enumeration Techniques

Objective. Students will conduct passive OSINT reconnaissance on an instructor-designated practice target and active scanning on an isolated lab target, documenting findings in a structured reconnaissance report.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

What Is Reconnaissance?

Reconnaissance is the first phase of the attack lifecycle. Before an attacker (or an authorized penetration tester) can exploit anything, they must understand the target: what systems exist, what services are running, and where weaknesses might be found. As a cybersecurity professional, you need to understand these techniques so you can recognize them in logs, defend against them, and conduct authorized assessments yourself.

Reconnaissance divides into two broad categories: passive and active.

Passive Reconnaissance and OSINT

Passive reconnaissance gathers information without sending packets directly to the target. Because no direct contact is made, it is difficult for the target to detect. The primary method is Open Source Intelligence (OSINT) — collecting data from publicly available sources.

Common passive techniques include:

Legal and ethical boundary: Passive OSINT on publicly available data is generally lawful, but you must still have a clearly defined, authorized scope. In this course, all OSINT activities are restricted to instructor-designated targets. Using these techniques against any target outside that scope — even just looking — is a policy violation and may be a criminal offense under the Computer Fraud and Abuse Act (CFAA).

Active Scanning

Active scanning sends packets to target systems and analyzes responses. It is detectable and must only ever be performed against systems you own or have explicit written authorization to test. In this lab, the only acceptable active scanning target is the isolated Metasploitable2 VM on the air-gapped subnet provided by the instructor. That VM has no route to the internet or to any production network.

Nmap (Network Mapper) is the industry-standard open-source port scanner. Key flags used in this lab:

A typical command against the lab VM might look like:

```

nmap -sV -O 192.168.56.101

```

Nmap output lists each open port, the protocol, the state (open/closed/filtered), the service name, and the detected version. This is exactly the information an attacker wants — and exactly what a defender needs to inventory.

Enumeration

Enumeration goes deeper than scanning. Once open ports and services are identified, enumeration extracts specific information: user accounts, shares, running processes, and service banners. Tools such as Netcat (for banner grabbing) and service-specific clients are used. In the CompTIA exam context, enumeration is the step between scanning and exploitation.

Cross-Referencing with the NVD

Knowing a service name and version lets you search the National Vulnerability Database (NVD) at nvd.nist.gov. The NVD catalogs published vulnerabilities as Common Vulnerabilities and Exposures (CVEs). Each CVE entry includes a description, affected versions, a severity score (CVSS), and references to patches or advisories.

For example, if your Nmap scan shows `vsftpd 2.3.4` running on port 21, a NVD search for that string reveals a known backdoor vulnerability. This cross-referencing step transforms raw scan data into an attack surface assessment — identifying which findings represent real, exploitable risk.

Safety and Ethics Rules for This Lab

1. Scope is absolute. Active scanning targets only the lab VM. Passive OSINT targets only instructor-designated sites. No exceptions.

2. Network isolation must be verified before starting any Nmap scan. Confirm with your instructor that the VM subnet has no internet routing.

3. Document your authorization. Your reconnaissance report must note the date, the authorized target, and the instructor's name. This mirrors professional practice where a signed Rules of Engagement document precedes any assessment.

4. Automatic fail rule. Any evidence that active scanning was directed at unauthorized targets results in an automatic zero and an academic integrity referral. This mirrors real-world legal exposure under the CFAA.

5. Handle findings responsibly. Treat all data collected — even from a lab VM — as if it were sensitive. Do not post screenshots or IP addresses to public forums or social media.

Building the Reconnaissance Report

A professional reconnaissance report organizes findings so a client or security team can act on them. Your one-page report (using the provided template) should include:

This report structure maps directly to the skills tested on CompTIA Security+ (threat analysis) and CySA+ (vulnerability management and reporting).

Key terms10

ReconnaissanceThe information-gathering phase of an attack or authorized assessment, aimed at identifying targets, open services, and potential vulnerabilities before any exploitation attempt.
OSINT (Open Source Intelligence)Intelligence collected from publicly available sources such as WHOIS databases, search engines, DNS records, and certificate transparency logs, without sending packets directly to the target.
Passive ReconnaissanceGathering target information through indirect means (public data sources) so that no traffic is sent to the target, making detection by the target very difficult.
Active ScanningSending packets directly to target systems to discover open ports, running services, and OS information; detectable by the target and legal only on systems you own or have written authorization to test.
NmapAn open-source network scanner widely used to discover hosts, open ports, service versions, and operating system details on a network.
EnumerationThe process of extracting detailed information from discovered services — such as user accounts, shares, and banners — after initial scanning identifies that the services are running.
CVE (Common Vulnerabilities and Exposures)A publicly maintained list of disclosed software and hardware vulnerabilities, each assigned a unique identifier, description, and severity score, cataloged at the National Vulnerability Database (nvd.nist.gov).
Attack SurfaceThe total set of points where an unauthorized user could attempt to enter or extract data from a system; in a reconnaissance report, findings are assessed by how much they expand or expose the attack surface.
Google DorkAn advanced Google search query using operators such as site:, filetype:, or intitle: to find sensitive or unintentionally indexed information about a target.
WHOISA query protocol and associated databases that return registration information for domain names and IP address blocks, including registrant contact details and name servers.
In class: Passive OSINT lab: using publicly available tools (WHOIS lookup, Shodan.io search of the class's own school IP range with instructor permission, Google dorks on a designated practice site), students record domain registration data, open ports visible on Shodan, and publicly indexed information in a reconnaissance log. · Active scanning lab on isolated network only: students run an Nmap scan (nmap -sV -O) against a pre-configured vulnerable VM (e.g., Metasploitable2 on an air-gapped subnet), record open ports, services, and OS fingerprint, and cross-reference findings with CVE descriptions on nvd.nist.gov. · Students compile passive and active findings into a one-page reconnaissance report using a provided template, marking which findings represent significant attack surface and explaining why.
Materials: Nmap (open-source), Metasploitable2 VM (isolated subnet — no internet routing), WHOIS web tool, Shodan.io (instructor account for class use, scoped to authorized targets only), NVD (nvd.nist.gov), reconnaissance report template, CompTIA Security+ SY0-701 and CySA+ study guides
Check: Submitted reconnaissance report reviewed by instructor; pass requires active scan performed only on isolated lab VM (instructor verifies network logs), passive OSINT sources documented, at least three CVEs cross-referenced, and attack surface assessment present — 80% rubric score. Any evidence of scanning unauthorized targets is an automatic fail and academic integrity referral.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

CompTIA Security+ — Threats, Attacks, and Vulnerabilities
1. A security analyst queries a public database and retrieves the registrant name, registration date, and name servers for a company's domain without sending any packets to that company's infrastructure. Which type of reconnaissance does this describe?
CompTIA CySA+ — Vulnerability Management
2. A student runs `nmap -sV -O 192.168.56.101` against the lab VM and sees port 21 open with the banner 'vsftpd 2.3.4'. What is the correct next step to assess risk?
CompTIA Security+ — Threats, Attacks, and Vulnerabilities
3. Which Nmap flag is used to attempt identification of the target system's operating system?
CompTIA Security+ — Threats, Attacks, and Vulnerabilities
4. A penetration tester uses the Google search operator `filetype:pdf site:example.com` to find publicly indexed documents on a target website. This technique is best classified as:
ISC2 CC — Security Operations
5. During a lab, a student wants to verify that the Metasploitable2 VM is truly isolated before running an Nmap scan. What is the most appropriate verification step?
CompTIA Security+ — Threats, Attacks, and Vulnerabilities
6. Which of the following best describes the purpose of the enumeration phase, as distinct from port scanning?
CompTIA CySA+ — Vulnerability Management
7. A student's Nmap scan on the isolated lab VM shows 15 open ports with various outdated service versions. The student matches four of them to critical CVEs. In the reconnaissance report, these findings should be categorized under which section?
ISC2 CC — Legal, Regulations, and Compliance
8. Under what legal framework could performing an unauthorized port scan against a computer system in the United States potentially be prosecuted?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.