Nmap - Network Mapper
A legismertebb hálózati felfedezési és biztonsági audit eszköz részletes magyar útmutatója.
user@bitforge:~/tools/nmap$
$ nmap --version
Nmap version 7.94 ( https://nmap.org )
Platform: linux
Compiled with: liblua-5.3.6 openssl-1.1.1f libssh2-1.8.0 libz-1.2.11 libpcre-8.39 libpcap-1.9.1 nping-0.7.94
Platform: linux
Compiled with: liblua-5.3.6 openssl-1.1.1f libssh2-1.8.0 libz-1.2.11 libpcre-8.39 libpcap-1.9.1 nping-0.7.94
$ echo "Ready for network discovery..."
Hálózati felfedezésre kész!
Mi az Nmap?
Az Nmap (Network Mapper) egy nyílt forráskódú eszköz hálózati felfedezéshez és biztonsági audithoz. Gordon Lyon (Fyodor) fejlesztette ki 1997-ben, és azóta a penetration testerek és hálózati adminisztrátorok egyik legfontosabb eszközévé vált.
Főbb Funkciók
- > Host discovery és port scanning
- > Service és version detection
- > Operating system fingerprinting
- > NSE (Nmap Scripting Engine) támogatás
- > Firewall/IDS evasion technikák
Eszköz Adatok
Verzió: 7.94
Licenc: GPL
Platform: Cross-platform
Nyelv: C/C++
Nehézség: Kezdő
Hasznos Linkek
Telepítés
🐧 Linux
# Ubuntu/Debian
sudo apt update
sudo apt install nmap
# CentOS/RHEL
sudo yum install nmap
# Arch Linux
sudo pacman -S nmap
🪟 Windows
# Chocolatey
choco install nmap
# Vagy letöltés:
# nmap.org/download.html
# Winget
winget install Insecure.Nmap
🍎 macOS
# Homebrew
brew install nmap
# MacPorts
sudo port install nmap
# Vagy letöltés:
# nmap.org/download.html
Alapvető Használat
Host Discovery
# Ping sweep - élő hostok keresése
nmap -sn 192.168.1.0/24
# ARP scan helyi hálózaton
nmap -PR 192.168.1.0/24
# TCP SYN ping
nmap -PS22,80,443 192.168.1.1
A host discovery segít megtalálni az aktív eszközöket a hálózaton anélkül, hogy port scanninget végeznénk.
Port Scanning
# TCP SYN scan (stealth scan)
nmap -sS target.com
# TCP connect scan
nmap -sT target.com
# UDP scan
nmap -sU target.com
# Comprehensive scan
nmap -sS -sU -T4 -A -v target.com
A port scanning feltárja, hogy mely portok vannak nyitva a célponton.
Service Detection
# Service version detection
nmap -sV target.com
# Aggressive service detection
nmap -sV --version-intensity 9 target.com
# Specific portokra
nmap -sV -p 22,80,443 target.com
A service detection meghatározza, hogy milyen szolgáltatások futnak a nyitott portokon.