IPSec
Home > Ask the Security Experts > Platform Security Questions & Answers > How should the ipseccmd.exe tool be used in Windows Vista?
Ask The Security Expert: Questions & Answers
EMAIL THIS

How should the ipseccmd.exe tool be used in Windows Vista?

Michael Cobb EXPERT RESPONSE FROM: Michael Cobb

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 01 November 2007
How should the ipseccmd.exe tool be used in Windows Vista?

>
EXPERT RESPONSE
Ipseccmd is a command-line tool for displaying and managing IPsec policy and filtering rules. If you type ipseccmd show all at a Windows XP command prompt, you will get a list of Internet Key Exchange Security Associations, IPsec filters and IPsec usage statistics. It is, however, a Windows XP tool, and it is not available in Windows Vista. This functionality has moved to Netsh, a command-line scripting utility.

Netsh uses various helper DLLs, which provide an extensive set of network configuration and monitoring settings. Each group of commands specific to a networking component is called a context. For example, dhcpmon.dll provides Netsh the context and set of commands necessary to configure and manage DHCP servers. The contexts that you can use depend on which networking components you have installed.

Netsh can run in either a wired or wireless context as well; when using the tool, the user must change to the context that contains the desired command. Both contexts allow viewing and configuring connectivity and security settings of both the local and multiple computers, but to view the applied wireless Group Policy settings, for example, the wireless context must be used. For those comfortable with command-line tools, Netsh is a good, lightweight alternative to Group Policy. The help documentation for each available command is reached by the '/?' or Help options.

Vista itself has two new Netsh contexts, which I'm sure you'll find useful:

  • ipsec - this context is most comparable to policy creation in XP.
  • advfirewall - this context maps to the Windows Firewall with Advanced Security snap-in.

One definite improvement in Vista is the integration of firewall-filtering functions and IPsec protection settings. The design makes it far less likely that new firewall filters will conflict with IPsec policies and prevent network traffic from flowing as intended. It is now possible to confirm, add, modify and delete firewall rules using Windows Firewall with Advanced Security. While most users will still configure their Windows Firewall using the Windows Firewall Control Panel tool, the snap-in allows users to easily perform advanced configuration. Windows Firewall with Advanced Security provides a GUI interface for configuring Windows Firewall on remote computers and via Group Policy.

I know that some administrators have had problems trying to get scripts that previously used ipseccmd functions to then work on Vista using Netsh. That aside, the new Vista tools do make it easier to control what enters and exits your network PCs, so give them a go.

More information:
  • Ed Skoudis explains how to use the command line to find malware on your Windows box.
  • Learn more about intrusion defense in the era of Windows Vista.


  • Sound Off! -   Be the first to post a message to Sound Off!


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Platform Security
    How can 'DRAM remanence' compromise encryption keys?
    Should users have a removable boot drive for online banking?
    Is attack code valuable for vulnerabilities or just a publicity stunt?
    Will the features of Windows Vista SP1 encourage wider adoption of the OS?
    Is a Master Boot Record (MBR) rootkit completely invisible to the OS?
    Are open recursive DNS servers inherently insecure?
    Should whole disk encryption products be used with data backup software?
    Which operating system can best secure an FTP site?
    Is desktop virtualization a realistic enterprise option?
    Does FTPS encrypt data packets at the hardware or software level?

    Windows Vista Security
    Vendors rally to repair dangerous DNS flaw
    Microsoft issues DNS, SQL Server updates
    Inside MSRC: Microsoft issues guidance on DNS server update
    Microsoft to issue Windows, SQL Server updates
    Microsoft security updates blocked by bug
    Microsoft patches Bluetooth, Internet Explorer flaws
    Inside MSRC: Bluetooth, Internet Explorer issues explained
    Will the features of Windows Vista SP1 encourage wider adoption of the OS?
    Microsoft to repair critical Windows, Internet Explorer flaws
    Microsoft Jet Database Engine update could be issue for admins

    IPSec
    Is an IPsec VPN necessary when connecting remote servers that process financial transactions?
    What ports should be opened and closed when IPsec filters are implemented?
    DMVPN configuration: Is an additional firewall needed between the router and the Internet?
    Can Trojans and other malware exploit split-tunnel VPNs to infiltrate a network?
    IPsec tunneling: Exploring the security risks
    Should an IT staff be concerned with a network's physical security?
    How expensive are IPsec VPN setup costs?
    Do split-tunneling features make a VPN vulnerable?
    Will securing a wireless LAN make the data link layer vulnerable?
    When Microsoft Vista and VPNs don't mix
    IPSec Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    BotHunter  (SearchSecurity.com)
    trusted computing  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts