Home > Glossary > CompTIA PenTest+ > Nmap (Network Mapper)

📖 What is Nmap (Network Mapper)?

Nmap (Network Mapper) is an industry-standard open-source tool used for network discovery and security auditing. It uses raw IP packets to determine what hosts are available on the network, what services they offer, and what operating systems they are running.

🥋 Sensei Says:

"Memorize common flags like -sS for stealth SYN scans and -sV for version detection, as these are frequent targets for exam questions."

📚 Certification: CompTIA PenTest+ (PT0-002)

🔑 What are the Key Concepts of Nmap (Network Mapper)?

  • TCP SYN Scanning (-sS) performs a 'half-open' scan by not completing the three-way handshake, making it stealthier and faster than full connect scans.
  • Service Version Detection (-sV) probes open ports to identify the specific software and version running, which is essential for mapping known vulnerabilities.
  • OS Fingerprinting (-O) analyzes unique TCP/IP stack responses to determine the target's operating system, helping testers tailor their subsequent attack vectors.
  • The Nmap Scripting Engine (NSE) allows users to automate tasks like vulnerability detection and advanced discovery using a wide library of Lua scripts.
  • UDP Scanning (-sU) identifies open UDP ports, though it is significantly slower than TCP scans due to the connectionless nature of the protocol.

🎯 How does Nmap (Network Mapper) appear on the PT0-002 Exam?

You may be asked to identify the best scan type when the objective is to minimize the footprint on target logs while identifying open TCP ports. You should select the SYN scan (-sS) as it avoids completing the full three-way handshake.

A scenario might describe a situation where you have identified an open port but need to determine if the service is vulnerable to a specific CVE. Expect to choose version detection (-sV) to find the exact software version.

Expect questions where you must choose the correct tool or flag to perform a vulnerability scan using a pre-defined script. This requires knowledge of the Nmap Scripting Engine (NSE) and the --script flag.

❓ Frequently Asked Questions

What is the primary difference between a TCP Connect scan (-sT) and a SYN scan (-sS)?

A Connect scan completes the full three-way handshake, which is easily logged by the target. A SYN scan is 'half-open,' sending a SYN and waiting for a SYN/ACK but never sending the final ACK, making it more discreet.


Why is UDP scanning often slower and less reliable than TCP scanning?

UDP is connectionless, meaning services often don't respond when a port is open. Furthermore, firewalls frequently drop ICMP 'Port Unreachable' messages, forcing Nmap to wait for timeouts before marking a port as filtered.

Related Terms from CompTIA PenTest+

📝 Related Study Guides

Comparison 8 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

Choose CISSP if you want broad technical security expertise across eight domains, including cryptography, network security, and software development. Choose CISM if you're focused on information security management, governance, and risk management from a leadership perspective. CISSP is ideal for hands-on security architects, while CISM is designed for security managers and directors.

Career Guide 9 min read

The IT Certification Roadmap: Where to Start in 2026

Start your IT certification journey in 2026 with CompTIA A+ for general IT foundations, then branch into networking (Network+), cybersecurity (Security+), or cloud computing (AWS Cloud Practitioner or Azure Fundamentals) based on your career goals. Each path leads to advanced certifications like CISSP, AWS Solutions Architect, or CISM within 2-3 years of focused progression.

Comparison 10 min read

CISSP vs CISM: Which Certification Should You Pursue in 2026?

The CISSP is a broad, technical-to-managerial certification focusing on security operations and architecture across eight domains. In contrast, CISM is a specialized management certification centered on governance, risk management, and program development. Choose CISSP for comprehensive security expertise and CISM if you are pivoting specifically into security leadership and governance roles.

🧠

Test Your Knowledge

Think you understand Nmap (Network Mapper)? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium