Hi Jay Tee,
Your host’s little-endian timestamp replies leak its system clock. You can eliminate this exposure either at the OS level or in your firewall/router. Below is a structured approach.
Windows Server • Disable timestamp replies in the registry:
Run regedit
.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
.
Create DWORD DisableICMPRedirect
= 1
.
- Reboot or restart the TCP/IP stack. • Alternatively, use Windows Firewall:
# Block inbound timestamp requests (ICMP type 13)
New-NetFirewallRule -DisplayName "Block ICMP Timestamp Req" -Protocol ICMPv4 -IcmpType 13 -Direction Inbound -Action Block
# Block outbound timestamp replies (ICMP type 14)
New-NetFirewallRule -DisplayName "Block ICMP Timestamp Rep" -Protocol ICMPv4 -IcmpType 14 -Direction Outbound -Action Block
Now test using hping3 or nping to probe type 13:
hping3 --icmp --icmp-ts <target_ip>
If could, please tell me what kind of firewall you are using so I can specify more on the steps to deal with it
================================================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.