Click to Rate and Give Feedback
Tips
You can pin files and resources to the Taskbar for easy access to the documents you use most often. Find out how. ...

Read more!

If you want to share information stored on your computer with other nearby computers, you can set up an ad hoc wireless network. Learn how. ...

Read more!

Need to quickly map a network drive? We show you how, in both Windows Vista and Windows Server 2008. ...

Read more!

Using a USB key to install Windows 7 makes the process faster and more flexible. Here's all you need to know to do this. ...

Read more!

Here are seven best practices that will help you get the most out of your servers hosting the Hyper-V role. ...

Read more!

Related Articles

It’s not enough to simply wait for security problems to surface and then try to eliminate them. Wes Miller explains how real security involves proactively seeking out the root causes of vulnerabilities and fixing them.

Wes Miller

TechNet Magazine March 2009

...

Read more!

User Account Control is a set of technologies that has one overall goal: to make it possible for users to run as standard users. In this article, Mark Russinovich explains how the default Windows 7 UAC mode makes a PA user’s experience smoother by reducing prompts, allows them to control what legitimate software can modify their system, and still enables more software to run without administrative rights and continues to shift the software ecosystem to write software that works with standard user rights.

Mark Russinovich

TechNet ...

Read more!

Learn how to use the Malware Inspection feature of the Microsoft Forefront Threat Management Gateway to mitigate threats at your perimeter.

Yuri Diogenes, Mohit Saxena, and Jim Harrison

TechNet Magazine February 2009

...

Read more!

Depending on your point of view, cached credentials can be both a blessing and a curse. Raymond Chen explains how they work and how you can control them.

Raymond Chen

TechNet Magazine July 2009

...

Read more!

Jesper M. Johansson

TechNet Magazine July 2009

...

Read more!

Popular Articles

Raymond Chen looks at the skewed relationship bugs have to errors, and explains why it's important that programmers suffer as well as give results.

Raymond Chen

TechNet Magazine October 2008

...

Read more!

The introduction of Hyper-V makes virtualization an even more compelling solution for IT environments. Get an overview of today’s virtualization market and see how Hyper-V improves the manageability, reliability, and security of virtualization

Rajiv Arunkundram

TechNet Magazine October 2008

...

Read more!

Greg Steen discusses recovering from system crashes with Replay RA - Recovery Accelerator, managing compressed archives with WinRAR, using TortoiseSVN to simplify source control, measuring disk I/O with Iometer, as well as rebooting servers remotely with the APC Switched Rack PDU, and looks at the book "Windows Group Policy: Windows Server 2008 and Windows Vista".

Greg Steen

TechNet Magazine January 2009

...

Read more!

Security principals underlie so much of Windows security that it is essential for any administrator to have at least a basic understanding of how the various types of Security principals work and how they are used. Here's what you need to know.

Jesper M. Johansson

TechNet Magazine January 2009

...

Read more!

Drivers fail, files get corrupted, disks crash--there are numerous uncontrollable reasons why Windows might fail. But all is not lost. Wes Miller explores the kinds of things that can go wrong in a Windows system, and explains how you can troubleshoot them to get your system working again.

Wes Miller

TechNet Magazine January 2009

...

Read more!

Our Blog

NAP monitors the health of specified computers when they attempt to connect to a network and includes a number of mechanisms to enforce health requirements. In this article, Geek of All Trades Greg Shields gives readers an overview of these enforcement mechanisms and, as an example, takes a closer look at setting ...

Read more!

Use Windows PowerShell to Manage Virtual Machines Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment.

Create a New ...

Read more!

Disabling an Unused Part of Group Policy Objects One way to disable a policy is to disable an unused part of the GPO. By disabling part of a policy that isn’t used, the application of GPOs and security will be faster.

Administer Windows Server 2008 Server Core from the Command Prompt ...

Read more!

In the August 2008 issue of TechNet Magazine, Paul Randal wrote an article Top Tips for Effective Database Maintenance.  It was geared toward "involuntary  DBAs" (IT pros who inadvertently wind up responsible for a SQL Server instance).  The article had a great response from our readers so Paul has written another ...

Read more!

Microsoft Forefront is designed to deliver an integrated security solution that makes it much easier to deploy and manage security across an organization’s IT infrastructure. In this, our annual security issue, we feature two articles that describe how Forefront Security protects instant messaging and e-mail.

Protect ...

Read more!

Field Notes Real Pros Don't Run as Normal User
Shelly Bird


Real techs think they have got to log in with the rights of a higher power on their system, even to check their e-mail or surf the Web. Ditto for developers, doctors, and everyone else who is convinced their job is important and requires full-blown Administrator privileges. These are precisely the people who ought to do their normal course of business logged in with a Limited User Access (LUA) account—as a User. I’m not saying that they should completely lose their rights to do things as an Administrator. Instead, they should be taught to make liberal use of Run As, and use Admin only as needed.
Running as Administrator, even with the latest antivirus signature updates, anti-spyware, a firewall on with few exceptions, and every single service pack and security update in place, doesn’t protect you from that rare stupid slip-up. Nor does it block nasty stealth attacks that establish nearly impossible-to-find rootkits on the system. Once the system is compromised, the systems administrator with domain rights, the developer coding that sensitive app, and the doctor with privacy laws to protect, become suddenly and often unconsciously dangerous individuals.
There is a special kind of arrogance involved to insist that it is absolutely necessary to run all daily business with an account that has local administrator rights. It’s like riding a motorcycle down the highway, hair flowing in the wind; it feels great, except for the fact you are at the mercy of any flying object. Running as power user is like driving a convertible. Running as a normal user is that safe little car with the airbags—if you hit something, it might crack the windshield, but you’ll keep driving and get to your destination.
Now for a humbling confession: it took a developer (of all people) to finally convince me to run as Non-Admin. This was despite spending most of my Microsoft career doing deployments that were rabidly secured to the point of no return, and having to constantly lecture customers on all the reasons why they must run as Non-Admin. It wasn’t disbelief in the value of LUA as much as fear that too many things would break. Developers rarely bothered to run logged in with normal user privileges, and often forgot to code or test with LUA in mind.
To fix such problems, my customers use two sets of tools: the Microsoft Application Compatibility Toolkit (ACT) (often exercising the LUA mode), and the regmon and filemon tools from Sysinternals. With the first toolset, customers can attempt to construct an ACT database file containing compatibility fixes (often referred to as "shims"). If that doesn’t do the trick, they can run the Sysinternals utilities to nail down exactly where the surgical strikes must occur, creating less restrictive registry and file permissions. Changes are then applied through custom security templates, creating a veritable Swiss cheese of tiny security pinholes pricked throughout the operating system. It can be grueling, challenging work, and a monumental pain to manage, but it pales in comparison to recovering from (and sometimes even detecting) an attack that could have been prevented.
Not only that, but there is something degrading about willingly relinquishing that Admin power, a nagging suspicion that doing so is a sign of weakness, an inability to hold one’s IT liquor. Only hardcore security consultants run as Non-Admin, and we all know they’re kind of paranoid.
But Microsoft has made some serious advances in application compatibility. Now Office runs very well in limited user access mode, and Microsoft apps play nice in the LUA space. Third-party applications have also made healthy progress. Some apps do break, but smart use of the tools I mentioned, as well as the Run As command, and tips from Aaron Margosis’s excellent Non-Admin blog (see blogs.msdn.com/aaron_margosis) should take care of these.
We’ve finally rounded the corner. Just a year or two ago it was extremely painful to run with an LUA account, but now it is quite bearable. Vast ship containers still pass through the borders of our desktop systems without real scrutiny though, and it is time to secure those assets. So, like that self-righteous reformed smoker who speaks to the glories of discipline, restraint, and sober consideration of the consequences of your actions, I advise against running with Local Administrator rights—even if you think you are getting away with it today.

Shelly Bird is a Senior Consultant II with Microsoft Consulting Services Public Sector. For over 10 years she has assisted government, military, and state agencies in mass deployments of desktops and servers, focusing on security.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker