
Uno strumento di ricognizione per rilevare CVE-1999-0524 (ICMP Timestamp Disclosure) automatizzando l'estrazione dei timestamp tramite nping o hping3. Converte i timestamp ICMP grezzi in orari del sistema remoto leggibili dall'uomo per la validazione delle vulnerabilità.
Un insieme di script per rilevare e dimostrare la vulnerabilità di divulgazione di informazioni sul timestamp ICMP (CVE-1999-0524).
Questi strumenti inviano pacchetti ICMP Type 13 (Timestamp Request) appositamente costruiti e analizzano le risposte per estrarre informazioni sull'orario del sistema remoto.
nping (consigliato) e hping3 (Bash)ICMP-Timestamp.ps1 — PowerShell (Windows)icmp_timestamp_scanner.sh — Bash (Linux)nping (da Nmap) nel PATHScansione di un singolo target
.\ICMP-Timestamp.ps1 -Targets "example.com"
Scansione di più target (separati da virgola)
.\ICMP-Timestamp.ps1 -Targets "example.com","192.168.1.1","target.domain.com"
Scansione di target da un file
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt"
Salta il test ping per una scansione più veloce
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -SkipPingTest
Timeout personalizzato (millisecondi)
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -TimeoutMs 5000
nping o hping3sudo (per inviare ICMP)Rendere eseguibile
chmod +x icmp_timestamp_scanner.sh
Scansione di un singolo target
sudo ./icmp_timestamp_scanner.sh -i example.com
Scansione di più target (separati da virgola)
sudo ./icmp_timestamp_scanner.sh -l "example.com,192.168.1.1,target.domain.com"
sudo ./icmp_timestamp_scanner.sh -f targets.txt
sudo ./icmp_timestamp_scanner.sh -f targets.txt
Salta il test ping (più veloce)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -p
Usa hping3 invece di nping
sudo ./icmp_timestamp_scanner.sh -f targets.txt -t hping3
Timeout personalizzato (secondi)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -w 5
##🖨️ Esempio di Output
#################################################
# CVE-1999-0524 - Remote Date Disclosure #
# Multi-Target Enhanced Version #
#################################################
Starting scan of 3 targets...
Processing target: example.com
Host is online
[RESULT] VULNERABLE to CVE-1999-0524
Disclosed remote time: 2023-10-15T07:28:28.065Z
Timestamps - Originate: 0, Receive: 26908065, Transmit: 26908065
Processing target: 192.168.1.1
Host is offline or not responding
Processing target: target.domain.com
Host is online
[RESULT] Not vulnerable to CVE-1999-0524
The target is not disclosing system time via ICMP timestamps
Scan completed.