Nmap: ICMP Network Scanning.
ICMP scanning in Nmap primarily involves sending ICMP echo requests (ping) to remote hosts to determine their online status and measure their response times. Here's how you can perform ICMP network scanning with Nmap:
1. Ping Sweep (ICMP Echo Request Scan):
To perform a basic ping sweep using Nmap, you can use the following command:
nmap -sn <target>
- `-sn:` This option tells Nmap to perform a "ping scan," which sends ICMP echo requests to the specified target(s) and reports which hosts are online. Replace <target> with the target IP address or a range of IP addresses you want to scan. Nmap will send ICMP echo requests to these targets and provide a list of hosts that responded.
2. ICMP Timestamp Requests (Timestamp Scan):
nmap -Pn --send-icmp -oA outputfile <target>
- -Pn: This option tells Nmap not to perform host discovery (ping) but instead scan the specified target(s) directly.
- --send-icmp: This option instructs Nmap to send ICMP timestamp requests. Replace <target> with the target IP address or range. This scan will provide information about the uptime of the target system(s).
Comments