Tuesday, December 02, 2008   
  Search   
 
Register  Login  
Forums  
     Minimize  

Welcome to MeraWindows forums.

Thank you for being at the Microsoft Windows Community Site. You may have to register before posting in forums. It's absolutely free. After registering, you can get all the benefits available to our registered members, you can access our Downloads section, you can participate in contests, etc. You can post in forums in English as well as in Hindi, in fact we encourage you to use Hindi in your posts. If you have any problem with registration or login, please contact us.

     
  


 
  Microsoft Windows Forums  Windows Vista  Customization  User Account Control
Previous Previous
 
Next Next
New Post 3/16/2008 12:51 PM
User is offline Vasu Jain
2968 posts
www.cyberDimensions.blogspot.com
Forum Guru




User Account Control 

User Account Control

From Wikipedia, the free encyclopedia

Jump to: navigation, search
UAC confirmation dialog
UAC confirmation dialog
UAC credentials dialog
UAC credentials dialog

User Account Control (UAC) is a technology and security infrastructure first introduced with Microsoft's Windows Vista operating system. It aims to improve the security of Microsoft Windows by limiting application software to standard user privileges until an administrator authorizes an increase in privilege level. In this way, only applications that the user trusts receive higher privileges, and malware is kept from receiving the privileges necessary to compromise the operating system. In other words, a user account may have administrator privileges assigned to it, but applications that the user runs do not also have those privileges unless they are approved beforehand or the user explicitly authorizes it to have higher privileges.

To reduce the possibility of lower-privilege applications communicating with higher-privilege ones, another new technology, User Interface Privilege Isolation is used in conjunction with User Account Control to isolate these processes from each other.[1] One prominent use of this in Internet Explorer 7's "Protected Mode".[2]

Contents

[hide]

"There are only '10' types of ppl in dis world. Those who understand BINARY and those who dont."

 
New Post 3/16/2008 12:56 PM
User is offline Vasu Jain
2968 posts
www.cyberDimensions.blogspot.com
Forum Guru




Re: User Account Control 

Overview

Before Windows XP was released, previous versions of Windows targeted at the consumer audience (such as Windows 95, Windows 98 and Windows Me) were all single user operating systems where the user had super user rights. Windows XP, on the other hand, is a multi-user operating system based on Windows NT. This allowed for different user levels and permissions.

However, in Windows XP the first user created when installing the operating system is given administrative privileges by default. As such, most users would use this account for everyday use. This ensured that all software, including malware, was also running with administrator privileges as well, thereby giving it full access to the operating system.

Many legacy Windows applications and even new Windows applications were or are not designed to work without full administrator privileges.[3] Running these as a standard user or even as a power user could lead to errors or strange behavior. As such, it was often normal practice to give users full administrator access when running normally.

With User Account Control in Windows Vista and Windows Server 2008, actions that can affect the security and stability of the operating system require the input of an administrator name and password before they are executed. If the user is an administrator, they are not asked to re-enter their password. Instead, a dialog box is shown with the choices to allow or deny the action.

When logging into Windows as a standard user, a logon session is created and a token containing only the most basic privileges is assigned. In this way, the new logon session is incapable of making changes that would affect the entire system. When logging in as a user in the Administrators group, two separate tokens are assigned. The first token contains all privileges typically awarded to an administrator, and the second is a restricted token similar to what a standard user would receive. User applications, including the Windows Shell, are then started with the restricted token, resulting in a reduced privilege environment even under an Administrator account. When an application requests higher privileges or "Run as administrator" is clicked, UAC will prompt for confirmation and, if consent is given, start the process using the unrestricted token.[4]


"There are only '10' types of ppl in dis world. Those who understand BINARY and those who dont."

 
New Post 3/16/2008 12:56 PM
User is offline Vasu Jain
2968 posts
www.cyberDimensions.blogspot.com
Forum Guru




Re: User Account Control 

Tasks that trigger a UAC prompt

Operating system commands or actions that require administrator rights (and thus are likely to trigger UAC) are marked with the security shield symbol.
Operating system commands or actions that require administrator rights (and thus are likely to trigger UAC) are marked with the security shield symbol.

Tasks that will trigger a UAC prompt (if UAC is enabled) are typically marked by a 4-color security shield symbol. These tasks include:[5]

  • Right-clicking an application's icon and clicking "Run as administrator"
  • Changes to files or folders in %SystemRoot% or %ProgramFiles%
  • Installing and uninstalling applications
  • Installing device drivers
  • Installing ActiveX controls
  • Changing settings for Windows Firewall
  • Changing UAC settings
  • Configuring Windows Update
  • Adding or removing user accounts
  • Changing a user’s account type
  • Configuring Parental Controls
  • Running Task Scheduler
  • Restoring backed-up system files
  • Viewing or changing another user’s folders and files
  • Repairing a network connection (requesting a new IP address)

Common tasks, such as changing the time zone, do not require administrator privileges[6] (although changing the time itself does, since that is a global setting). A number of tasks that required administrator privileges in earlier versions of Windows, such as installing critical Windows updates, no longer do so in Vista.[7


"There are only '10' types of ppl in dis world. Those who understand BINARY and those who dont."

 
New Post 3/16/2008 12:57 PM
User is offline Vasu Jain
2968 posts
www.cyberDimensions.blogspot.com
Forum Guru




Re: User Account Control 

Features

User Account Control asks for credentials in a Secure Desktop mode, where the entire screen is temporarily darkened and only the authorization window is enlightened, to present only the elevation UI. This is to prevent spoofing of the UI or the mouse by the application requesting elevation.[8] If an administrative activity comes from a minimized application, the secure desktop request will also be minimized so as to prevent the focus from being lost. It is possible to disable Secure Desktop, though this is inadvisable from a security perspective.[9]

Applications written with the assumption that the user will be running with administrator privileges experienced problems in earlier versions of Windows when run from limited user accounts, often because they attempted to write to machine-wide or system directories (such as Program Files) or registry keys (notably HKLM)[3] UAC attempts to alleviate this using File and Registry Virtualization, which redirects writes (and subsequent reads) to a per-user location within the user’s profile. For example, if an application attempts to write to “C:\program files\appname\settings.ini” and the user doesn’t have permissions to write to that directory, the write will get redirected to “C:\Users\username\AppData\Local\VirtualStore\Program Files\appname\.”

There are a number of configurable UAC settings. It is possible to:[10]

  • Require administrators to re-enter their password for heightened security
  • Require the user to press Ctrl+Alt+Del as part of the authentication process for heightened security
  • Disable Admin Approval Mode (UAC prompts for administrators) entirely

Command prompt windows that are running elevated will prefix the title of the window with the word "Administrator", so that a user can discern which command prompts are running with elevated privileges.[11]

A distinction is made between elevation requests from a signed executable and an unsigned executable; and if the former, whether the publisher is 'Windows Vista'. The color, icon, and wording of the prompts are different in each case; for example, attempting to convey a greater sense of warning if the executable is unsigned than if not.[12]

Internet Explorer 7's "Protected Mode" feature uses UAC to run with a 'low' integrity level (a Standard user token has an integrity level of 'medium'; an elevated (Administrator) token has an integrity level of 'high'). As such, it effectively runs in a sandbox, unable to write to most of the system (apart from the Temporary Internet Files folder) without elevating via UAC.[4][13] Since toolbars and ActiveX controls run within the Internet Explorer process, they will run with low privileges as well, and will be severely limited in what damage they can do to the system.[14]


"There are only '10' types of ppl in dis world. Those who understand BINARY and those who dont."

 
New Post 3/16/2008 12:57 PM
User is offline Vasu Jain
2968 posts
www.cyberDimensions.blogspot.com
Forum Guru




Re: User Account Control 

Configuration

UAC can be configured via security settings (secpol.msc), though this is only available for the business and ultimate editions. All configuration items are prefixed with “User Account Control”. The following settings allow you to control UAC:

  • Behaviour of the elevation prompt for administrators in admin approval mode.
    • Turn off UAC (no prompt).
    • Prompt for consent (default).
    • Prompt for credentials.
  • Behaviour of the elevation prompt for standard users.
    This settings determines what happens if you run as a standard user and start a program that needs administrator rights (for the cases UAC can determine admin rights are required e.g. does not work for MMC snapins).
    • No prompt: fail and do not start the program if it required admin rights.
    • Prompt for credentials (default).
  • Admin approval mode for the built-in administrator account.
    This setting can be used to disable UAC for the built-in Administrator account (however, this account is disabled by default in Windows Vista).
    • Enable (default)
    • Disable
  • Detect application installations and prompt for elevation.
    Windows by default uses some heuristics to determine if an EXE is an installer (which most likely requires elevation)
    • Enable (default)
    • Disable
  • Switch to the secure desktop when prompting for elevation.
    • Enable (default)
    • Disable
  • Only execute executables that are signed and validated.
    If enabled an additional check is done after the elevation prompt. If the EXE is not signed the EXE will not be started.
    • Enable
    • Disable (default)
  • Virtualize file and registry write failures to per-user locations
    • Enable (default)
    • Disable
  • Run all administrators in Admin Approval Mode.
    To switch off UAC set this setting to disabled and reboot. All UAC behavior will be disabled, including file and registry virtualization.
    • Enable (default)
    • Disable

"There are only '10' types of ppl in dis world. Those who understand BINARY and those who dont."

 
Previous Previous
 
Next Next
  Microsoft Windows Forums  Windows Vista  Customization  User Account Control


   Get Your Own E-Mail Account @MeraWindows.com Minimize  
New Page 1 New Page 1
Show your cool quotient with @merawindows.com email account