NMAP Flashcards
Port Scan Type: Full Connect
AKA Tcp Connect or Full Open Scan. complete 3-way handshake torn down with RST. Easist to detect but most reliable. Open port respond with SYN\ACK– closed with RST
Port Scan Type: Stealth
AKA SYN scan or Half-open scan. Only SYN are sent. Open gets a syn/ack closed gets rst. Better at hiding scan and bypassing firewalls
Port Scan Type: Inverse TCP Flag
AKA Null or FIN scan Uses FIN URG or PSH flag or none at all. Open port gets no response. Closed gets RST/ACK
Port Scan Type: XMAS
XMAS URG, PSH FIN, flags are on. Open gets no response. closed gets RST/Ack
Port Scan Type: ACK Flag Probe
Probe with ACK. Look at return RST packet if TTL is less than 64 or the WINDOW size has anything other than 0 in it it is open. Also can be used to check filtering if there is no response there is a stateful firewall between attacker and host if a RST comes back there is not
Nmap switch: -sA
ACK scan
Nmap switch: -sF
FIN Scan
Nmap switch: -sI
IDLE Scan
Nmap switch: -sL
DNS or list scan.
Nmap switch: -sN
Null scan
Nmap switch: -sO
Protocol Scan
Nmap switch: -sP
Ping scan
Nmap switch: -sR
RPC Scan
Nmap switch: -sS
Syn scan
Nmap switch: -sT
TCP full connect
Nmap switch: -sW
Window scan
Nmap switch: -sX
Xmas Scan
Nmap switch: -PI -PE -PM -PP
ICMP ping
Nmap switch: -Po -PN
no ping
Nmap switch: -PS
Syn Ping
Nmap switch: -PT
TCP ping
Nmap switch: -oN
Normal output
Nmap switch: -oX
XML output
Nmap switch: -oG
GREPable output
Nmap switch: -oA
All formats including script kiddie
Nmap switch: -O
OS finger printing
Nmap switch: -A
aggressive scan includes version scan, script, protocol, and traceroute
Nmap switch: -F
Fast limited ports only 100
Nmap switch: -P
port range
Nmap switch: -iL
input from list
Nmap switch: -PR
ARP ping
Nmap switch: -f
Fragment package
Nmap switch: -T0
Serial slowest Paranoid 5 min between probes
Nmap switch: -T1
serial slowest Sneaky 15 seconds between probes
Nmap switch: -T2
Serial slow normal speed Polite .4 sec (400 mil seconds) between probes
Nmap switch:-T3
Parallel normal speed default (max delay of 1 sec )