Reworking UAC

Predictably, one of the most common complaints about Vista was the User Access Control (UAC) feature, which firmly established a real degree of security in Vista by blocking applications from attaining administrator-level privileges by default. It was something that was long overdue for Windows given how easy it is to compromise a machine when everything runs with admin privileges, but that doesn’t mean it was taken well.

Half of the problem going into Vista’s release was that few applications were coded following best security practices, even though Microsoft had been recommending such a thing for years, and such practices were necessary for applications to work correctly under limited user accounts. With so many poorly coded applications misbehaving under Vista until they were brought up to spec by their developers, it left a bad taste in the mouths of many. Compounding the problem was that Vista’s UAC implementation was not streamlined very well, resulting in redundant notices. Microsoft resolved some of the streamlining issues in Vista SP1, but this never completely satisfied users who were expecting a more XP-like (and insecure) experience.

With Windows 7 we have an attempt at a compromise, which is a noble intention by Microsoft, but leaves us concerned about the security implications. Previously UAC could only be turned on or off (Group Policy settings not withstanding), which would sometimes result in unhappy users shutting it off and giving up most of Vista’s security abilities in the process. With Windows 7, UAC has now been divided up into four levels: Off, followed by three levels of increasingly strong security. Level 3 is the equivalent of Vista’s UAC mode, meanwhile Level 2 is the default setting for Windows 7. With Level 2, certain signed Microsoft applications (basically most of the Control Panel apps) are allowed to elevate to administrator privileges without needing user confirmation. The working belief here is that most people are encountering most of their UAC prompts when initially configuring Windows, and if they didn’t encounter those early prompts they would have no great reason to turn UAC off entirely, particularly since 3rd party applications are so much better behaved these days.


The UAC Control Panel With Level Slider

Hence the compromise is that UAC prompts are disabled, but only for the Control Panel apps, meanwhile all other regular apps are still controlled by UAC as normal. The concern we have with this compromise is that with applications allowed to auto-elevate from user to administrator, it creates a potential local privilege escalation exploit. For Beta 1, a proof of concept exploit was put together that used rundll32 to disable UAC entirely without informing the user or requiring their intervention. In return Microsoft removed the UAC control panel from the auto-elevating list so that any direct attempts to manipulate it still require user intervention. This blocked the proof of concept exploit while maintaining all the other benefits of Level 2 UAC. It should be noted however that similar exploits could still work with Level 1, as it’s Level 2 without the secure desktop screen (thereby allowing apps to fake pressing the Allow button).

At this point it remains to be seen if Level 2 could be exploited in a similar manner, such as by breaking out of another auto-elevated application and attacking UAC from there. The fact that it leaves an obvious potential attack vector open leaves us leery of Level 2. Microsoft had the security situation right in the first place with Level 3/Vista, and it may have been better if it stayed that way.

With that said, Level 2 does what it’s advertised to do. Compared to Level 3/Vista, you’re going to get far fewer UAC prompts when messing with Windows’ settings. Undoubtedly it won’t satisfy those who absolutely abhor UAC, but at some point Microsoft has done everything they can.

Quickly, the other security element that was reworked for Windows 7 is the Security Center, which has been expanded and renamed the Action Center. Besides being a one-stop-shop for various Windows security features, now it is also home to an overview of system maintenance tasks and troubleshooting help. This doesn’t significantly change the functionality of the Action Center, and the biggest change that most people will notice is the GUI.


The Windows 7 Action Center

Windows Media : New Codecs, New Looks, New Features Libraries and Homegroups: New Ways to Organize and Share
Comments Locked

121 Comments

View All Comments

  • Lexington02 - Wednesday, May 6, 2009 - link

    He is not late, he is claiming otherwise to the other people who think that Anandtech is MS loving while this dude is claiming to be Apple loving. I wonder, which is true... Apple lovers or Microsoft lovers...
  • Lexington02 - Wednesday, May 6, 2009 - link

    He is not late, he is claiming otherwise to the other people who think that Anandtech is MS loving while this dude is claiming to be Apple loving. I wonder, which is true... Apple lovers or Microsoft lovers...
  • Ryan Smith - Thursday, May 7, 2009 - link

    From my perspective, if I'm being accused of being an Apple and a Microsoft fanboy in the same article, then I must be doing something right.;-)

    I'll note that I have a preference for Mac OS X if given a choice, but I'm getting ahead of myself. I'll talk more about that in next week's Ubuntu article.
  • strikeback03 - Thursday, May 7, 2009 - link

    That was my point - I have long stated that 90% of the articles here that compare something generate comments from both sides claiming bias each way. So the anti-Apple comments were late arriving compared to the anti-MS ones.

    Are we really going to get a Ubuntu article? Is it now on the transition to 9.04 instead of 8.04?
  • Ryan Smith - Thursday, May 7, 2009 - link

    8.04 (because it's the LTS and most comparable to Windows/Mac OS X as such), to be followed up with 9.04.
  • strikeback03 - Thursday, May 7, 2009 - link

    Cool. 9.04 finally resolved some out-of-the-box compatibility problems my desktop has had with each release since I started (6.10)
  • Gary Key - Thursday, May 7, 2009 - link

    I am still a big fan of DR-DOS. Does that mean I am anti-MS also? :)
  • MichaelD - Wednesday, May 6, 2009 - link

    This is important for me as that's what I use for an AV/AM solution. Overall, it looks very impressive, particularly for a RC; it may just get me away from XP.
  • masterbm - Wednesday, May 6, 2009 - link

    I have been using windows 7 on my old amd socket 939 4200 4gb ram 8800gs. I started since build 7000. I started out being guy how felt that I was going to stay on vista for most of my machine I will upgrade to windows when it released. My htpc/file server at this time I plan on leaving it at vista. Due to their is no really good way to convert the .wtv format. This htpc box is automated in since it defrag it self scan it self for virus and spyware. Then It just added auto convert of the show that records. I took while to do that stuff not sure if want do every again.(also note htpc is amd 3800)The other thing I will note is that windows 7 becuase it feels snappier has made use that system more then use to
  • fausto412 - Wednesday, May 6, 2009 - link

    They need to make the defrag problem able to do more than one drive at a time...or to schedule them out.

Log in

Don't have an account? Sign up now