Battle Malware with Win2k3 Software Restriction Policies
http://www.enterprisenetworkingplanet.com/netsysm/article.php/3449581/Battle-Malware-with-Win2k3-Software-Restriction-Policies.htm
Welcome back to our look at software restriction policies for Windows Server 2003. In part one, we looked at the basic principles of software restriction policies, and how they can be used to control the software that is allowed to run on a system. In this article, we'll look at the process of actually creating a software restriction policy.
Before we begin, it is worth clarifying what we can and cannot cover in this article. While we will show you the basic steps required to create a policy, we won't be looking at how you deploy software restriction policies on a complex network. Such an explanation would require a huge amount of space, and there are simply too many variables. Instead, by looking at the basic configuration process, you can take the information provided here and use it as platform from which to plan your own software restriction policy deployment.
Getting Down to Business
|
(Click for a larger image) |
The software restriction policies node of the GPO is located under Computer Configuration > Windows Settings > Software Restriction Policies. When you first open the GPO to the software restriction policies node, you will see the screen shown in figure 1.
As you can see, there are no policies assigned by default. To create a policy, right click the Software Restriction Policies node and select New Software Restriction Policies from the menu. After the policy is created, you will see the screen shown in figure 2.
|
(Click for a larger image) |
The first step in configuring your actual software restriction policy is to set the default security level from within the Security Levels subfolder. A black circle with a tick mark, as shown in figure 3, indicates the currently selected security level. As you can see the level is set to "Unrestricted," which is the default.
|
(Click for a larger image) |
Creating an Exception Rule
As discussed in part one, exceptions are created using rules. There are four types of rule supported by software restriction policies: hash, certificate, path and Internet Zone. The rule creation process is very straightforward, so for the purposes of this discussion we'll just look at creating a hash rule.
|
(Click for a larger image) |
Right-click the "Additional Rules" subfolder and select New Hash Rule from the menu. The "New Hash Rule" dialog will appear. For our new rule, we'll prevent the Calculator program (Calc.exe) from being run.
First, use the Browse button to find the executable associated with the file you want to block. When you have selected the file, the hash value of the file is created and listed in the "File Hash" field. In addition, properties like the name, version, etc. of the file will automatically appear in the "File Information" field. The completed rule should look like the own shown in Figure 5. Once you click OK, the exception rule will be created.
|
(Click for a larger image) |
Enforcement Rules
|
(Click for a larger image) |
Designated File Types
Like enforcement rules, the "Designated File Types" dialog is accessed through the main software restriction policies node. The configurable list allows you to specify the types of files that will be affected by the software restriction policy. This list is of less concern if you are using the Unrestricted default security level, as the exceptions explicitly define what applications cannot be run. In contrast, when using a default security level of disallowed, the designated file types list becomes critical, as it determines whether or not an application is subjected to the software restriction policy. The default list of file types is very comprehensive, but if you do want to add or remove a file type you can do that from within the "Designated File Types" dialog shown in Figure 7.
|
(Click for a larger image) |
Troubleshooting
As we discussed in part one, implementation of software restriction policies should only be completed after extensive testing. However, even the most comprehensive test may hide an issue that becomes immediately apparent in a live environment.
|
(Click for a larger image) |
Summary
Our aim in this and the previous article was to give you a solid understanding of software restriction policy fundamentals. There can be no doubt that a successful deployment of these policies will take some serious planning. However, if you are looking for a way to provide an extra measure of security to your network, software restriction policies are deserving of your time and attention.