ISAKMP hacking - How much should we trust our tools?
The report describes that ISAKMP aggressive mode with pre-shared key authentication allows an attacker who knows a valid user ID to obtain the encrypted pre-shared key. The author found an open ISAKMP VPN port on a Cisco target and used a tool to extract the PSK.
During a VPN testing project we looked a bit deeper into the security vulnerability caused by ISAKMP aggressive mode. To put things simple, the important fact for us is that assuming pre-shared key authentication and possession of a valid userid makes it possible to obtain the valid encrypted PSK.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the VPN server uses ISAKMP aggressive mode with pre-shared key authentication, which sends a crackable hash of the PSK to any client that supplies a valid user ID.
Impact
An attacker with a valid user ID could obtain the encrypted pre-shared key and potentially crack it to gain VPN access, though the text does not confirm successful cracking.
What the attacker needed
Valid user ID; network access to ISAKMP port
How it was found
- Discover the open ISAKMP VPN port on the target system.
- Use a tool to send an aggressive mode request with a valid user ID.
- Capture the encrypted pre-shared key from the response.
- Crack the encrypted PSK offline to recover the plaintext key.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
ISAKMP is a protocol used to set up VPN connections. In aggressive mode, the VPN server sends back an encrypted version of the pre-shared key (a secret password shared by all users) to anyone who asks with a valid user ID. An attacker who knows a user ID can capture that encrypted key and then crack it offline to recover the secret.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.