Network World
Saturday, November 22, 2008
DNSstuff.com
Get information about your IP
IP Information
50+ On-demand DNS and network tools

Mark Lewis: Best practices from a roving CCIE

Cisco Subnet

Navigation

Top 10 reasons why IPsec VPNs fail.

As an independent consultant, I am often asked to be a ‘fresh set of eyes’ and perform a network assessment. This sometimes involves an examination of an IPsec VPN.

During discussions around an IPsec VPN deployment, I occasionally hear a variation of the following: “Yes, we have an IPsec VPN, and it is configured to use strong cryptographic algorithms. So it’s absolutely secure, and you might like to spend your time on other elements of our network rather than wasting your time examining the VPN.” These words can sometimes indicate complacency and a belief in the still surprisingly widespread view that an IPsec VPN, especially one using strong cryptographic algorithms such as AES, is secure, irrespective of its precise design and configuration. 

By now, almost everyone knows that it’s generally not a good idea to use weak algorithms such as 56-bit DES in an IPsec VPN. 

But what is still sometimes not understood is that even if an IPsec VPN uses relatively strong algorithms such as AES, the very strength and protection offered by these algorithms can be completely undermined by bad IPsec VPN design and configuration. 

If you are think that I am exaggerating, and that even badly configured IPsec VPNs might be vulnerable only to governments and others with access to huge computing resources, you might like to have a look at articles such as these two fairly random examples: "Lost in Translation: Theory and Practice in Cryptography"  and  "Cisco Security Notice: Cisco Response to Internet Key Exchange Issue". 

So, if you have an IPsec VPN and you are not absolutely certain about its configuration, it may be a good idea to just to double check that you are not only using the right algorithms, but also that the VPN is otherwise properly designed and configured.  

Here's a top ten of possible weak points to check as you assess your IPsec VPN:

 

1. Use of weak pre-shared keys.

2. Inappropriate use of IKE/ISAKMP aggressive mode (with weak pre-shared keys).

3. Inappropriate method of authentication (pre-shared keys when digital signature [certificate] based authentication might be more appropriate).

4. Inappropriate use of wildcard or group pre-shared keys (where use of alternatives might be more appropriate/possible).

5. Use of identical pre-shared key with multiple peers (similar to #4).

6. Inappropriate use of Extended Authentication (XAuth, which may be vulnerable when used with weak pre-shared keys and aggressive mode IKE/ISAKMP).

7. Vulnerability of NTP and/or CRLs/OCSP used by PKI to DoS attack (relevant when using digital signature authentication).

8. Relatively weakly secured CA private key storage.

9. Storage of IPsec VPN gateway configuration files containing paintext pre-shared keys.

10. Use of encryption without authentication. 

 

That top ten is really just the start. So, have a really good dig around until you have covered all the bases and are absolutely satisfied that your IPsec VPN really is secure.

 

 

And if you need more information on the above top ten (and more), Google is a good place to start. If Google doesn't do the job, there a number of books (including my own!) that offer much more on this - just pay a visit to Amazon.

 

 

Well, that’s it for this blog entry. If you have any thoughts, please do leave a comment. In the coming weeks, I’ll be blogging on a variety of subjects, but if you would like me to cover something in particular be sure to let me know.

Mark

This should certainly be in the top 10....

Useful answer?
0

If your end user is running their system(s) without anti-spy/adware/anti-virus programs, a trojan can compromise your entire infrastructure through your vpn. Either run your vpn's via some sort of nac scanning device or ensure you have a solid defense in place on the end user's side of the link.

Securing an IPsec VPN doesn't stop when the tunnel is secure...

Useful answer?
0

Thanks for the comment, Anon.

My blog entry highlighted the fact that many IPsec VPN deployments are insecure from a tunnel security perspective. But, just as you say, the process of ensuring that an IPsec (or other) VPN is secure doesn't stop at proper tunnel design and configuration. Far too many deployments are insecure because the designers have failed to consider the fact that remote peers connecting over a VPN may have been compromised. This is where things like NAC can help...

Mark

My experience too

Useful answer?
0

A good article but how to bring it to the decision makers and management? Most (%99 my experience) of them really think strong encryption means total security but talk to them of AAA and key management and they are totally lost. It is sad and takes a huge amount extra time and resources to educate them, if you can? Maybe all of us need reminders sometimes but some need it more often.

Getting the attention of decision makers

Useful answer?
0

Hi tuomoks,

I agree that it can sometimes be tricky getting the attention of decision makers with regard to the dangers of poorly designed IPsec VPNs.

Sometimes it may help to point out that IPsec VPN hacking/cracking 'how-to' guides and tools are readily available on the Internet:

www.ernw.de/download/pskattack.pdf

http://ikecrack.sourceforge.net/

The availability of these 'how to' guides and tools means, of course, that even the relatively unskilled hacker/cracker can compromise a poorly designed IPsec VPN. That tends to make people sit up and take notice a bit more...

Mark

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <i> <b> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <br /> <br> <p>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.

About Mark Lewis

Mark Lewis (CCIE#6280) is an independent consultant who helps service provider and large enterprise clients design and implement leading-edge technologies. Over the last couple of years, Mark has designed and implemented a variety of large-scale technology solutions including VPN, MPLS, QoS, data center, and IP telephony. Mark is the author of three books for Cisco Press: Comparing, Designing, and Deploying VPNs, Troubleshooting Virtual Private Networks, and CCIE Voice Exam Quick Reference Sheets.

Contact Mark.

RSS feed XML feed

Mark Lewis archive.

Cisco Subnet

RSS feed Cisco news RSS feed

The opinions expressed in this Weblog are those of the writer and may not represent the opinions of Network World.

Advertisement: