eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7 - Security - News & Reviews - eWeek.com

eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7

eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7
Written By
Jason Brooks
Jason Brooks
Nov 7, 2008
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More


eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7

eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7

eWEEK Labs Walk-Through: App Whitelisting from XP to Windows 7by Jason Brooks


Starting out with SRP

2

I set out to lock down a test desktop running Windows XP Service Pack 3 in such a way that only applications installed in the program files or system directories would be allowed to run.


Disallow by default

3

In the “Security Levels” folder within “Software Restriction Policies,” I clicked on “Disallowed,” entered its properties dialog and opted to make “disallow” my default on the system.


Registry rules

4

When I made this change, Windows automatically generated four exception rules for particular registry locations to prevent SRP from completely locking me out of my system.


Rulemaking

5

Windows’ SRP allows for certificate, hash, Internet Zone and path-based rules to govern which applications are allowed to run.


Advertisement

A path-based rule

6

I added path-based rules that made my C:Program Files and C:Windows directories into free run zones.


Enforcement properties

7

I also adjusted the enforcement options to exclude administrators from enforcement and to include DLLs in my controls scheme—both of which differed from the system’s defaults.


Make way for shortcuts

8

Another place where I diverged from defaults was in removing *.lnk, the file type for Windows shortcut files, as a blocked file extension. Without this change, none of the shortcuts in my Start menu would have worked.


Whitelisting in action

9

With my restriction policy in place, I sought to run an app from the desktop of a limited user, and Windows duly denied me.


Event logging

10

Windows files away SRP-based denials into the event log. Here you can see Windows refusing to run a shortcut (before I added the shortcut exception to my policy).


Hash-based rule

11

If I wished to allow a specific app to run on a limited user desktop, I could create a whitelisting rule based on a hash of the app.


Whitelisting in Windows 7

12

In Windows 7, SRP will be known as AppLocker, and will sport its very own MMC 3.0-based management dashboard.


AppLocker rules wizard

13

AppLocker includes a new rules generation wizard that rolls up the different policy control types offered under previous SRP versions into a single process.


Advertisement

Rule options

14

Windows 7 gave me the option of creating certificate-based rules for all signed files, and of creating hash- or path-based rules for the unsigned files. I could also opt to create hashes of all files under Program Files.


Review rules

15

The tool then told me how many files my new rule set would protect and how many rules the set would span, as well as offering me the option of reviewing the analyzed files and the yet-unmade rules before clicking “create.”


Rule tweaking

16

If I wished to exclude some of the analyzed files from my policy, I could do so from the “review analyzed files” dialog.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.