
Uma ferramenta de reconhecimento para detectar CVE-1999-0524 (Divulgação de Timestamps ICMP) automatizando a extração de timestamps via nping ou hping3. Converte timestamps ICMP brutos em horários legíveis do sistema remoto para validação de vulnerabilidade.
Um conjunto de scripts para detetar e demonstrar a vulnerabilidade Divulgação de Informação de Timestamp ICMP (CVE-1999-0524).
Estas ferramentas enviam pacotes ICMP Tipo 13 (Pedido de Timestamp) personalizados e analisam as respostas para extrair informações de tempo do sistema remoto.
nping (recomendado) e hping3 (Bash)ICMP-Timestamp.ps1 — PowerShell (Windows)icmp_timestamp_scanner.sh — Bash (Linux)nping (do Nmap) no PATHEscanear um único alvo
.\ICMP-Timestamp.ps1 -Targets "example.com"
Escanear múltiplos alvos (separados por vírgula)
.\ICMP-Timestamp.ps1 -Targets "example.com","192.168.1.1","target.domain.com"
Escanear alvos a partir de um arquivo
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt"
Pular teste de ping para varredura mais rápida
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -SkipPingTest
Timeout personalizado (milissegundos)
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -TimeoutMs 5000
nping ou hping3sudo (para enviar ICMP)Tornar executável
chmod +x icmp_timestamp_scanner.sh
Escanear alvo único
sudo ./icmp_timestamp_scanner.sh -i example.com
Escanear múltiplos alvos (separados por vírgula)
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
Pular teste de ping (mais rápido)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -p
Usar hping3 em vez de nping
sudo ./icmp_timestamp_scanner.sh -f targets.txt -t hping3
Timeout personalizado (segundos)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -w 5
##🖨️ Exemplo de Saída
#################################################
# 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.