Windows Security
  Home arrow Windows Security arrow Page 9 - Hardening Communications
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SECURITY

Hardening Communications
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 4
    2004-10-06

    Table of Contents:
  • Hardening Communications
  • Use IPSec Policies
  • Use IPSec for Confidentiality
  • Use IPSec to Manage Connections
  • Protect IPSec-Protected Computers During Startup
  • Protect WAN Communications
  • Harden NT 4.0 Remote Access Server Configuration
  • Harden Client Access
  • Use L2TP/IPSec VPNs
  • Harden Remote Access Clients
  • Secure Wireless Access

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Hardening Communications - Use L2TP/IPSec VPNs


    (Page 9 of 11 )

    Where dial-up access is required, require the use of VPNs and do not allow plain dial-up connections. VPNs are a better choice for security. Two VPN types can be configured. Where possible, use L2TP/IPSec. PPTP is considered to be a less secure VPN protocol than L2TP/IPSec; however, it can provide secure communications if correctly configured. In general, though, L2TP/IPSec is simply a better choice. Important differences in these technologies are listed in Table 11-3.


    Figure 11-4.  Remote access can be controlled via Remote Access Policies.

    Technology

    PPTP

    L2TP/IPSec

    Encryption

    Microsoft Point-to-Point Encryption (MPPE). Only the data payload is encrypted. 

    IPSec. Encrypts most parts of the packet.

    Tunnel

     

    PPTP

    L2TP

    Authentication

    User based. May be mutual, for example with MS-CHAPv2.

    Requires mutual machine authentication via certificates. (Can be configured for shared secret. Do not do so.)

    NAT

    Typically no problems.

    Can cause problems as NAT-T-compliant clients and servers enable the use of IPSec over NAT.

    Table 11-3. Differences in PPTP and L2TP/IPSec VPNs

    When VPN access is configured during setup, both PPTP and L2TP/IPSec ports are configured on the RRAS server. No configuration is possible directly on the ports. Settings on clients determine which protocol is used; however, if you can restrict VPN access to one or the other, you may delete the other type of communication port.


    NOTE: The L2TP/IPSec standard as originally written is incompatible with NAT because IPSecencrypted packets including a checksum calculated over the IPSec source address. Since NAT modifies the source address, packets are considered to be corrupt or modified and dropped when received. NAT-Traversal, or NAT-T, uses UDP to encapsulate the IPSec packet, and therefore the packet can pass through the NAT server without a modification that will cause problems for IPSec. The NAT server must implement NAT-T. The Windows Server 2003 implementation of Internet Key Exchange (IKE), a component of IPSec, can detect NAT-T and use UDP-ESP encapsulation.

    Use Remote Access Policies

    When remote access policies are used, user accounts in Windows Server 2003 and/or Windows 2000 domains are configured to Control Access Through Remote Access Policy. However, the default remote access policy is configured to deny all remote access requests. Do not delete the default remote access policy.

    Remote access policies are used to provide remote access configuration. The beauty of remote access policies is that many policies can be created, each specifically designed for a group of clients, a time of day, or some physical device requirement. This allows for many models of remote access control. While it is not the most desirable response, you can create a weak policy for use with legacy clients, while retaining more secure authentication and encryption for others. The weakest connections do not have to dictate security for the entire organization. Hardening remote access connections can be accomplished by setting up proper remote access policies. The following list of hardening steps is presented during a walkthrough of remote access policy creation for connections by the custom-created Auditors group. When IAS is used to centralize RRAS, additional settings can be configured. Techniques for hardening connections according to policy conditions are listed in Table 11-4. A policy condition is checked when a connection attempt is made. If the properties of a connection match the policy condition in a remote access policy, then the remote access policy is applied.

    Condition

    Recommendation

    Authentication Type

    Create policies that deny connections based on the use of legacy authentication types.

    Called Station-ID

    Combine with user groups and/or times of day and deny access to specific numbers. Identify restraints for allowed connections to a specific number.

    Calling Station–ID

    Create policy profile restrictions according to the specific location.

    Day and Time restrictions

    Deny or allow access according to the time of day.

    Tunnel type

    Deny or allow access depending on the protocol; specifically, prevent access via PPTP to force use of L2TP/IPSec.

    Windows Groups

    Deny or allow access by Windows user group.

    Service Type

    Deny connections according to the service requested; for example, prevent the use of telnet through this remote access server.

    Table 11-4. Policy Conditions

    To use remote access policies:

    1. Right-click the Remote Access Policy node of the Routing and Remote Access console and select New Remote Access Policy. Then click Next.

    2. Select Set Up a Custom Policy, enter a name for the new policy, and then click Next.

    3. Click Add to add a policy condition. Select Windows-Groups and click Add.

    4. Click Add and enter or browse to and select the Auditors group.

    5. Click Grant Remote Access Permissions; then click Next.

    6. Click the Edit Profile button to open the Dial-in Profile property pages, as shown here:

    7. Restrict connection type to VPN by selecting Allow Access Only Through These Media (NAS Port Type) and then selecting Virtual, as shown here:

    8. Harden authentication. Click the Authentication tab; then click EAP Methods.

    9. Click Add and select Smart Card or Other Certificate, and then click OK.

    10. Click all other checked authentication methods to deselect them.

    11. Require Strong Encryption. Select the Authentication tab.

    12. Click to deselect Basic Encryption, click to deselect Strong Encryption, and click to deselect No Encryption.

    13. Click OK. Then click Next and then Finish.

    This is from Hardening Windows Systems, by Roberta Bragg, (McGraw-Hill/Osborne, ISBN: 0072253541). Check it out at your favorite bookstore today. Buy this book now.

    More Windows Security Articles
    More By McGraw-Hill/Osborne


     

    WINDOWS SECURITY ARTICLES

    - Advanced Data Protection in Windows
    - Basic Data Protection in Windows
    - Windows XP Security
    - Lucky You, Microsoft has Sent You an Email! ...
    - Implementing a PKI, Part III: Managing Micro...
    - Windows 2000 Security
    - A Security Roadmap
    - Implementing a Public Key Infrastructure (PK...
    - Hardening Communications
    - Windows Host Security: Network Security Hacks
    - Hardening Wireless LAN Connections, Part 2
    - Hardening Wireless LAN Connections Part 1
    - Windows Reverse Engineering
    - Microsoft's Latest Security Updates -- The G...
    - Cross Site Scripting (XSS): An Overview





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway