Home > Step 4: The "block the application" approach
Step-by-Step Guide:
EMAIL THIS

Step 4: The "block the application" approach

31 Jan 2006

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

Locking down unwanted application installations -- i.e., keeping non-administrators from installing software -- should be a standard policy for any company. It not only keeps chat and P2P software out, but it also prevents breaking and overwriting other things you do want.

If you want to allow people to install their own software but don't want to allow IM/P2P applications, use a more targeted approach to stop specific executables from running. If you're using Active Directory in a domain, you can configure a Group Policy to prevent specific applications from running -- a process described in detail in Microsoft Knowledge Base article 323525. This, however, requires that you have the exact name of the executable to block (such as MSMSGS.EXE for MSN Messenger). If someone's using a program that can simply be renamed to something else, this approach won't work, so it may only work with the most obvious programs.

Even better is a hash rule, which works not by blocking an executable by name but by creating a cryptographic hash of the file you want to block. This is far more precise and will withstand the file being renamed, but it will only work on one specific version of any given executable. If an update for the program comes out, you must create a new hash.

To create a hash rule on a given machine:

  1. 1. Type Start | Run | secpol.msc on the machine in question.
  2. 2. Under Software Restriction Policies, double-click and select Additional Rules. If you need to create a new policy by enabling Software Restriction Policies according to the instructions on the page, do that first.
  3. 3. Right-click Additional Rules and select New Hash Rule.
  4. 4. Click Browse to find the file you want to create a hash for and select "Disallowed" under Security Level. Fill in the rest of the boxes as needed.
  5. 5. Click OK to close all the forms.

To create a hash rule security policy for a domain or organizational unit rather than a single machine:

  1. 1. Type dsa.msc from Start | Run.
  2. 2. Right-click on the domain or OU to apply the policy to it and select Properties | Group Policy tab | New/Edit.
  3. 3. Drill down to User Configuration | Windows Settings | Security Settings | Software Restriction Policies and continue as above from step three.

Blocking IM and P2P

 Home: Introduction
 Step 1: The "easy, but stupid" approach
 Step 2: The "block the nexus" approach: IM
 Step 3: The "block the nexus" approach: P2P
 Step 4: The "block the application" approach


More information from SearchWindowsSecurity.com

  • News: Malcode targets Windows, IM users
  • Tip: Five steps to lockdown peer-to-peer networks

  • ABOUT THE AUTHOR:
    Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

    Copyright 2005 TechTarget


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



    RELATED CONTENT
    Network intrusion detection and prevention and malware removal
    20 days to a more secure enterprise
    Improvements to offline file synchronization in Windows 7
    Underlying causes of inconsistent patch management
    Windows security tools for the busy desktop administrator
    Check IT List: Five steps for rootkit detection
    Top Windows client security tools for end users
    Hacking Exposed Windows: Windows security features and tools
    Tools for virus removal and detection
    Windows security testing: Five tips for the summer
    Buffer overflows can be prevented by GS cookies

    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




    Windows Admin Solutions - User Management, Application Management, Windows Deployments
    HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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