
CVE-1999-0524(ICMPタイムスタンプ開示)を検出するための偵察ツール。npingまたはhping3を使用してタイムスタンプ抽出を自動化します。生のICMPタイムスタンプを人間が読めるリモートシステム時間に変換し、脆弱性検証を行います。
一連のスクリプトで、ICMPタイムスタンプ情報漏洩脆弱性 (CVE-1999-0524) を検出・実演します。
これらのツールは細工したICMPタイプ13(タイムスタンプ要求)パケットを送信し、応答を解析してリモートシステムの時刻情報を抽出します。
nping(推奨)と hping3(Bash)をサポートICMP-Timestamp.ps1 — PowerShell (Windows)icmp_timestamp_scanner.sh — Bash (Linux)nping(Nmap由来)が PATH にあること単一ターゲットのスキャン
.\ICMP-Timestamp.ps1 -Targets "example.com"
複数ターゲットのスキャン(カンマ区切り)
.\ICMP-Timestamp.ps1 -Targets "example.com","192.168.1.1","target.domain.com"
ファイルからターゲットをスキャン
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt"
pingテストをスキップして高速スキャン
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -SkipPingTest
カスタムタイムアウト(ミリ秒)
.\ICMP-Timestamp.ps1 -TargetFile "targets.txt" -TimeoutMs 5000
nping または hping3sudo 権限(ICMP送信に必要)実行可能にする
chmod +x icmp_timestamp_scanner.sh
単一ターゲットのスキャン
sudo ./icmp_timestamp_scanner.sh -i example.com
複数ターゲットのスキャン(カンマ区切り)
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
pingテストをスキップ(高速)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -p
npingの代わりにhping3を使用
sudo ./icmp_timestamp_scanner.sh -f targets.txt -t hping3
カスタムタイムアウト(秒)
sudo ./icmp_timestamp_scanner.sh -f targets.txt -w 5
##🖨️ 出力例
#################################################
# 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.