How to Use Nmap for Network Scanning in CEH?
2025-2026 complete Nmap mastery guide for CEH v13 practical exam. All essential commands, scan types (SYN, UDP, Xmas), NSE scripts, firewall evasion, OS detection, output formats, timing templates with real examples and how Ethical Hacking Training Institute gives you 300+ live targets for daily Nmap practice.
Introduction
Nmap is used in every single CEH practical exam — you get 4–6 flags just from proper scanning. Host discovery, port scanning, service version detection, OS fingerprinting, vulnerability scanning — all start with Nmap. Students who master Nmap finish scanning section in under 30 minutes. At Ethical Hacking Training Institute we give you 300+ real network devices daily so you practice every Nmap command exactly like the real exam.
Top 15 Nmap Commands You Must Memorise for CEH
| Rank | Command | Purpose |
|---|---|---|
| 1 | nmap -sn 192.168.1.0/24 | Ping sweep |
| 2 | nmap -p- -sV -sC -O target | Full aggressive scan |
| 3 | nmap --script vuln target | Vulnerability scan |
Memorise these commands.
Host Discovery & Ping Sweep Techniques
- nmap -sn → no port scan
- nmap -PE/PP/PM → ICMP types
- nmap -PS80,443 → TCP SYN ping
- nmap -PA21,22 → TCP ACK ping
- nmap -PU53 → UDP ping
- Our lab has 300+ hosts daily
Port Scanning Types – SYN, TCP Connect, UDP, Xmas
SYN scan (-sS) is default & stealthiest. TCP connect (-sT) when no root. UDP scan (-sU) for DNS, SNMP. Xmas/Null/Fin scans (-sX/-sN/-sF) to bypass firewalls. Always combine with -sV for version detection.
Master scan types.
NSE Scripts – Your Secret Weapon
- --script vuln → all vulnerability scripts
- --script smb-os-discovery, http-enum
- --script smb-vuln-ms17-010
- --script=http-title, ssh-auth-methods
- Our lab has 200+ NSE challenges
Firewall & IDS Evasion Techniques
- -f -f → packet fragmentation
- -D RND:10 → decoy scans
- --source-port 53 → spoof source port
- -g 53 → source port 53
- --data-length 100 → add junk data
Timing Templates & Speed Control
- -T0 to -T5 → paranoid to insane
- -T4 most used in exam
- --min-rate, --max-rate
- --scan-delay 5s
Use timing templates.
Output Formats & Scripting
- -oN normal.txt → readable
- -oX xml.xml → for parsing
- -oG grepable.txt → easy grep
- -oA all formats
Conclusion: Become Nmap Expert in 30 Days
Nmap alone gives you 4–6 flags in CEH practical. Join Ethical Hacking Training Institute and get:
- 300+ live network targets daily
- All Nmap commands pre-loaded
- Daily challenges
- Weekend & weekday batches
- 100% placement support
Book free demo — run first Nmap scan in 10 minutes!
Avoid common mistakes.
Frequently Asked Questions
Which Nmap scan is default?
SYN scan (-sS).
Is -sV important?
Yes — version detection mandatory.
Is NSE scripting tested?
Yes — 5–8 questions + flags.
Which timing template for exam?
-T4 — balanced speed.
Is UDP scan slow?
Yes — but required for DNS, SNMP.
Do you provide targets?
Yes — 300+ live devices daily.
Is firewall evasion tested?
Yes — decoy, fragmentation.
Is OS detection accurate?
90% — with -O flag.
Weekend batch covers Nmap?
Yes — full hands-on.
How many commands to learn?
Top 25 — we give cheat sheet.
Is Masscan better?
For speed — we teach both.
Is output format important?
Yes — for reporting.
Do you teach stealth scanning?
Yes — Xmas, Null, FIN scans.
Is Nmap enough for scanning?
95% — rest with NSE.
How to start today?
Book free demo — scan first network in 10 minutes!
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0