Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


August 18, 2003

Access Denied: Restricting the Programs Users Can Run

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Troubleshooting Group Policy, eLearning series

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement