Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Up and Running » Security » Security » Limited security benefits of limited users
Search Topic:
Uniqs:
488
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
MS Internet Explorer Local File Accesses Vulnerability »
« Dropper.Ragger (SpyBot FP)  
AuthorAll Replies


SpannerITWks
Premium
join:2005-04-22

Limited security benefits of limited users

From the www -

-

The idea of running as a limited user is getting a lot of attention these days... it's not a new idea, the principle of least privilege has been around for a very long time, but there are some out there who (incorrectly) view it as the solution to the malware problem...

The principle of least privilege states that you should give the least amount of privileges necessary for an entity to do his/her/its task and no more... the idea is to keep people and/or things away from that which they have no need to access... you might well be thinking that this sounds like it really should solve the malware problem, after all if we can prevent the malware from being able to access things it needs to access in order to do it's job then it won't work anymore... indeed, many people think that this practice should be able to prevent viruses and all sorts of other malware... they think that by running as a limited user that any malware they happen to come across will be unable to access the system files and/or resources that are key to the malware's ability to do bad things....

The implicit assumption here is that you need administrative privileges to be able to do bad things... when you make it explicit, however, it should become obvious that this is false...

etc -

»anti-virus-rants.blogspot.com/20···ted.html

Spanner
--
I Only Know What I Know, But I'm Learning all The Time - Stay Safe - Spanner intheWorks
/SpannerITWks

dave
Premium,MVM
join:2000-05-04
not in ohio
·Verizon Online DSL
·Verizon FIOS

The implicit assumption here is that you need administrative privileges to be able to do bad things... when you make it explicit, however, it should become obvious that this is false...
Straw horse. You need admin privileges to be able to do bad things to the system.

Of course, there may be people who did make the incorrect assumption. But presumably not amongst the regular participantsin this forum.
--
Microsoft Security MVP, 2005-2007.


nwrickert
sand groper
Premium,MVM
join:2004-09-04
Geneva, IL
reply to SpannerITWks
Re: Limited security benefits of limited users

This is just a blogger making feeble excuses for his/her own failure to follow sound security practices.
--
AT&T dsl; Westell 2200 modem/router; SuSE 10.1; firefox 1.5.0.9


HA Nut
Premium
join:2004-05-13
USA

reply to SpannerITWks
Re: Limited security benefits of limited users

Nothing's perfect. Even a Limited user account. Does that mean that running as a Limited User during "risky" situations isn't worth it? Not IMO. Perhaps some real life examples (several actually) would have helped to better prove the writer's position. As currently written, I'm not convinced. When I'm on the web, I'm Limited unless I am forced to be otherwise...


mattei
Moderated, now muzzled

join:2001-03-19
Canada

reply to SpannerITWks
Job Objects Light?

Running Vista Every Day! - Joanna Rutkowska
said by »theinvisiblethings.blogspot.com/···day.html :

...
One thing that I found particularly annoying though, is that Vista automatically assumes that all setup programs (application installers) should be run with administrator privileges. So, when you try to run such a program, you get a UAC prompt and you have only two choices: either to agree to run this application as administrator or to disallow running it at all. That means that if you downloaded some freeware Tetris game, you will have to run its installer as administrator, giving it not only full access to all your file system and registry, but also allowing e.g. to load kernel drivers! Why Tetris installer should be allowed to load kernel drivers?
...
PsExec, User Account Control and Security Boundaries - Mark Russinovich
said by »blogs.technet.com/markrussinovic···372.aspx :

...
In Vista’s integrity model, every process runs at an integrity level (IL) and every securable object has an integrity level. The primary integrity levels are low, medium (the default), high (for elevated processes) and system. The windowing system honors integrity levels to prevent lower-IL processes from sending all but a few informational window messages to the windows owned by processes of a higher IL, calling this protection User Interface Privilege Isolation (UIPI). The security model also changes in Vista to only allow a process to open an object for write access if the process IL is equal to or higher than that of the object. Further, to prevent access to secrets stored in memory, processes can’t open processes of a higher IL for read access.
...
As you experiment you’ll find that your actions are limited, but there are some design boundaries that you should be aware of. First, with the exception of processes and threads, the wall doesn’t block reads. That means that your low-IL command prompt or Protected Mode IE can read objects that your account (the standard-user version if you’re a member of the administrator’s group) can. This potentially includes a user’s documents and registry keys.

Even the ability of a process at low IL to manipulate objects of a higher IL isn’t necessarily prevented. Since processes running at different integrities are sharing the same desktop they share the same “session”. Each user logon results in a new session in which the processes of the user execute. The session also defines a local namespace through which the user’s processes can communicate via shared objects like synchronization objects and shared memory. That means that a process with a low IL could create a shared memory object (called a section or memory-mapped file) that it knows a higher IL process will open, and store data in the memory that causes the elevated process to execute arbitrary code if the elevated process doesn’t properly validate the data. That kind of escape, called a squatting attack, is sophisticated, requires the user to execute processes in a specific order and requires knowledge of the internal operation of an application that is susceptible to manipulation through shared objects.

However, let’s be clear that no matter how difficult to pull off, the mere possibility of such a breach of a sandbox wall implies that ILs, in and of themselves, do not define security boundaries. What’s a security boundary? It’s a wall through which code and data can’t pass without the authorization of a security policy. User accounts running in separate sessions are separated by a Windows security boundary, for example. One user should not be able to read or modify the data of another user, nor be able to cause other users to execute code, without the permission of the other user. If for some reason it was possible to bypass security policy, it would mean that there was a security bug in Windows (or third-party code that allows it).

It should be clear then, that neither UAC elevations nor Protected Mode IE define new Windows security boundaries. Microsoft has been communicating this but I want to make sure that the point is clearly heard. Further, as Jim Allchin pointed out in his blog post Security Features vs Convenience, Vista makes tradeoffs between security and convenience, and both UAC and Protected Mode IE have design choices that required paths to be opened in the IL wall for application compatibility and ease of use.
...
Because elevations and ILs don’t define a security boundary, potential avenues of attack , regardless of ease or scope, are not security bugs. So if you aren’t guaranteed that your elevated processes aren’t susceptible to compromise by those running at a lower IL, why did Windows Vista go to the trouble of introducing elevations and ILs? To get us to a world where everyone runs as standard user by default and all software is written with that assumption.
Vista Security Model – A Big Joke? - Joanna Rutkowska
said by »theinvisiblethings.blogspot.com/···oke.html :

Oh, excuse me, is this supposed be a joke? We all remember all those Microsoft’s statements about how serious Microsoft is about security in Vista and how all those new cool security features like UAC or Protected Mode IE will improve the world’s security. And now we hear what? That this flagship security technology (UAC) is in fact… not a security technology!

I understand that implementing UAC, UIPI and Integrity Levels mechanisms on top of the existing Windows OS infrastructure is a hard task and it would be much easier to design the whole new OS from scratch and that Microsoft can’t do this for various of reasons. I understand that all, but that doesn’t mean that once more people at Microsoft realized that too, they should turn everything into a big joke? Or maybe I’m too much of an idealist…
Confusion About The "Joke Post" - Joanna Rutkowska
said by »theinvisiblethings.blogspot.com/···oke.html :

There are two things which should be distinguished:

1) The fact that UAC design assumes that every setup executable should be run elevated (and that a user doesn't really have a choice to run it from a non-elevated account),

2) The fact that UAC implementation contains bug(s), like e.g. the bug I pointed out in my article, which allows a low integrity level process to send WM_KEYDOWN messages to a command prompt window running at high integrity level.

I was pissed off not because of #1, but because Microsoft employee - Mark Russinovich - declared that all implementation bugs in UAC are not to be considered as security bugs.

True, I also don't like the fact that UAC forces users to run every setup program with elevated privileges (fact #1), but I can understand such a design decision (as being a compromise between usability and security) and this was not the reason why I wrote "The Joke Post".
A comment examining the consumer POV:
said by Evan, on Joanna's blog :

Mark's posting is frustrating because Mark is speaking to technical fact in a manner that is obtuse, and isn't in sync with the marketing-type statements that Microsoft makes.

Mark says that UAC elevations and integrity levels do not define new Windows security boundaries, and, as such, attacks against these features aren't attacks against "security". This is all true, assuming you understand the minutae he's talking about. Distinguishing between the established Windows security architecture (the LSA, desktops, security prinicpals, ACL's, privileges, etc) and this integrity level retrofit is pretty minute, but it's accurate.

It's silly that Mark said this in this way, because a user with a Vista-based PC that has been taken-over by malicious software (that they, no doubt, installed by elevating the installer for the malware) isn't going to differentiate between breaches to the Windows security model, and attacks against UAC. What Mark says is factually correct, but isn't in sync with the types of non-technical statements coming out of Microsoft.

It's compelling, from a sales perspective, for Microsoft to make lofty and vague statements about Vista's enhanced security, while convenient for them to have technical fact to fall back on-- technical fact that the average user won't ever know is there.

Mele20
Premium
join:2001-06-05
Hilo, HI
Yada...yada ...yada. *Yawn.* Just use your head, use Proxo and Process Guard and run as Admin. No big deal. You don't even need an AV if you do those three things.
Forums » Up and Running » Security » SecurityMS Internet Explorer Local File Accesses Vulnerability »
« Dropper.Ragger (SpyBot FP)  


Saturday, 28-Nov 00:23:50 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [121] Time Warner Cable Fires Broadside At Broadcasters
· [112] New AT&T Ad Campaign Hits Back At Verizon
· [95] Apple Joins AT&T Verizon Snark Fest
· [87] New Bill Takes Aim At Higher Verizon ETFs
· [70] TiVo Sees Record Customer Losses
· [69] In-Flight Internet Headed For Bumpy Landing?
· [64] Verizon CEO: Hulu Will Be Dead Soon
· [61] Thanksgiving Open Thread
· [42] Weekend Open Thread
· [40] EFF Wages War On Fine Print
Most people now reading
· Leveling to 85 [World of Warcraft]
· [WIN7] Can I use Windows 7 disc to boot up install? [Microsoft Help]
· Windows 7 boot manager editing questions [Microsoft Help]
· Cable overbuild(maybe fibre) for Toronto and Surrounding [TekSavvy]
· [Vista] Why is HD So Full? [Microsoft Help]
· HOW-TO: QoS and Tomato (fixes "choppy voice") [MagicJack]
· STB Software update [AT&T U-verse]
· [Newsgroups] Newzleech down? [Filesharing Software]
· openSUSE 11.2 problems and solutions? [All Things Unix]
· XBOX 360 using DMZ [Networking]