Click to Rate and Give Feedback
Related Articles
Active Directory, why it rocks! ...

Read more!

You know what ...

Read more!

Make a new tip by beating yourself in the head with a keyboard ...

Read more!

A tip on how to write amazing fast queries. ...

Read more!

This Tip will explain how to send email from Exchange ...

Read more!

Popular Articles

With Windows Vista, changes to the OS kernel bring about advances in many areas, ranging from memory management to reliability to security. We kick off this series with a look at how the kernel delivers improvements in the areas of processes, threads, and I/O.

Mark Russinovich

TechNet Magazine February 2007

...

Read more!

Traditional copy and paste works well enough for simple tasks, but for advanced functionality, you need Robocopy. But what if you're not a fan of the command line? Enter Robocopy GUI.

Joshua Hoffman

TechNet Magazine November 2006

...

Read more!

Wikis offer a new, more flexible way to collaborate, promoting an unstructured approach to thinking and exchanging ideas. And MOSS 2007 makes it incredibly easy to implement wikis in your organization. Here’s what you need to know to start building and using wikis in the workplace.

Mauro Cardarelli

TechNet Magazine January 2007

...

Read more!

The new version of SQL Server offers a host of new features and enhancements that promise to improve performance, increase security, and make life better for database administrators. Here’s an overview of the key changes and what you can expect from SQL Server 2008.

Randy Dyess

TechNet Magazine April 2008

...

Read more!

Face it, most of the users you support just don't back up there data. SyncToy provides an unintrusive way to ensure your users' files are always backed up and ready to be easily restored.

Jay Munro

TechNet Magazine March 2007

...

Read more!

Our Blog

Did you just go “whoa!” when you saw that title? Bet you never thought you’d see that here! But the times, as they say, are a-changing and we have too. Many organizations today use multiple operating systems. We all have the same goal of providing high-quality, cost-effective IT services to the organization, and one way we can do that is by sharing core software infrastructure like Active Directory. ...

Read more!

In this month’s TechNet Magazine, you’ll find the second of a series of Field Notes columns written by Romi Mahajan, Chief Marketing Officer of Ascentium Corporation. As an early innovator in the field of electronic ...

Read more!

"For developers, one difficult problem in SQL Server is tracking what data has changed in a database. An even greater challenge is architecting a simple solution that doesn’t heavily impact workload performance and isn't difficult to create, implement, and manage. So why go to all the trouble to track changes? Is tracking changes really worth all this effort? Two commonly cited examples are to support updates to a data warehouse and to support the synchronization of heterogeneous, occasionally connected systems." ...

Read more!

In the November 2008 installment of our Windows PowerShell column (which is available online), Don Jones demonstrates how to create a tool that will inventory the operating system build number (this is one of the best ways to determine the OS version) and service pack version number from a list of computers.  ...

Read more!

In the era of Software-plus-Services, Web services play an important role because they decouple hosted back-end environments from on-premise front-end applications. Explore  how the SharePoint platform drives online collaboration, so that Office applications and add-ins can run on local workstations while Web ...

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