
أداة استطلاع لكشف CVE-1999-0524 (كشف الطابع الزمني لـ ICMP) عن طريق أتمتة استخراج الطوابع الزمنية باستخدام nping أو hping3. تحوّل الطوابع الزمنية الخام لـ ICMP إلى أوقات النظام عن بُعد قابلة للقراءة البشرية للتحقق من الثغرة.
مجموعة من البرامج النصية لاكتشاف وتوضيح ثغرة كشف معلومات طابع الوقت عبر ICMP (CVE-1999-0524).
تقوم هذه الأدوات بإرسال حزم ICMP من النوع 13 (طلب الطابع الزمني) مصممة خصيصًا وتحليل الردود لاستخراج معلومات وقت النظام البعيد.
nping (موصى به) و hping3 (Bash)ICMP-Timestamp.ps1 — PowerShell (ويندوز)icmp_timestamp_scanner.sh — Bash (لينكس)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
استخدام hping3 بدلاً من nping
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.