A VPN can combine pre-shared keys, passwords, certificates, tokens, device posture, and MFA before authorizing network access. Each factor has distinct attack conditions. For example, a weak IKE PSK can be tested offline when IKEv1 Aggressive Mode exposes the required exchange material, but that workflow does not apply generically to every IPsec or L2TP/IPsec deployment. Passwords may be sprayed or stuffed against product-specific portals or IKE XAUTH, while certificates can be stolen or affected by validation flaws. Recovering one valid factor does not necessarily establish a tunnel: remaining authentication factors, client posture, group policy, and route authorization still apply.
ike-scan -A -M <target> # aggressive mode leaks PSK material (see IKE)
# SSL-VPN login paths and request formats are product-specific; capture and reproduce
# the authorized test portal's actual request rather than using a generic NetExec command
Subtopics#
- Weak pre-shared keys: cracking default and weak PSKs.
- Password brute force: spraying and stuffing the portal.
- Certificate abuse: stolen certificates and validation bypass.