ICMP timestamp uses the-PP option in NMAP.
# NMAP-PP 192.168.1.1
This scan will send more than 2000 packets, but the first one is a timestamp
If you only want to send an ICMP timestamp package, you can
# Hping3 192.168.1.1-C 1-c 13-I wlan0
-C 1 indicates sending a package,
-I: Specify the NIC.
-C 13 indicates specifying ICMP Type 13, that is, time stamp
Packets captured by Wireshark will find that the IP layer of the sent packet is ICMP, but no TCP layer,
This shows that the ICMP function is embedded in the TCP/IP stack, instead of relying on a special program.
Therefore, ICMP timestamp scan is used to determine whether a machine is online,
Instead of checking whether a specific port is opened
However, the ICMP timestamp package is hard to be seen on a general network,
Therefore, such a package is usually filtered out by the firewall,
ICMP timestamp is designed to synchronize the time of two machines,
However, more time synchronization is achieved through the NTP protocol.
Output in the above hping3 example
ICMP timestamp: originate = 17858590 receive = 17859599 transmit = 17859599
The Unit is millisecond = 1/1000 seconds.
This is converted to an hour, which is about AM.
That is, the time elapsed since UTC.