Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

August 18, 2003 12:00 AM

Access Denied: Restricting the Programs Users Can Run

Windows IT Pro
InstantDoc ID #39684
Rating: (0)

We want to lock down some publicly accessible workstations. Our main objective is to totally control which programs users can run. Is Application Security (Appsec) sufficient for this need?

Appsec is a Microsoft Windows 2000 Server Resource Kit tool that's also available free from Microsoft at http://www.microsoft.com/windows2000/techinfo/reskit/tools/hotfixes/appsec-o.asp. Appsec lets you specify executables that you permit nonadministrators to run. If a user tries to run an unspecified program, Appsec prevents it. However, users can circumvent Appsec by copying the desired executable to a folder to which they have change access and renaming the file to the name of a program they're allowed to run. Furthermore, Appsec doesn't control DLLs or scripts.

The best way I know of to control software use is through Windows Server 2003's and Windows XP's software-restriction policies, which you'll find in any Group Policy Object's (GPO's) Computer Configuration\Windows Settings\Security Settings\Software Restriction Policies folder. In addition to controlling executables, software-restriction policies can control execution of scripts, DLLs, and Microsoft Word macros. The policies also give you more ways to specify allowed or prohibited software than just the filename. For example, you can create hash rules for each allowed software file, and Windows will let the user execute only programs that match the hash. This capability nicely addresses the problem of renamed executables and prevents Windows from executing programs that some type of malicious software (malware) has altered. For detailed information about using software-restriction policies, see http://www.microsoft.com/windowsxp/pro/techinfo/administration/restrictionpolicies/default.asp.

One Appsec feature might help you with your initial setup of software restriction policies. You can easily make software-restriction policies too strict and inadvertently prevent users from running legitimate programs. Appsec's tracking feature can help you ensure that users can run all the software they need. The tracking feature tracks each program that runs as you perform a series of actions. You can use the tracking feature as you perform a legitimate user task (e.g., sending an email message from Microsoft Outlook), then use Appsec to see exactly which executables were used. For example, if you send email through Outlook, you'll probably see that in addition to Outlook, you used Word, which is the editor that Outlook uses by default. You can then ensure that you allow access to all programs that the user needs to perform the action.

As I mentioned earlier, however, Appsec won't show you each DLL or script used. If you need broader tracking capabilities, you can use Windows file auditing. Enable file auditing for Read and Execute on your entire drive immediately before you perform the task you want to audit, then turn off auditing. Your event log will show every file that was opened for Read or Execute access.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.