How Windows 7 UAC shapes enterprise security
Summary
Topics
Commentary-There is a lot of buzz about the security features in the upcoming release of Microsoft’s Windows 7 operating system, especially User Account Control (UAC). Microsoft designed UAC to control the elevated “administrator” privilege that is so dangerous from an IT security perspective. UAC debuted in Windows Vista to help reduce privilege levels of all users, non-IT and IT employees alike, when tasks were being performed that did not require elevation. Despite these good intentions, however, Vista’s UAC received a tremendous amount of negative feedback due to the number of “pop-up” windows that occur during routine use of the desktop. Windows 7 features a new approach to UAC, providing a “slider” to control how often UAC pop-ups occur and for which actions they are monitoring. The questions these changes raise include:
- What exactly does UAC do?
- How should UAC be set in order to protect your desktops?
- Is the “slider” a good decision?
What UAC is designed to do
When UAC is enabled in either Vista or Windows 7 the goal is the same - to protect the user from unknown malware and viruses running in the background, as well as from unauthorized changes to the operating system files and Registry.
When a task is triggered that causes a protected part of the operating system to be modified, UAC will prompt the user for consent (if an administrator) or prompt the user for the credentials necessary for the privilege to perform the action (if the user is a standard user).
For standard users, UAC is not an ideal solution. With the prompt for credentials that UAC provides, there are only two possible solutions to allow the action to be performed. The first is the “over the shoulder input from an IT employee” when there is a prompt, which is not feasible due to mere logistics. The second is to give the user alternate credentials, which in essence grants the user administrative privileges to the entire computer. Both options provide poor solutions to the issue.
However, for administrators, UAC provides an excellent solution for protecting the computer against actions that were not launched by the user, but were launched from malicious code running in the background. Without consenting to the prompt, the administrator is simply a standard user and the malicious code has no chance at modifying the OS files or Registry.
What changed for UAC in Windows 7In response to complaints about UAC pop-ups and the overall low number of installations of Windows Vista, an attempt was made to take the negatives away from UAC within Windows 7. Due to the impressive security that UAC provides for administrators, the entire technology was not stripped away, but rather, UAC was made such that it would prompt when certain types of routine OS changes are attempted, but not for all tasks.
This separation of allowed and denied tasks within Windows 7 is controlled by a “slider” allowing different levels of security and actions to be set on each desktop. The slider provides 4 levels of security control:
Level 1 - Always notify on every system change. This is Vista behavior – a UAC prompt results when any system-level change is made (Windows settings, software installation, etc.)
Level 2 - Notify me only when programs try to make changes to my computer. This setting does not prompt when users change Windows settings, such as control panel and administration tasks.
Level 3 - Notify me only when programs try to make changes to my computer, without using the Secure Desktop. This is the same as #2, but the UAC prompt appears on the normal desktop instead of the Secure Desktop. While this is useful for certain video drivers which make the desktop switch slowly, note that the Secure Desktop is a barrier to software that might try to spoof your response.
Level 4 - Never notify. This turns off UAC altogether.
Effect on enterprise security with Windows 7 UAC
For this discussion, let’s first talk about the effect of Windows 7 UAC with regard to administrators. The overall goal of UAC in Windows 7 is to allow administrators control over which tasks and actions UAC will monitor. In essence, if the task is a “well known” Microsoft task, then it will not be monitored. However, the task is also running with administrative privileges at all times.
Unfortunately, when UAC was set below level 1, it was compromised within a few weeks by researchers. There is no need to go into the details, you can read all about the compromise here. However, if anything less than Level 1 of the UAC in Windows 7 has already been compromised, is there any other discussion required to see the effect on enterprise security?
Next, let’s consider how giving a non-IT user had control over a UAC slider would affect the enterprise security. When it comes to security, non-IT users should not have a say. Security regulatory requirements, such as HIPAA, FDCC, and more, clearly indicate that employees should be standard users and not administrators for their desktop. The reason is that non-IT users are typically not educated on security best practices for their computer and cause more damage than good when configured as an administrator.
Finally, there needs to be a solution for both IT and non-IT users. UAC, for both Vista and Windows 7, provides additional security over malicious applications running in the background and should be enabled for both types of users. If running Windows 7, the slider needs to be set at Level 1. IT users just need to cope with the pop-ups. Non-IT users should have UAC set to silently deny the applications to run, instead of prompting for credentials.
However, the best solution is to allow dynamic elevation of the application, granting the user the ability to run the application without prompts, but still running UAC for security protection. Microsoft recommends using BeyondTrust Privilege Manager for this solution. For non-IT users, implementing a solution like BeyondTrust Privilege Manager to elevate applications requiring administrative privileges in addition to enabling UAC provides a rock solid security and production solution.
biography
Derek Melber (MCSE, MVP) is an independent consultant and speaker, as well as author of the Microsoft Press Group Policy Resource Kit. Derek educates and evangelizes Microsoft technology, focusing on Active Directory, Group Policy, Security, and desktop management. Derek is president of BrainCore.Net which develops end-to-end solutions regarding Group Policy and security for companies. Derek provides Windows security training through MISTI and also delivers custom training and speaking on nearly all Windows topics.
Talkback Most Recent of 7 Talkback(s)
-
The slider (except all the way off) has no affect on standard users...
Your article starts off by discussing standard user operations (responding to the prompt with over-the-shoulder or by giving the end user alternate admin credentials). Then you talk about the slider's options. However, unless UAC is all the way off, the slider has no affect on standard users -- it is only for the "protected admin" case.
If I'm a standard user and the slider is at the default Win7 setting (don't prompt for Windows setting changes), if I attempt to make one of these changes I will still get prompted.
Reading your article I either think you don't understand this, or if you do you don't convey it at all.
PB_z26th Mar 2009 -
RE: How Windows 7 UAC shapes enterprise security
When an application is not certified (by MS or creator that it is safe in a Windows Environment) and bypasses the UAC prompt, why can't it not be confined in sandbox or environment where it cannot do harm to the OS? I'm not technical, but can MS not do this?
antonioalexandercastro28th Mar 2009 -
RE: How Windows 7 UAC shapes enterprise security
"When it comes to security, non-IT users should not have a say. Security regulatory requirements, such as HIPAA, FDCC, and more, clearly indicate that employees should be standard users and not administrators for their desktop. The reason is that non-IT users are typically not educated on security best practices for their computer and cause more damage than good when configured as an administrator."
This is a huge generalization that isn't always true. If you're talking about non-technical users in a call center for example, it may be true. But if you're talking about an engineering organization (such as a software or hardware company), where IT's job is to support highly technical engineering staff, this type of policy tends to be a huge waste of everyone's time. In those type of environments, IT staff can in some cases be the least technical users in the organization. Those are cases where it makes a lot of sense to give users administrator rights to their local desktops, and enable UAC to keep them aware of background process changes.
barleyguy30th Mar 2009 -
RE: How Windows 7 UAC shapes enterprise security
Apple did it why can't Microsoft? Apple adopted they Unix / Linux way of dealing with user or programs trying to change system settings. Separate all users from each other, all that users can do is in their home drive and root is the only one that can do everything everywhere, and give the option for the user to authenticate to allow the process to continue (su or sudo, remember sudo records commands the user enters). The biggest problem is that a number of old programs need access to a system resource, such as the Programs Files Folder or the local machine's registry. In Vista, Microsoft could have used the chance to require programs not to have access to those resource but they choose not to unlike Apple did with OS X. I was hoping Microsoft would get it right with Windows 7 but as you can see they did not!
Yndoendo1st Apr 2009 -
Actualy
UAC virtualised registry entrys in protected directorys so they only load when the particular app is running and only on the user account in question so they effectivly have.
Infact this is one of the major reasons for a UAC type system, there are parts of the registry etc which are not protected so they dont, apps should be using these if they dont want to generate a prompt.
he only real difference is that protected drive folders does not cover program files and so on unless the app only is installed for one user (Some apps like the blackberry desktop manager can be installed localy or globally.).
jdbukis@...12th Jun 2009 -
RE: How Windows 7 UAC shapes enterprise security
I would like to assign certain privileges for my wife and son and not have to worry about them grumbling about pop-ups every 30 seconds. I had a hard time making Vista understand that I the user was also the administrator. In Windows NT 4.0 I had no problems doing this. NT was a box around WIN 98 and to enter into the box you had to have the tools to work inside the box so to speak. Unless those who pour a foundation for a home can also set the pitch for the roof then he is adept to use all the tools, but for those who just pour the foundation I would like a say in Vista or Window 7 or whatever OS. I am just a regular home computer user able to configure my computer so I am the only one responsible for hosing it. Why can't Microsoft hear us, the consumer who holds the majority of ownership of any OS. Yes folks, security also belongs in the home. I reverted back to XP to silence the unrest Vista's UAC was causing. How does Microsoft win over the XP users? They need to dress like the homeowner, come to their level of thinking, not to take anything away from the IT people which is also a priority of Microsoft that needs to be addressed as well. Thanks for listening
johnemartin25@...12th Jun 2009 -
RE: How Windows 7 UAC shapes enterprise security
One question not answered here: Will admins be able to limit UAC access/options for non-IT users? It's one thing to set UAC privileges a certain way during deployment, but it doesn't help if a user is smart enough to change the settings (in an effort to, say, reduce pop-ups).
Migration Expert Zone15th Jun 2009
Talkback - Tell Us What You Think
The best of ZDNet, delivered
ZDNet Newsletters
Get the best of ZDNet delivered straight to your inbox




