Russinovich rescues the TechEd 2009 keynote with Windows 7 AppLocker demo

By Scott M. Fulton, III | Published May 11, 2009, 10:01 PM

Mark Russinovich demo at TechEd 2009.In the absence of many dramatically new product announcements (notices about the Office 2010 technical preview and Windows Mobile 6.5 were already expected), it was Senior Vice President Bill Veghte's job for the first time to rally the troops during this morning's TechEd 2009 keynote address in Los Angeles. But perhaps not everyone has Bill Gates' knack for holding an audience captive with sweeping gerunds and participles, or Ray Ozzie's outstanding ability to conjure a metaphor as though it were a hologram hovering in space, and describe it for countless minutes without relating it to the physical universe.

What may have kept attendees affixed to their seats for the time being was the promise of Mark Russinovich, Microsoft's Technical Fellow who always dives right into a real-world demonstration in the first few minutes, and is always affable enough to be forgiven for the inevitable technical glitch. Though Russinovich's stage time today was shorter than usual, one of his highlights was a demonstration of a feature Windows 7 RC downloaders had already received but may not have known they had: a way using group policy to block specified software from running on client systems even after it's been upgraded or revised.

It's Windows 7's new AppLocker feature, which he calls "SRP [software restriction policy on steroids." Think of it as a firewall but at the kernel level: When enabled in a network environment, by default, AppLocker disables any application from running that isn't recognized as part of Windows. That, by itself, isn't something anyone would want; so using group policy or using Local Security Policy at the client level (yet another reason why the Windows client should not disable group policy management) a user or admin can program exceptions to this default rule. Those exceptions can monitor the operating system for metadata pertaining to running applications, enabling selected software to run even after it's been upgraded.

While application disablement has existed in Windows Vista, the problem it's had up to now is that whenever programs change, the rules for disablement have to change with them. Network administrators use these fairly strict rules as means of prohibiting employees from installing just any old software they find, or from downloading media that triggers the download and installation of something very much unwanted.

During Russinovich's demonstration, he launched one of his own line-of-business apps called Stock Viewer that, under the default rule, failed the execution test after a revision. He used that failure as leverage for launching a new wizard in Win7 that lets the admin quickly create a new allowance rule to mitigate future failures.

Windows 7's new Create Executable Rules Wizard, which enables admins to prevent unwanted executions at beneath the firewall level.

While SRP in Vista limited group policy rules to filename and file hash (a hash signature based on the unaltered binary contents of the executable file), Windows 7's new rule class, called "Publisher," lets the admin tailor the rule to account for a wide or narrow scope of metadata. In this particular figure, we used IEXPLORE.EXE (Internet Explorer 8 in Win7) as a template for entering fully qualified publisher metadata into a rule. From there, the wizard cleverly uses the slider control to dial up or down the level of control the admin needs for the rule, with down representing deeper control.

Microsoft Technical Fellow Mark Russinovich at TechEd 2009.As Russinovich described, "The slider over here on the left lets you dial up or down the specificity of your rule. For example, if I trusted everything from SysInternals [his own company, acquired by Microsoft] -- which you should, obviously -- then you'd want to set this slider to here [Publisher]. But if I slide it all the way down to here [File Version], I'm creating a rule that says that only Stock Viewer is allowed to run, and only versions 1.0 or higher. So I've really controlled exactly which application from this publisher is allowed to run, but I've still made it flexible because if version 2 comes out, I don't have to go revisit this rule. It's just going to magically work."

Group policies in modern Windows can be modeled on one computer and then applied to multiple clients in a network. Alternatively, for a less Draconian approach, you can set up AppLocker to allow everything to run except those applications you specify; and there, you can use Publisher class rules to use metadata to help you craft exceptions. But that's not always helpful. For example, with the template you see in the figure above, for instance, we can set up a rule prohibiting anyone from using Internet Explorer older than version 8, by effectively enabling version 8 and higher to run; what gets prohibited are the versions you omit.

Microsoft has published a quick demonstration video of AppLocker at work, downloadable from this address.

Mounting a virtual hard disk (VHD) file from the Management Console in Windows 7.AppLocker wasn't the only demonstration garnering enthusiasm this morning; later during his time, Mark Russinovich demonstrated the first effective use of PowerShell version 2 to generate scripts for applying group policy objects. And later he received some rousing applause for the revelation that Windows 7 can mount and even use virtual hard disk (VHD) files -- the kind usually reserved for Microsoft-brand virtual machines. This way a user can have access to a VHD's contents without invoking the actual virtual host that created it. This also enables new possibilities for VHDs' portability between devices. For example, Windows 7 and Windows Server 2008 R2 can now both be set up to boot from a VHD, regardless of where it's located -- on portable storage, maybe over a network, maybe in the cloud.

Comments

View comments by with a score of at least

Keynote address was a bit boring in my opinion. App locker is here - woo hoo. Can't wait to go back and work on this. It will definitely be a cool resource for any admin.

Score: 0

|

Or, you could just keep users with user level permissions, and they can still keep whatever software you deem necessary. Only been possible for 10+ years now.

Score: 0

|

Only works if you can keep them from bringing in their own (Non-admin required) apps. With portable apps now, you don't even need to install them. Blocking access to all but approved apps would probably take care of it a bit better (while allowing USB devices to be used...).

*shrug*

We're a little "nazi" here about personal stuff on the computers, but I don't think we're going to be going quite this far...

Score: 0

|

applocker would be a nefty tool for those disgruntled network technicians to use after they storm out of their boss's office while quitting.

Score: 0

|

Putting a big hairy arm around Russinovich was one of MS's better moves.

Score: 0

|

It's been a long time coming, but finally we're starting to see security with a white-list model. It's always been more logical than a blacklist, but most people have found it too hard to use. AppLocker looks like a great addition to Windows 7, and Panda's cloud AV is another step in the right direction (unfortunately, the step was a bit wayward without 64-bit inclusion).

I also love the fact you can natively mount VHDs now. That is awesome. :D

Score: 0

|

Cripes. This particular configuration and control actually seems...well, pretty darn logical. The VHD thing is also a pleasant surprise. I'm kind of stunned: these are the first truly practical features I've seen out of Win7. Now if they could just make UAC work the same way and provide a more XP-ish UI mode, I'd have to rethink my personal boycott of this OS, LOL.

Score: 0

|

They have a better interface for UAC. it has 4 settings and slide up to control more and down for less. I have it set at the 3rd setting and it barely notifies me. Vista only seems to have a on/off setting for UAC or you can control some of its behavior through registry settings on Home and local security policy on business and ultimate. Still, the UAC on 7 is hands down better.

Score: 0

|

Security firm: Windows patches not responsible for 'Black Screen of Death'

On second thought, maybe that access control list thingie with the lockdown something-or-rather didn't trigger an alleged, perhaps non-existent, pandemic.

Windows desktops and notebooks reach near price-performance parity for Holiday 2009

Gone are the days when average Windows desktop offered more for less than laptops.

Latest Firefox 3.6 beta fixes 133 bugs, promises faster page load times

A once-sluggish beta testing process has kicked into overdrive, with astonishing success at finding serious bugs. Will Mozilla be able to fix all the others in time?

Confirmed: Office 2010 to ship in June

Two weeks after Microsoft had been expected to draw a clearer roadmap for its principal applications suite, it's finally ready to commit to the end of H1.

Apple settles with Psystar except for 'circumvention devices'

The fracas with the Florida clone computer maker might have ended today had Apple not have muddled the issue over a cheap piece of Psystar software.

Microsoft denies latest 'Black Screen of Death' claims

After an anti-malware producer announced a fix to what it says is a swarm of recent KSoD problems, evidence of the swarm itself has yet to turn up.

New EU antitrust commissioner will oversee Microsoft, Oracle+Sun, Intel issues

As one of Europe's most prominent politicians shifts positions in January, her replacement remains a question mark over technology's biggest issues.

Without its own 'iTablet' yet, is Apple missing the boat?

Steve Jobs is on record as dissing "single-purpose" devices like e-readers. But given their recent popularity, was that a mistake?

Not-so-mobile battery life: Time to force the issue

Carmi Levy | Wide Angle Zoom: If power efficiency is important when you buy a car or even a motorcycle, why shouldn't it matter for a smartphone?

Apple invokes DMCA, claims Psystar is 'trafficking in circumvention devices'

In trying to close the book on possibly the last attempt at a Mac clone, Apple cites from its own landmark case...but may actually be misinterpreting it.

The fallacy of Facebook privacy

Carmi Levy | Wide Angle Zoom: If an insurance company learns something interesting about its client through the Internet, is that snooping?