For the complete documentation index, see llms.txt. This page is also available as Markdown.
Network Scanning
MITRE ATT&CK, Discovery, Technique T1046
ARP Scanning
ARP is a protocol used to resolve a MAC address for the NIC that has been configured with an IP address. ARP requests are sent in cleartext, meaning that anyone on the broadcast domain can observe and record them.
# Active scanningarp-scan-Ieth0$subnet# Passive reconaissance netdiscover-ieth0-r$subnet-p
Ping Sweep
# Perform a ping sweep with Nmapnmap-sn$subnet/24-oAPingSweepHosts# Create a Live Hosts ListcatPingSweepHosts.gnmap|awk'/Up$/{print $2}'>LiveIPs.txt
TCP Scanning
# Custom host discovery with Nmapnmap-PS21-25,80,110,139,443,445,623,3306,3389,8000,8080,8081,etc$subnet/24-oADiscoveredHosts# Variation of custom discovery scan with Nmapsudonmap-Pn-n-sS-p$customports--min-hostgroup255--min-rtt-timeout0ms--max-rtt-timeout100ms--max-retries1--max-scan-delay0--min-rate2000-oAnmap-discovery-vvv-open-iL$targetfile# Custom full port scansudonmap-Pn-n-p--sV--min-hostgroup255--min-rtt-timeout25ms--max-rtt-timeout100ms--max-retries1--max-scan-delay0--min-rate1000-oAfull-nmap-vvv--open-iL$targetfile# Exclude hosts from scans with Nmap by specifying IPsnmap-sV-F--exclude127.0.0.2,127.0.0.4127.0.0.1/24# Exclude hosts from scans with Nmap by specifying filenmap-sV-F--excludefile$file_name127.0.0.1