Defeating VPN Always-On
Where
Talks
hack.lu 2023
Duration
25 min
Explains how VPN always-on agents can be bypassed through spoofed network checks and Windows filtering rules.
Summary
The talk examines how the always-on mode of three VPN agents can be defeated before the tunnel is established, letting an unprivileged user reach the network. It covers an on-network attacker and an insider on a hardened laptop, whose settings and logs are readable by the user.
Two checks are targeted. Trusted network detection can be fooled by impersonating expected DNS and DHCP values. Captive portal detection can be abused with a fake portal that opens a channel, though one vendor disables it by default. Some agents also permit unexpected UDP ports. Windows Filtering Platform rules explain the differences: one vendor hides its filters behind access control, and another shadows a restrictive rule with a higher-priority permit.
Results vary by vendor and version, and the vendors' responses are described. Red teams should expect at least one working path per product. Defenders should avoid trusting network values an attacker can spoof, prefer certificate-based server checks, and protect configuration files.
Related talks
Talks·30 min
Julien Bedel
Shows how COM and DCOM are abused for execution, persistence, lateral movement and impersonation on Windows.
Talks·27 min
Maxime Escourbiac
Shows how a GlobalProtect client flaw chains from network-level redirection to code execution and then SYSTEM privileges.
Talks·50 min
Matthew Fisher
Walks through fast, low-effort internal network tactics for harvesting credentials and escalating toward domain admin.


