Categories
Tags
161 words
1 minutes
Introduction to Nmap
Introduction to Nmap
What is Nmap?
- Open-source network scanning and security auditing tool.
- Written in C, C++, Python, and Lua.
- Scans networks using raw packets.
- Detects:
- Live hosts on the network
- Running services and their versions
- Operating systems and their versions
- Firewall, IDS, and packet filter configurations
Key Use Cases
Nmap is widely used by network admins and security experts for:
- π Security auditing of networks
- π― Simulated penetration testing
- π§± Firewall/IDS settings check
- πΊοΈ Network mapping
- π Response and behavior analysis
- π Open port identification
- β οΈ Vulnerability assessment
Nmap Architecture
- Host Discovery
- Finds which devices are active on a network.
- Port Scanning
- Identifies open, closed, or filtered ports on a target.
- Service Enumeration & Detection
- Detects the services running on open ports.
- Also finds the name and version of the application.
- OS Detection
- Identifies the operating system and version of the host.
- Nmap Scripting Engine (NSE)
- Allows custom scripts for advanced scanning and exploitation.
- Useful for:
- Vulnerability detection
- Backdoor detection
- Brute-forcing, etc.
Scan Techniques
performing nmap βhelp gives us a
nmap --help
Nmap TCP-SYN Scan (-sS) β Simple Note.
- Also called half-open scan.
- Default scan type in Nmap.
- Very fast and stealthy.
- Does not complete the full 3-way TCP handshake.
Introduction to Nmap
https://fuwari.vercel.app/posts/introduction-to-nmap/