Vulnerability Assessment
Companion scripts to vulnerability scanner
Nmap
Exclude ports
Any crashing service during the assessment? Exclude the host from your list (-iL) and perform the scan one more time with whitelisted ports.
nmap -v -sV -sC -sS 192.168.0.1 --exclude-ports 123 -oA int-nmap-VATop 1000 most common ports
When the scans take too much time, you can limit ports, number of probe retries and disable RTT prolongation. It make sense to chose the top 1000 ports or more, instead of 65535. Ping your asset to retrieve current response time in milliseconds.
UDP
# UDP
nmap -v -sUV --top-ports 1000 --max-rtt-timeout 400ms --initial-rtt-timeout 150ms --max-retries 5 -sC -iL ./internal.hosts -oA int-nmap-UDP100TCP
# TCP port scan
nmap -v --top-ports 1000 --max-rtt-timeout 400ms --initial-rtt-timeout 150ms --max-retries 5 -sV -sC -sS -iL ./internal.hosts -oA int-nmap-VAMerge scripts - Nessus, Nmap
Automap.sh
Last updated
Was this helpful?