Slashdot Mirror


"Very Severe Hole" In Vista UAC Design

Cuts and bruises writes "Hacker Joanna Rutkowska has flagged a "very severe hole" in the design of Windows Vista's User Account Controls (UAC) feature. The issue is that Vista automatically assumes that all setup programs (application installers) should be run with administrator privileges — and gives the user no option to let them run without elevated privileges. This means that a freeware Tetris installer would be allowed to load kernel drivers. Microsoft's Mark Russinovich acknowledges the risk factor but says it was a 'design choice' to balance security with ease of use."

129 of 813 comments (clear)

  1. An even bigger hole... by KingSkippus · · Score: 5, Insightful

    There's a much, much bigger hole than any programmer could possibly exploit: The annoyance factor.

    Last night, I restored my old XP partition after figuring I'd give Vista a shot for just a couple of days. You know, just to experience it myself instead of taking other people's word for what it's like.

    The theme of Vista seems to be simple: Annoy the hell out of he end user. You want to run an application, is that okay? You want to copy a file, is that okay? You want to change your desktop background, is that okay? You want to copy text from IE7, is that okay? You want to delete an old text file, is that okay? You want to paste text into a form field in IE7, is that okay? The list goes on and on. Almost every action in Vista is actually compose of two separate actions: the one you want to do, and the confirmation to do it.

    After getting Windows Vista installed, I took an hour or so to configure my personal settings and install a couple of applications. I had to acknowledge somewhere between 50 and 100 dialog boxes asking me if it was okay to do what I was doing. No, I'm not exaggerating.

    Now, I'm a very experienced computer user, and I've worked for over a decade supporting PCs, servers, networks, and so on. Yes, I know, I could disable UAC if I want to, but that kind of defeats the point of Vista's so-called beefed up security.

    Even I became so numb to clicking OK in two short days that I wouldn't think twice about it. You want to move that shortcut on your start menu, is that okay? You want to install the Pwnzjoo virus, is that okay? You want to send your bank account numbers to Nigeria, is that okay? Yes, yes, yes, dammit!

    If Microsoft wants to really get serious about security, they have to get it through their heads that it's not about locking everything down and popping up prompt after prompt after prompt to the user. It's about being smart, letting the user do normal things without interference or interruption, and having the level of alerts match the danger of what's being done.

    As it is, Vista cries wolf so often that when the real wolves show up, I'd be surprised if any user, newbie or guru, listens.

    1. Re:An even bigger hole... by dotpavan · · Score: 5, Funny
      offtopic, yet:

      no doubt, thats why Dell is marketing its harware for Vista as great for "booting the OS, w/o running apps or games" (link via this)

      Since when did booting an OS become a "feature" of the OS?

    2. Re:An even bigger hole... by nuzak · · Score: 5, Funny

      You want to run an application, is that okay? You want to copy a file, is that okay? You want to change your desktop background, is that okay? You want to copy text from IE7, is that okay? You want to turn your machine into a child porn and warez server, is that okay? You want to delete an old text file, is that okay? You want to paste text into a form field in IE7, is that okay?

      One of these things is not like the others,
      One of these things just doesn't belong,
      Can you tell which thing is not like the others
      By the time I finish my song?

      --
      Done with slashdot, done with nerds, getting a life.
    3. Re:An even bigger hole... by minus_273 · · Score: 2, Funny

      seems like you are coming to a sad realization cancel or allow?

      --
      The war with islam is a war on the beast
      The war on terror is a war for peace
    4. Re:An even bigger hole... by Rycross · · Score: 3, Informative

      Er what? For me, it only gave the nag screen when accessing the control panel, installing software, running software with administrative priveledges, or running Visual Studio. The Visual Studio thing is annoying, but other than that, all of the other things are the exact same sort of things that I have to sudo for in Linux. Except I'm not having to enter a password, just click a box. I'm not sure where the big gripe comes from, and honestly I feel like people are blowing it way out of proportion. Unless I'm coding (opening and closing Visual Studio) or changing the configuration of my machine, I never see the UAC box. So I barely see it during normal usage.

    5. Re:An even bigger hole... by halltk1983 · · Score: 4, Funny

      I see *someone* never used Windows 95!

      --
      Watch for Penguins, they eat Apples and throw rocks at Windows.
    6. Re:An even bigger hole... by Anonymous Coward · · Score: 4, Informative
      I've been running Vista RTM since release and I hardly see any UAC prompts. The only times are when I run VMware or install a program.

      You want to run an application, is that okay? That's the applications fault. Most applications shouldn't need administrative rights to run, and if they've been written properly they won't prompt. WinRAR 3.61 never prompts for me, but 3.62 has UAC prompts for everything. AFAIK "Windows XP Certified" programs require programs to be written so that they can run without elevated privileges so this is nothing new. People just assumed that everyone would run in an Administrator account and ignored those guidelines.

      You want to copy a file, is that okay?

      That never happens unless you're copying files into protected directories such as Program Files or the Windows directory. I copy files around all the time without UAC prompts because I keep them in my User directories or an external hard drive.

      You want to change your desktop background, is that okay? This is just FUD. That never happens. If you right click on an image in IE7 and set it to background a regular IE prompt will appear, but no UAC.

      You want to copy text from IE7, is that okay? I can copy text just fine, doesn't seem to prompt for me.

      You want to delete an old text file, is that okay? See above, only in restricted directories.

      You want to paste text into a form field in IE7, is that okay? I just tried copy and pasting info into the login page at Bank of America and I get no prompts. Even copy and pasting into sensitive fields such as "Social Security Number" on a Citibank credit card application resulted in zero prompts.

      UAC prompts are annoying and frequent when you first do a complete reinstall because you'll be installing applications and drivers that need elevated privileges. After that you should not encounter it in your day to day activities. I see a UAC prompt once a day and that's only because I use VMware. If I used Virtual PC I could avoid it completely.

      MOST computer users buy their PCs from Dell, HP, etc and they are preloaded with drivers and some basic software. The regular user won't be seeing as many UAC prompts because they'll be installing only a few programs (music player, possible word processing, games).
    7. Re:An even bigger hole... by steveo777 · · Score: 4, Funny

      I think a full bootup a victory on Windows ME would be even more excuse for celebration.

      --
      This sig isn't original enough, it's time to come up with something witty...
    8. Re:An even bigger hole... by EXMSFT · · Score: 4, Insightful

      UAC is so amazingly, fundamentally flawed. Has been from the beginning. As you noted, it's susceptible to user numbness. It's also susceptible to the dancing pigs phenomenon, something mentioned by Microsoft's own Steve Riley (see http://www.microsoft.com/technet/community/columns /secmgmt/sm0405.mspx, and search for the words "dancing pigs".

      Mac has issued a salutation. Allow or deny? Comedy gold, and yet Apple hit the nail on the head.

      My expectation is that at least 50% of Windows Vista consumers will turn UAC off entirely, and the remaining 50% will ignore it (psychologically disable it) to the point that it may as well be disabled - especially applies in the enterprise computing world where Joe won't be allowed to turn it off, but still wants to do whatever he wants. Meaning that in the default configuration of users as hobbled admins, every Vista user is then an admin. Just like they are in XP. Really validates 5 years of hard work on security.

    9. Re:An even bigger hole... by EXMSFT · · Score: 4, Funny

      Sorry, did I miss something? I was too busy clicking "Allow" 7 times to notice which one was bad. None of them were bad, were they?

    10. Re:An even bigger hole... by Roadstar · · Score: 2, Insightful

      I couldn't agree more. My work computer is a XP/Vista dualboot, and the amount of confirmation prompts I'm facing when doing testing in Vista is beyond ridiculous. It's definitely not a good sign when you're about to do something trivial such as copying a file, and right before committing the operation you think "oh shit, here we go again" and prepare for a flood of confirmation prompts (one would think that a single prompt was sufficient, but that's not the case much too often). The idea behind UAC is great (although definitely not an MS idea originally), but the current implementation leaves me to wonder who on earth approved it for production and what is he/she getting paid for?

    11. Re:An even bigger hole... by ucblockhead · · Score: 4, Insightful

      I'm a Windows developer. Last time I got a new machine, I counted the number of applications that I needed to install to completely set up my development environment. That number was over forty. You're telling me that I need to track changes to every one of those applications? Not easy on an OS that doesn't have anything like apt...one reason that while I write Windows code by day I run Linux at home.

      There have also been a number of times in my career where I have had to use development software written by companies that either went out of business, or stopped supporting that software. What then?

      What Apple understands and Microsoft does not is that it is not my job to make the OS work better. It is the OS's job to make my life easier.

      --
      The cake is a pie
    12. Re:An even bigger hole... by Chokolad · · Score: 5, Informative

      I still don't understand where the supposed security gain is. Since when is malware unable to click ok itself?

      UAC prompt opens in separate logical desktop. Applications from main desktop can not send windows messages to it which means malware will be unable to click ok itself.

    13. Re:An even bigger hole... by Doctor+Crumb · · Score: 4, Informative

      Sorry, but linux and OSX only ask you for your password when doing potentially dangerous things. You are not prompted when moving files from one of your own folders to another of your own folders. You are not prompted when editing your own menus. You ARE prompted when doing something that will affect other users of the system, such as installing software site-wide. If you want to install a warez server under your own home folder, go nuts, you already explicitly have permission to do so.

      Of course, linux and OSX have fine-grained mechanisms to grant/revoke permissions for any file, folder, or program. If I wanted to install openoffice as my cousin vinnie, I could do so. Vista's all-or-nothing UAC is nothing more than an attempt to shift blame to the users, so that MS can claim to provide better security than ever before.

    14. Re:An even bigger hole... by SteveXE · · Score: 4, Insightful

      Im with you. I get annoyed pretty quick when it comes to crap popping up on my screen but I've been running Vista since launch and it really doesnt bother me. Im kinda glad its asking if its ok to do some of these things. Its already prevented one program that was piggy backing on another app I downloaded from installing. I downloaded the program which I trusted from a source I trusted. Well guess what was hidden in the install that vista blocked from auto running? Spyware!

      Everyone seems to be making a huge deal out of nothing and they alway get +5 moderation for doing so. If you dont like UAC then shut it off and move on, its not that hard...oh wait I forgot. Microsoft sucks no matter what they do!

    15. Re:An even bigger hole... by Rycross · · Score: 3, Informative

      Sorry, but linux and OSX only ask you for your password when doing potentially dangerous things. You are not prompted when moving files from one of your own folders to another of your own folders. You are not prompted when editing your own menus.

      In theory UAC should behave like this as well. UAC is mostly a way of elevating priveledges, just like sudo, minus the password. Administrators on Windows actually run under lower priveledge accounts, and then elevate for specific tasks that require administrator priveledges.

      See, the real problem is so many things in Windows requires Administrator by default. Even stuff that shouldn't. Thats the real problem here.

      Of course, linux and OSX have fine-grained mechanisms to grant/revoke permissions for any file, folder, or program. If I wanted to install openoffice as my cousin vinnie, I could do so.

      You can do this in Window's too. It has a "Run As" option, and ACLs that let you any arbitrary number of users or groups' access to the file.
    16. Re:An even bigger hole... by Anonymous Coward · · Score: 2, Informative

      Sorry, but linux and OSX only ask you for your password when doing potentially dangerous things. You are not prompted when moving files from one of your own folders to another of your own folders. You are not prompted when editing your own menus. You ARE prompted when doing something that will affect other users of the system, such as installing software site-wide
      You've actually just described how Vista UAC behaves. You get no prompt when moving files from your folders to your folders, you're not prompted when editing your own menus (unless you edit the 'all users' menu). You are prompted when you do stuff that will affect others.
      it sucked in the pre-beta days, but the released bits behave just as you describe. Anyone who says otherwise is mongering the FUD.
    17. Re:An even bigger hole... by Jherek+Carnelian · · Score: 2, Informative

      I actually use [Shift][Delete] almost exclusively.

      Me too. Yet on unix (csh/tcsh) I always do:

      alias rm 'ls \!* && echo -n "Remove (y/n)? " && if(y == $) /bin/rm -rf \!*'

      which, unlike "rm -i" prompts just once no matter how many files are being deleted.
      I've run that way for over 15 years now (damn, I'm getting old) and never once deleted something by mistake.

    18. Re:An even bigger hole... by jZnat · · Score: 2, Informative

      Problem solved! Nowadays, most QuickTime movies are just H.264+AAC, both of which are MPEG-4 standards, so support for said media files is far more widespread than the old widely-used QuickTime audio and video codecs.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
    19. Re:An even bigger hole... by Overly+Critical+Guy · · Score: 2, Interesting

      I guess it's because UAC isn't there out of some smart architectural design that Microsoft conceived during the development of Windows, like with UNIX security privileges. It's there to mask the problems of their aging Win32 codebase that still relies on an API that was designed in the single-user days of the 1980s. So to me, UAC is a constant reminder that Windows is broken and needs a diaper to protect itself from the evil online world.

      --
      "Sufferin' succotash."
    20. Re:An even bigger hole... by RzUpAnmsCwrds · · Score: 4, Informative

      You ARE prompted when doing something that will affect other users of the system


      You mean like modifying files that you don't have ownership of?

      UAC does not, and has never, prompted users when they move files that they have permissions to. It does, however, prompt when you move files that are in the common desktop or in the common start menu folders.

      Of course, linux and OSX have fine-grained mechanisms to grant/revoke permissions for any file, folder, or program.


      Clearly, you don't understand anything about how Windows works. Windows has had access control lists practically everywhere in the OS since Windows NT.

      Oh, and the ACLs in Windows are far, far more "fine-grained" than the usable-but-primitive permission bits in Linux.

    21. Re:An even bigger hole... by Rycross · · Score: 2, Insightful

      How is sudo in Unix a good security feature while UAC in Windows is a diaper? Its basically the same thing: a way to elevate priveledges for certain tasks.

    22. Re:An even bigger hole... by Jherek+Carnelian · · Score: 2, Informative

      slashdot ate the alias, it should say

      alias rm 'ls \!* && echo -n "Remove (y/n)? " && if(y == $<) /bin/rm -rf \!*'

    23. Re:An even bigger hole... by Captain+Splendid · · Score: 3, Funny

      I don't know why everybody harshes on ME. Sure, you have to beat it into coma before it behaves, but after that, it's almost as good as windows '98!

      --
      Linux, you magnificent bastard, I read the fucking manual!
    24. Re:An even bigger hole... by phayes · · Score: 3, Funny

      Because on Linux/Mac, sudo allows one preemptive security check to enable a process to do multiple admin tasks, where UAC prompts on each action. This is analogous to house training a dog. Sudo gets the dog to ask to be let out where he takes care of business. UAC gets the dog to ask: Can I piss on the carpet, then can I do a dump on the rug, then ...

      --
      Democracy is a sheep and two wolves deciding what to have for lunch. Freedom is a well armed sheep contesting the issue
    25. Re:An even bigger hole... by Combuchan · · Score: 4, Informative

      I could spend a lot of time beriding your ignorance, but instead, you can google three words--linux extended attributes--and you will understand for yourself.

      --
      "[T]he single essential element on which all discoveries will be dependent is human freedom." -- Barry Goldwater
    26. Re:An even bigger hole... by WWWWolf · · Score: 4, Informative

      Oh, and the ACLs in Windows are far, far more "fine-grained" than the usable-but-primitive permission bits in Linux.

      Uh, Linux has supported POSIX Access Control Lists and Extended Attributes for quite a while now.

      Heck, it dates from the days when ext2 was the king of filesystems, and that's a long way back. (Granted, at least on ext3, you have to specifically turn them on in mount options or with tune2fs, but on XFS, JFS and (to my knowledge) Reiser3 and 4, they're supported out of box.)

      And when people say POSIX, they mean "real *nixes have had these features for, like, centuries". =)

      What you're saying next? "Active Directory is so much more better authentication system than /etc/passwd, which is also a security risk that exposes encrypted passwords to users"? =)

    27. Re:An even bigger hole... by Allador · · Score: 2, Informative

      This is commonly done in Windows in one of two ways:

      1. Use RunAs to fire off a new explorer.exe process running in admin mode. Then do as much work as you want, as long as the process is started from that window, its all in admin mode. It's basically almost like firing up a term-serv window into your own machine. MakeMeAdmin is the same thing, but adds the elevated priv tokens to your regular profile for that one process (rather than starting a process in a different user profile).

      2. Use RunAs to fire off a new cmd.exe shell running in admin mode. Then do as much work as you want as admin.

      Now granted, UAC is sort of a weird hybrid thing, where you run as admin but cant do admin stuff without answering the prompt. But just turn UAC off, work as a non-admin (like a sane person), and use RunAs when you need it.

    28. Re:An even bigger hole... by BrokenHalo · · Score: 2, Insightful

      ...which brings me back to the grandparent post: you would think Microsoft would come up with a more useful dialogue box or just get rid of most of them altogether.

      A few weeks ago my old Dad had one of those delightful messages on his machine: "An unrecoverable error has occurred, yada yada... [OK].

      As he quite rightly pointed out, "No it isn't fucking OK. What am I supposed to do now?".

  2. So what's new? by jmac880n · · Score: 2, Insightful

    I believe that even RPM on linux runs the install scripts with admin access...

    1. Re:So what's new? by Anonymous Coward · · Score: 2, Insightful

      I believe that even RPM on linux runs the install scripts with admin access...
      Yes, but you generally have to be logged in as root in order to install the RPM...
    2. Re:So what's new? by drinkypoo · · Score: 2, Informative

      I believe that even RPM on linux runs the install scripts with admin access...

      If you install an RPM of unknown providence, you deserve what you get.

      Otherwise, the packages are presumed to have been tested by the maintainers and to not destroy your system.

      There is no such structure in Windows-land. You clearly do not understand how the system works if you think the two are comparable.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:So what's new? by DoofusOfDeath · · Score: 5, Informative

      I believe that even RPM on linux runs the install scripts with admin access...

      Yes, but at least in the RPM case, a regular unprivileged user cannot cause an untrusted program to run with kernel-level permissions. In Linux, that user would have to enter a privileged password (for sudo or root login). On Vista, a regular user who has no admin rights can choose to execute an installer program with kernel privileges.
    4. Re:So what's new? by lukas84 · · Score: 3, Interesting

      I'm sorry, but you are wrong.

      A regular user without admin rights can't run any program with admin privileges, ever. Of course said user can use runas (or their graphical counterpart), and give the program U:PW for administrative privileges.

      Now, the default user Vista creates at install time is an administrator - but the default token said user gets is the same of a regular user. Now, if you want to run a setup program, Vista will elevate the privileges of such administrator accounts to the administrator level.

      It's really quite similar to sudo, except that it doesn't prompt for passwords. But, if you want, you can do even that, through group policies.

  3. Another approach. by Lethyos · · Score: 4, Funny

    Why not just let the user copy the application bundle to wherever they have write permissions? That application then executes with the privileges of the user that invokes it. If only there was a platform that offered such a simple an effective solution.

    --
    Why bother.
    1. Re:Another approach. by drinkypoo · · Score: 2, Informative

      Why not just let the user copy the application bundle to wherever they have write permissions? That application then executes with the privileges of the user that invokes it. If only there was a platform that offered such a simple an effective solution.

      Just to be a pedant, I would like to mention that you can in fact do this on Windows. However, applications developers seem to be in love with the registry, despite the fact that it really offers them no benefits whatsoever. I mean, it's slower than just putting all that data in flat files...

      I have lots of programs that work fine when I just copy them from one windows installation to another. Most of them are in my games folder, though.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    2. Re:Another approach. by QuantumG · · Score: 2, Interesting

      Actually, he was refering to App Bundles.. a Mac concept that has been replicated on Linux about a dozen times but has never taken.

      --
      How we know is more important than what we know.
    3. Re:Another approach. by nadamsieee · · Score: 2, Informative

      a Mac concept that has been replicated on Linux about a dozen times but has never taken.

      A user has had the ability to install stuff in her home directory on POSIX machines for oh... probably since POSIX machines have been around. This isn't a "Mac concept". At most Apple has polished the idea to make it easy for non-geeks. And don't forget that OS X a.k.a Darwin is a POSIX-like implementation.

    4. Re:Another approach. by TheRaven64 · · Score: 4, Informative

      Actually, the concept was on the original Mac before NeXT existed. Mac applications would have the executable in the data fork, and any supporting 'files' in the resource fork. NeXT didn't want to implement forks, so they used folders instead. This let them store applications on filesystems that didn't support forks (e.g. FAT, UFS, etc), and so was probably a better solution.

      --
      I am TheRaven on Soylent News
    5. Re:Another approach. by tomhudson · · Score: 2, Informative

      That's how most programs installed under DOS, so it definitely predates Darwin. Who'd have thought that DOS was more POSIX than Windows (at least in this one area)?

    6. Re:Another approach. by QuantumG · · Score: 3, Informative

      Sigh. The *point* of an App bundle is that you don't "extract" it. The OS knows how to read these things and treats them as part of the filesystem.

      --
      How we know is more important than what we know.
    7. Re:Another approach. by jZnat · · Score: 2, Informative

      You do know that app bundles are just directories called "ApplicationName.app", right? They are part of the file system. Also, those DMG files you get them from? Those are HFS+ (the file system format on OS X) images (similar to how ISO files are images of ISO-9660 file systems) which is why they get mounted.

      --
      'Yes, firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
  4. Executable installers.... by croddy · · Score: 3, Informative

    Well, as long as your OS still relies on the ancient "executable installer" model for software distribution, you're going to be stuck making design decisions to accomodate that model. Things like APT have other nightmare scenarios (what if someone compromises the repository?), but not having to run shitty little EXEs to install applications isn't something I miss from Windows.

  5. "balance" ease of use by gvc · · Score: 2, Insightful
    Ease of use and compatibility with DOS/Windows is a major reason that Microsoft got us into this security mess. The default user in XP was an administrator with no login password. Non-priveleged accounts were practically useless, mainly because you couldn't install any software using them. Now Vista is touted as allowing non-priveleged accounts, but the price you pay is that any old installer is priveleged. What an advance!


    While I'm at it, why does a printer (or other non-intrusive peripheral) driver have to have unfettered access to the life blood of the OS?

  6. Eh? by nagora · · Score: 2

    Does this mean that Vista does not allow users to install local copies of programs (eg, Tetris)?

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  7. Absolutely shocking... by jtobin · · Score: 2

    ...they're trying to install Tetris? Haven't they heard of Crack Attack?

  8. Further proof by Anonymous Coward · · Score: 5, Insightful

    ...that security needs to be designed in from the start to be effective, not a bolted-on afterthought.

    When are they finally gonna give up this retarded backward-compatibility-at-all-costs mindset and *really* rewrite Windows from the ground up? Microsoft owns Virtual PC for Christ's sake, so it's not like they couldn't include a sandboxed "classic" Windows for app compatibility for a few years.

    The one thing Apple did that Microsoft really ought to copy, they don't. Figures.

    1. Re:Further proof by TheRaven64 · · Score: 2, Interesting

      When are they finally gonna give up this retarded backward-compatibility-at-all-costs mindset and *really* rewrite Windows from the ground up? They did. It's called Singularity, and is a very interesting system (although somewhat reminiscent of JNode, particularly all of the things the claim are 'novel' about it). The trick is not re-writing Windows, it's selling the re-written Windows. They did very well to get everyone to move from DOS to NT. Now they have quite a nice kernel (although I'm not convinced it will scale to more than 64 cores without a significant redesign), and a load of bolted-on compatibility crap.

      While I'm rambling incoherently, I'd like to point out something not-quite irrelevant. I am typing this from an Intel Mac. I have a few old games, one of which has a MacOS Classic version and a Windows 95 version. The Windows 95 version runs fine under Crossover (and will run under WINE once they get the OpenGL support on OS X fixed), while the Mac version doesn't run at all. I also have a few DOS programs that run fine under DOSBox on OS X, but don't work on XP (without DOSBox). What is the point I am trying to make? That backwards compatibility with Microsoft software is not something that Microsoft have a monopoly on. It's actually easier to run ten-year-old Microsoft software on a new Mac that it is to run ten-year-old Mac software on a new Mac, or even ten-year-old Microsoft software on a new Windows box in many cases.

      --
      I am TheRaven on Soylent News
  9. Swinging a Blunt Object by CheeseburgerBrown · · Score: 5, Insightful

    I think you're right. Microsoft has failed to appreciate the user psychology of interacting with authorization prompts in a way that would shame most retarded chimpanzees. The only explanation that doesn't invoke something more bizarre than Xenu is that they figured most Deltas would simply turn off the feature out of annoyance, and thus Microsoft would bear no blame in the subsequent (and likely rapid) zombification of said Delta's system.

    "What? We put the thingy in. It's not our fault if idiotsticks turns it off because he's too lazy to take security seriously."

    This is a way to let themselves off the hook, escalating user error to the root of all evil instead of, say, a hopelessly fractured and bloated development bureaucracy overseen by demented lizard people. This is a response to the criticisms about Windows having a default configuration more favourable to trojans than users, so they can now claim that the default configuration is solid. You changed a setting? The buck stops at you, sucker.

    Maybe Microsoft needs someone with some insight into user behaviour and interface psychology on staff. I hear Steve Jobs has a reasonable hourly rate. (/me ducks)

    1. Re:Swinging a Blunt Object by an.echte.trilingue · · Score: 5, Interesting
      You know what really gets me about the annoying Vista security model? It's that the one in XP isn't THAT bad, its just the default configuration that is THAT bad. If you (1) password protect the "administrator" account and (2) run as a non-admin user when not doing admin things (most of the time), you will eliminate many problems.

      I know, I know, it is still not as good as *nix security, and there are lots of programs that need admin privileges to run properly (fewer these days, though), but it isn't that bad.

      Take care

      -mat

      --
      weirdest thing I ever saw: scientology advertising on slashdot.
    2. Re:Swinging a Blunt Object by phoenixwade · · Score: 3, Interesting

      No, it isn't lazy users. It's social programming. It's behavior training. And that is MS's problem.

      Sooner or later, if you offer a situation where the user needs to click okay for non-threat situations - you train them to click okay every time the message is presented. You are providing a pathway to encourage users to circumvent, not just allow it. Solves one problem by creating a new one.

      --
      A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort.
    3. Re:Swinging a Blunt Object by AeroIllini · · Score: 4, Insightful

      I know, I know, it is still not as good as *nix security, and there are lots of programs that need admin privileges to run properly (fewer these days, though), but it isn't that bad.

      You know, if any *nix software required the user to be root to run, we would string the developers up alongside the guy who thought Clippy would be a good idea.

      Why should it be any different for third-party applications requiring Administrator privileges to run on Windows?

      Microsoft is so busy catering to the third party developers in order to maintain their lock-in, that they forgot how to put their foot down on truly important software engineering issues, like security. Locking down XP to an almost *nix-like state can be done. There are read/write/execute permissions available on every directory, drive letter, and registry key, and Windows supports the "home directory sandbox" model. After all, a virus in *nix could conceivably blow away a user directory, but unless it's exploiting a buffer overflow or other coding error hole, it can't take down the system. The same is possible in Windows, but not available by default to your average Dell user.
      --
      For security, the MD5 hash of this message and sig is 09f911029d74e35bd84156c5635688c0.
    4. Re:Swinging a Blunt Object by Darundal · · Score: 2, Insightful

      But most programs require admin priveliges to run. While you can say that it is the fault of the application developers, and not Microsoft, devs are going to normally take the path of least resistance. Running it as an admin in Windows is the path of least resistance. In *nix, however, there is little difference for most apps between installing/running as Root and installing/running as a normal, limited user. It is merely bad design on the part of Microsoft that makes the difference, and encourages the bad behavior.

    5. Re:Swinging a Blunt Object by mpe · · Score: 3, Interesting

      You know, if any *nix software required the user to be root to run, we would string the developers up alongside the guy who thought Clippy would be a good idea.

      Presumably you mean "any *nix software which claimed to be some kind of ordinary user application".
      You'd probably also want to ensure that the software itself was wiped from the face of the planet, since if the "developer" dosn't know about the setuid permission bit it's rather unlikely that they they know enough to write software which has any chance of being bug free...

      Microsoft is so busy catering to the third party developers in order to maintain their lock-in, that they forgot how to put their foot down on truly important software engineering issues, like security. Locking down XP to an almost *nix-like state can be done. There are read/write/execute permissions available on every directory, drive letter, and registry key, and Windows supports the "home directory sandbox" model.

      In theory XP's permissions system is more capable than that on unix type systems. Since every permission is an ACL (including deny options, thus you could say "Any user in accounts except for Anne and Bob can do this..) In practice it appears even Microsoft have problems securing Windows properly.

    6. Re:Swinging a Blunt Object by Fred_A · · Score: 2, Insightful

      Why should it be any different for third-party applications requiring Administrator privileges to run on Windows?
      Because there's apparently an astounding number of Windows programmers out there that still have a model of the system in their little heads carried over from DOS 5 days. They didn't really get that multiuser thing or what those user privileges were. After all there's one machine per user so what's all this multiuser nonsense ?
      Similar problems apparently exist with a number of networking apps.
      --

      May contain traces of nut.
      Made from the freshest electrons.
  10. You ought to watch those irrational beliefs . . . by mmell · · Score: 5, Insightful
    Let's say rather that you need root authority to install rpm packages for use by all users.

    rpm itself doesn't require root authority, and if everything you intend to do with rpm happens in directories to which you have write authority, rpm will work just fine.

    By default, rpm does use directories (notably, in /var) which will require running with root authority; but this can be overridden with command line switches (say, to install an rpm which will only be used by you).

    RTFM.

  11. Steve is that you? by tiltowait · · Score: 5, Funny

    Video version of the above commentary here.

  12. What? by jamesshuang · · Score: 5, Interesting

    So let me get this straight... deleting a shortcut brings up a pile of popups, but installing something doesn't?! Who's trading security for annoyance here?

    1. Re:What? by ivan256 · · Score: 2, Informative

      This is no different from if you tried to delete a file on your Linux box that you didn't own. You would be forced to elevate your user to delete the file.


      Actually it is different....

      In a Unix shell when you run rm on a file you don't have permissions to delete it fails. It doesn't offer to help you screw up.
  13. Balancing Security with Ease of use by ThatsNotFunny · · Score: 5, Funny

    Looks like "Ease of Use" is the morbidly obese 10-year-old kid on this see-saw, and "Security" is up in the air with her legs dangling, and all the kids are lookin' up her skirt.

    --
    "Was it a millionaire who said 'Imagine No Posessions?'" -- Elvis Costello
  14. DOOM: History repeats itself by MarkGriz · · Score: 5, Funny

    Wasn't it the failure of the UAC that allowed the demons from hell to infiltrate Earth?

    I guess MS didn't learn anything from id.

    --
    Beauty is in the eye of the beerholder.
    1. Re:DOOM: History repeats itself by chrisb33 · · Score: 4, Funny

      You think UAC is bad now? Just wait for Vista II: Hell on Earth

  15. It's not the software. by KingSkippus · · Score: 4, Informative

    That's the thing. Most of the prompts I was getting was not from software trying to do stuff, it was from normal operating system operations such as copying/moving/renaming/deleting files. Not OS files, but my own documents in my user directory. Not programmatically, but from me personally interacting with Explorer to manage my data. Stuff like changing the layout of my Start menu. Stuff like changing my desktop background. Stuff like copying a line of text from a web page in IE7 to paste in a document.

    1. Re:It's not the software. by 787style · · Score: 5, Interesting

      I had probably the most frustrating ten minutes i have ever spent on a computer before.

      Start, typed in regedit enter.
      Vista:Are you sure you want to run this program?
      Me: Yes. I went OUT of my way, hit start, run and typed in the pogram name I wanted. Thanks for checking though. (click) ....
      Edit the registry, close it. That was easy. ....
      double clicked on setup. Stupid shield on my icon, what does that mean?
      Vista: are you sure you want to run this? it's a program, you know.
      Me: Oh that must be what the shield is for. Vista feels like it should protect me from software!
      Vista: This is from AMD. Do you trust AMD?
      Me: yes, they pay me. I trust them. (click) .....
      Install......that was easy. ....
      Oops, there's a problem. Well, let's grab the correct file from the build server and copy it over ...
      Open my computer, go to program files ....
      Vista: Are you sure you want to go there?
      Me:Yes (click) ...
      open up the application folder ....
      drag a file from a network share to the application folder....
      Vista: Are you sure you want to overwrite this file?
      Me: Yes (click)
      Vista:A program wants to write to the Program Files folder. Is this ok?
      Me: Yes (click)
      Vista:You are trying to copy from a network share to the program files folder. This isn't allowed. Hit ok.
      Me: (Pounds head) (click) ....
      Drag to Desktop. ....
      Drag from desktop to application folder. ...
      Vista:
      Are you sure you want to overwrite this file?
      me: for the love of god yes
      Vista:A program wants to write to the Program Files folder. Is this ok?
      Me: Die.Die.Die.Die.

    2. Re:It's not the software. by LiquidCoooled · · Score: 5, Funny

      Sounds like Clippy has been re-incarnated.

      *shudder*

      --
      liqbase :: faster than paper
    3. Re:It's not the software. by ThinkFr33ly · · Score: 4, Informative

      Not OS files, but my own documents in my user directory. I find that hard to believe, unless you're talking about pre-RC2 Vista. Operations on files which you own or have normal permissions to, such as all the files in your user directory, do *not* cause a UAC prompt. Simple as that. Think of it this way, if you were on Unix, it would simply deny you access to the file in question. You would then have to su root to get the job done. In Vista, it makes that elevation a lot faster and easier.

      For repeated, but seperate operations (like installing a lot of applications when you're setting up your machine), you can disable UAC. This is basically the same thing as su root if your account is an admin account. Once you're done, re-enable it. It's really not that hard.

      Stuff like changing the layout of my Start menu. You'll only get a UAC prompt when modify start menu folders that are shown to all users. Why? Because these aren't folders you own. See my previous point. Also, why bother rearranging start menu folders in Vista? If you want to find something, type in the first couple of letters and it appears. It's MUCH faster than drilling down through folders.

      Stuff like changing my desktop background. Stuff like copying a line of text from a web page in IE7 to paste in a document. You're either making this up, or you were using something that was even pre-pre RC1. This simply does not happen with Vista post-RC1.
    4. Re:It's not the software. by ThinkFr33ly · · Score: 2, Interesting

      First of all, sudo is a much better way to do administrative tasks in *NIX. But aside from that, how many clicks does it take to enable/disable UAC? It is a lot faster to "su root" and then exit than click through even two menus. We're talking about something you might have to do once every few months. Do you seriously content that having something take 5 seconds longer is a bid deal?

      But most of all: how long did Microsoft work on Vista and why could they not have done an intelligent job of it? So what would have been a better solution?

      It's easy to say that UAC is a bad idea... but it's a lot harder to come up with a better solution.

      So go ahead, give it a shot.

      Why do you need to make excuses on a product that was in development for five years? I'm not trying to "make excuses". I'm trying to explain their reasoning... but obviously some people don't care and would rather just bash.
    5. Re:It's not the software. by bjackson1 · · Score: 4, Funny

      Vista: This is from AMD. Do you trust AMD?
      Me: yes, they pay me. I trust them. (click) .....


      Wait, you TRUST your employer? What is this board coming to?

    6. Re:It's not the software. by Minwee · · Score: 5, Funny

      He did warn us that if we struck him down he would become more powerful than ever.

      Maybe we should have listened.

    7. Re:It's not the software. by Paolo+DF · · Score: 5, Insightful

      So, this is *exactly* like the latest "get a Mac" ad. Maybe even funnier!

      --
      Pumbaa! I don't wonder; I know.
    8. Re:It's not the software. by Rycross · · Score: 4, Insightful

      Its mostly because Windows has been so piss-poor with their default settings in the past, so trying to get a more secure-by-default setup is like pulling teeth. I remember once reading in a security book that integrating security into your application after the fact is several times harder than designing it that way by default. Windows is in the unenviable position of having to integrate security after the fact.

      Regardless, I think that a Windows version of sudo is a very good step. They just should have spent more time working on permissions so that it didn't trigger so much (assuming that what the posters' have said is accurate). The setup thing in TFA is kinda stupid, but installers almost always write to Program Files in Windows, and rarely have a per-user installation method like in Linux. A better solution would have been to try and encourage installers to have a per-user installation method.

      Anyways, it may be that I'm just lucky that I haven't had a lot of problems with UAC. But I haven't had to go registry diving or modify any system directories in Vista yet, so theres that too.

    9. Re:It's not the software. by be-fan · · Score: 5, Interesting

      Most of those prompts were redundant, either because they enforce things guaranteed by the underlying file permissions, or because the authorization could've been cached.

      Vista:Are you sure you want to run this program?

      Of course! It's got +X set!

      Vista: are you sure you want to run this? it's a program, you know.

      Ditto.

      Vista: This is from AMD. Do you trust AMD?

      Redundant. If I didn't trust them, I wouldn't have set +X.

      Vista: Are you sure you want to go there?

      Since Program Files shouldn't be world writable, this should prompt you for the administrator password. This authoriation should then be cached for Explorer.exe.

      Vista: Are you sure you want to overwrite this file?

      I'll let this slide, because even 'cp' prompts for that.

      Vista:A program wants to write to the Program Files folder. Is this ok?

      Should've grabbed cached authorization for Explorer.exe. Unless Explorer.exe was compromised in the 30 seconds between this action and the previous one, no security is lost here.

      Vista:You are trying to copy from a network share to the program files folder. This isn't allowed. Hit ok.

      That's just idiotic.

      Are you sure you want to overwrite this file?

      Again, I'd let it slide depending on preference.

      Vista:A program wants to write to the Program Files folder. Is this ok?

      Cached authorization again.

      It's really not that hard. UNIX/sudo got this right god knows how long ago. Apple did the right thing and just copied the sudo mechanism wholesale. Microsoft should to.

      --
      A deep unwavering belief is a sure sign you're missing something...
    10. Re:It's not the software. by PitaBred · · Score: 4, Insightful

      Is it sad or scary when hyperbolic advertising isn't?

    11. Re:It's not the software. by shmlco · · Score: 4, Funny

      "You are coming to a sad realization. Cancel or Allow?"

      --
      Any sect, cult, or religion will legislate its creed into law if it acquires the political power to do so.
    12. Re:It's not the software. by 787style · · Score: 2, Informative

      Since Program Files shouldn't be world writable, this should prompt you for the administrator password. This authoriation should then be cached for Explorer.exe.

      The underlying problem here is exactly how much explorer.exe is tasked to do. It's the start button, the file explorer, and can be a launcher application. If explorer.exe is ever trusted, it is never unloaded from memory and is always running. You would have to spawn a new process for each instance, and have to trust each instance for that to begin to work, but we've just failed by having to reauthorize each instance.

      Vista:You are trying to copy from a network share to the program files folder. This isn't allowed. Hit ok.

      That's just idiotic.


      I couldn't believe it when I read it. And it is so incredibly easy to defeat, I just don't see the point. Any malicious code simply drops itself into the root of the drive before shoving itself into program files. Not that there is any particular gain to be had, except maybe replacing executables. Again, this is easily bypassed.

    13. Re:It's not the software. by bleifuss · · Score: 5, Interesting

      You were lucky. Try logging into Vista using a domain account. Then try copying a file from a restricted share to which the local machine users are not automatically authenticated but to which the logged in domain user is. Try to copy the file to a restricted destination like C:\. You go to do the copy, get all of the prompts you listed and then guess what: when you authenticated to the remote share by logging into the machine you authenticated as the domain user, but the local administrator under whose context the elevated copy is being performed never authenticated to the remote share and you get prompted yet again for credentials.

      This is an annoyance for an end user but a major pain in the neck for software. I develop software that does not run elevated that accesses a remote file and the passes the file path into an out-of-process server that is running elevated. We either had to make the server no longer run elevated or prompt the user for credentials they already used to log into the machine (and which they don't think they need because they can get to the files just fine themselves) and then pass these credentials to the server with the path. Fortunately our architecture allowed us to have our server to not run elevated and get some other server to do the tasks that needed to be done elevated.

      Vista is really a pain in the neck. What's funny about it is that I was at a Vista iterop event at Microsoft last November (yes I sometimes have to fraternize with the enemy) and every MS developer I worked with had to tell me how much they loved working on Vista and that they had been using Vista on their development machines for months. I asked them if they had disabled UAC and they said "no, why would you want to do that?" I then asked them if it wasn't annoying to be prompted all the time and they said "no." I can only assume that they must have been brainwashed.

    14. Re:It's not the software. by be-fan · · Score: 3, Insightful

      The better solution is what OS X does: extend "sudo" to the GUI. The first time the app needs escalated privileges, prompt for the user's password. Then, cache those privileges for a reasonable amount of time and don't prompt. Unless the app in question is compromised in that interval, it doesn't matter.

      The problem with UAC is that it fails to separate the two orthogonal issues of sanity-checking the user's behavior, and maintaining system security. Consider how "Program Files" is handled. Browsing into "Program Files" throws up a UAC alert. It shouldn't do that --- "Program Files" is readable to everyone. Writing to "Program Files" should throw up a UAC alert, but only the first time in the caching period. The question at that point isn't "Do you really want to modify this directory" (of course I do!), but rather "Do you want to give Explorer.exe permission to modify this directory". When you follow the first train of thought, you end up with prompting the user each time, because obviously each copy requires a separate sanity-check. If you follow the second train of thought, you see that the caching mechanism is just fine, since if Explorer.exe was authorized 30 seconds ago, it's unlikely it was compromised since then, and should retain that authorization.

      --
      A deep unwavering belief is a sure sign you're missing something...
    15. Re:It's not the software. by Bastard+of+Subhumani · · Score: 5, Funny

      Classic windows security. You can either do anything, or you can't even change the background picture.

      --
      Only three things are certain; death, taxes, and apocryphal quotations - Ben Franklin.
    16. Re:It's not the software. by hackstraw · · Score: 5, Interesting

      Sounds like Clippy has been re-incarnated.

      The sad thing is that I've seen Clippy like once or twice years ago, and that is what I thought this dialog reminded me of, but worse because from what I remember Clippy would start yelling at you when you did anything, and you could just tell him to go away, but now its worse because the operating system blocks and asks you to click a bozo box every time you do anything?

      * smashes head on desk *

      Let me be clear, I don't use MS software because it is not designed for a computer professional like myself. To be honest, I don't know who its designed for, or if its even designed at all.

      The first time I heard Windows was having this UAC thing, I knew that it would suck as only Microsoft could make it suck. I knew it would annoy the hell out of the user so bad that it would do one of two things. 1) annoy them to the point that they just turn it off (I understand this is allowed in Vista) 2) annoy the user and they don't turn it off, they just bend over and take it, and the 1 out of a million clicks when your supposed to say No, you click Yes because that is what you ALWAYS HAVE TO DO TO GET ANYTHING DONE.

      * smashes head on desk again *

      Microsoft can't even rip off existing security models that work like the elevated priveledges in OS X. Microsoft embarasses me as a computer professional, and I don't even use their stuff, because people associate MS with computers.

      Thanks for the grandparent post for sharing their experience, and thank you Apple, Linux, and Sun for making computers usable.

      Oh, and I almost forgot.

      Vista automatically assumes that all setup programs (application installers) should be run with administrator privileges -- and gives the user no option to let them run without elevated privileges.

      Isn't this the case where 99.9% of the time YOU WANT TO BE ASKED? Didn't Microsoft invent the term "driveby install"?

      * smashes head on desk again *

    17. Re:It's not the software. by ThinkFr33ly · · Score: 3, Insightful

      The better solution is what OS X does: extend "sudo" to the GUI. The first time the app needs escalated privileges, prompt for the user's password. Then, cache those privileges for a reasonable amount of time and don't prompt. Unless the app in question is compromised in that interval, it doesn't matter. It's not a matter of the "app in question" being compromised. Vista doesn't elevate the entire user, it only elevates the application. For the entire length of execution of that application, the application will run elevated. For instance, Visual Studio.NET is an application that pretty much always needs to be run as admin. When I run the application as admin, it stays as admin. I get 1 UAC prompt, and for the entire lifetime of the process it is running as admin. No caching. No timeouts. No additional prompts.

      If you cached the elevated credentials authorization for "X" minutes, or whatever, you would be giving a free pass to any malware that happened to be trying to do something bad. That's an incredibly bad solution. But I have to assume that's not what you're suggesting.

      Browsing into "Program Files" throws up a UAC alert. No, it doesn't. By default, all users on the system can read files in c:\Program Files.

      Writing to "Program Files" should throw up a UAC alert, but only the first time in the caching period. It does throw up a UAC, but I've already explained why the "caching period" is a bad idea. Now, what might be a good idea is running explorer.exe elevated when you need to perform lots of different file operations that require admin privs. And you can easily do that.

      If you follow the second train of thought, you see that the caching mechanism is just fine, since if Explorer.exe was authorized 30 seconds ago, it's unlikely it was compromised since then, and should retain that authorization. Ok, I think I see where the confusion is. Explorer is unique in the sense that when you authorize a file operation via UAC it doesn't elevate the entire explorer process. There are a bunch of reasons for this. You *can* elevate the entire explorer process if you want, which will achieve what you're looking to do.

      That make sense?
    18. Re:It's not the software. by Gulthek · · Score: 2, Insightful

      It's not a bad idea, just a bad implementation. Which is weird, considering Windows is the last major operating system to add this feature.

      It's a good start, but not for 2007. This stuff should have been in Windows 95.

    19. Re:It's not the software. by pherthyl · · Score: 4, Insightful

      People bitch when it's so easy to get this stuff on a windows machine, Microsoft finally does something about it and people decide to bitch about that.

      No, people aren't bitching about them doing something, they're bitching about them doing something WRONG. Linux and Mac's have a similar approach to this problem, but their solution (sudo) is not annoying, so it actually works. All Microsoft had to do was copy that solution to improve security, instead they came up with their own and made it obtrusive in the process.

      I have yet to experience these supposed headaches with Vista yet, the only time that shield pops up is when I run a program that is potentially harmful to my computer

      Although I also have not seen these prompts when copying text, I have seen them in plenty of places aside from installing programs. Places that make absolutely no sense, such as storing wireless settings. There is no reason that action should require admin privileges and thus a prompt.

      How many story's were posted about programs looking like they came from an official place only to release a trojan? sure you get a program from download.com and figure it's safe but after installing a program it suddenly fucks up your PC, with Vista it will actually ask if you trust it let you know where it came from the works.

      And how would that help? You download a program from somewhere, and double click to install it. Whether it is a trojan or not, Windows is going to ask you for permission. Since you downloaded it, you obviously think it is not a trojan, so you would press Ok on the permissions dialog. Turns out it is a trojan, and your system is compromised. A permission dialog does nothing to protect you here.

    20. Re:It's not the software. by Durandal64 · · Score: 4, Informative

      At the command line, Apple simply uses sudo. At the GUI layer, the security architecture is more complex than sudo. It borrows some concepts, but only in a very limited sense. When you authenticate, you don't necessarily become root. Sometimes, you are just given permission to make modificaitons within a program, where root privileges aren't strictly required for anything, but the app's author wanted to restrict certain capabilities to admin users on the machine. Apple's security model is designed around requesting rights (like "com.apple.installer.installSoftware") from the security server, and those rights have certain properties that you can set, like a timeout, whether root privileges are actually required for this right, etc ... In many cases, you're authenticating for permission to run a SetUID command-line tool that's been factored out of the GUI app you're working in. For example, when you authenticate in Installer.app, Installer.app does not elevate to being run with root privileges. It launches a SetUID binary called "runner", which runs with as root.

      Apple copied sudo's idea of "least required privileges" as the basis of its GUI security model, but I don't know if sudo was the first example of LRP. Maybe it was. But the GUI security model is definitely more complex than sudo, and apparently, it's a hell of a lot better than what Microsoft came up with for Vista. Using heuristics to identify which executables should get admin rights just seems like a horrendously stupid idea. Microsoft should've put its foot down on this one and forced developers of installer applications to properly request credentials. But they chose backwards-compatibility, as always, and now they're basically guessing who needs admin rights and who doesn't.

    21. Re:It's not the software. by Stamen · · Score: 5, Insightful

      What you aren't understanding is: it isn't the concept of asking for permission when you need to do something that requires administrator rights, that Microsoft got right, it's the way they implemented this feature that is so bad. Microsoft often gets the general ideas right, but the details are so wrong.

      Higher up in the thread someone mentions what happens when you copy a file to a folder in Program Files. Because Program Files folders are protected you need elevated permissions to do that. The right thing to do is say that it requires elevated permissions, ask if you want to do it, then do it. But in some cases it asks you 3 times for one file (do you want to copy, do you want to elevate, do you want to overwrite, do you want to be admin, do you need help with writing your letter). Why can't they give you one box that says, "The file already exists and this copy requires administrator rights, do you want to allow this?", then when you say OK, you are done. Why, why, why can't they do this, are they short of money?

      And Mac and Linux do exactly the same thing, they ask your permission to do admin tasks, except they got the details right so they don't irritate the user to death. A guarantee people are just going to shut off UAC because it's annoying, defeating the whole purpose.

    22. Re:It's not the software. by greed · · Score: 4, Informative

      Apple didn't copy the sudo mechanism. They copied sudo itself, shipped it with the operating system, and used it from the GUI.

      So changing /etc/sudoers can affect the GUI. This can be important, because the default behavior is to cache credentials for 5 minutes, which can leave your system exposed to the next thing that wants Administrator privs. Changing the cache timeout to 0 fixes that, nicely.

    23. Re:It's not the software. by Chris+Burke · · Score: 5, Informative

      cause then there will be a story on here going on about how Microsoft stole from Unix, then we get 800 comments about how microsoft is evil for doing it, yet no one will mention that Apple did the same thing cause they aren't the evil microsoft.

      Whatever. For starters, Apple didn't just steal from Unix, they build their OS on top of Unix. And you can't read any article on OSX around here without a dozen posts pointing that out, so the "no one will mention" part is just crap. Of course Apple never hid the fact that they were "stealing" Unix by building their OS on top of BSD. The whole point being to start with a solid OS with all these great Unixy concepts built in and add their Apply interface on top. Whereas when Microsoft steals these features after another five years, they'll act like they were struck by inspiration out of the blue and done something that nobody's done before, like they have with every other idea they've stolen. So the "did the same thing" part is crap too.

      It may be fun and easy to take a poke at the "/. doublestandard", but it only reveals that you don't understand that it isn't a double standard at all. Microsoft has a bad rep for a reason among those who have been paying attention, and hey, maybe you don't know or understand why but don't think Apple would get a pass if they truly did the same things Microsoft does.

      Next up: Why viewing Halliburton in a harsher light than Bob's General Contracting is also not an unfair double standard.

      --

      The enemies of Democracy are
    24. Re:It's not the software. by rjstanford · · Score: 2, Interesting

      I develop software that does not run elevated that accesses a remote file and the passes the file path into an out-of-process server that is running elevated. We either had to make the server no longer run elevated or prompt the user for credentials they already used to log into the machine (and which they don't think they need because they can get to the files just fine themselves) and then pass these credentials to the server with the path. Fortunately our architecture allowed us to have our server to not run elevated and get some other server to do the tasks that needed to be done elevated.
      It strikes me that this is exactly the kind of thing that Vista's "involve the user" kind of process is indeed supposed to alert them to. The real issue is that there needs to be some way to cache "Yes, this program can access this share and move the files to this special place," in a very specific way. But the user should definitely approve of this the first time through, at least.

      I'd also like to see multiple levels of caching, so that when you're asked for permission to perform one action or a string of actions, you can say one of Never, This time, This execution, This login session, or Always. But I admit that I'm dreaming here.
      --
      You're special forces then? That's great! I just love your olympics!
    25. Re:It's not the software. by init100 · · Score: 2, Informative

      Places that make absolutely no sense, such as storing wireless settings. There is no reason that action should require admin privileges and thus a prompt.

      Actually, wireless settings are systemwide settings, and would probably require a prompt even in Linux.

    26. Re:It's not the software. by David+Horn · · Score: 3, Informative

      I've just tried this on Vista Ultimate edition, and experienced no problems at all, apart from a UAC warning asking me if I really wanted to dump an unknown executable into my Program Files directory (and for some reason, a warning saying that a UAC warning was about to appear...).

      However, I suspect the GP is talking out of his arse. The file was from another PC, in another workgroup, drag-and-dropped straight into the Program Files directory. I even tried it in the Windows folder, and it was fine.

      --
      PocketGamer.org - For the gamer on the go!
    27. Re:It's not the software. by PhotoGuy · · Score: 5, Interesting

      Microsoft embarasses me as a computer professional

      Wow, I had never heard anyone said it so succinctly, but that's it, baby. I always felt an unrecognized sense of shame for the state of computers today, and I never quite realized why. This is it. Things should be *soooo* much further along today, if it weren't for the predatory monopolistic effects of MS. Throughout so much of the short PC history, there were rays of sunshine (Quarterdeck's multitasking DOS thing, many IP stacks, etc., etc), that were quashed by their monopoly. To see this happen, and realize their mediocracy, and not have done anything about it, definitely brings a sense of shame.

      --
      Love many, trust a few, do harm to none.
    28. Re:It's not the software. by maxwell+demon · · Score: 5, Funny

      You have just clicked yes. Did you really want to click yes?

      --
      The Tao of math: The numbers you can count are not the real numbers.
    29. Re:It's not the software. by PopeRatzo · · Score: 5, Insightful

      My few hours with Vista taught me something important about operating system design. That is, a good operating system should make you feel like you're in control of your computer. Like you're the one calling the shots and that the system will do exactly what you want it to do without fuss. Further, the experience of using a good OS should make you TRUST your computer and feel as if your computer TRUSTS you. You should not have to beg an OS to install an app or run an executable. Even if you do something that is possibly dangerous to security, the most it should do is ask "are you SURE?"

      I don't want to wonder if my computer is tattling on me if I'm downloading an mp3 without DRM or watching a copy of a video that a colleague gave me. I don't want to think my computer is a rat or a punk. I don't want to think my computer will rebel if I run a perfectly legal program like Alcohol or rip.net or want to install the k-lite mega codec pack.

      DirectX10? It's going to take more than DirectX10 for me to accept my computer as a spy in my home.

      --
      You are welcome on my lawn.
    30. Re:It's not the software. by spisska · · Score: 2, Insightful

      Actually, wireless settings are systemwide settings, and would probably require a prompt even in Linux.

      Setting up any network settings on Linux requires sudo. It is an administrative task and so requires administrative priviledges. On most Linux systems you need to authenticate before you make any changes, and often before you can even view settings. This is right and proper behavior.

      Where MS Windows Vista fails is in completely mucking up the whole concept of permissions. As an administrator, I don't want my users (or myself as a non-admin user) to even be aware of network settings, and certainly not be allowed to change them. If the network is failing, they need an adminitrator to sort it out. If the user has sudo priviledges and can fix it, that's great but they'll have to authenticate first. There is rarely a need to confirm changes because it is assumed that an administrator knows what they're changing.

      MS Windows Vista lets you do whatever you want, then asks you if you're sure you want to do it, then asks if you're really sure you want to do it, then tells you that you can't do it.

      The point is removing barriers between a user and his or her goal. Linux does this very elegantly. Apple does it elegantly and prettily. MS does it in a way that is as elegant as an elephant trying to turn around in an elevator, and as pretty as what the elephant leaves behind.

      MS hasn't failed because they tried to implement some semblance of user permissions and security, they failed because they did it in such a way that defeats the security through wolf-crying, defeats the permissions by letting anyone elevate permissions easily, and annoys the user by making tasks more difficult, complicated and time consuming than they need to be.

    31. Re:It's not the software. by toadlife · · Score: 2, Interesting

      Runas was more akin to su than sudo, which made for a bit of frustation when you ran a program as "administrator" that program would save files to the Administrator's My Documents folder instead of your My Documents folder.

      I wrote a very kludgey program awhile back called winsudo that solved this problem, and later some others who could program wrote proper implementations that bring sudo functionality to Windows 2000 and XP.

      --
      I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
    32. Re:It's not the software. by QuantumG · · Score: 2, Informative

      http://www.youtube.com/watch?v=FfetbidVUYw

      there's a link for people who prefer not to download an 18.8mb codec.

      --
      How we know is more important than what we know.
    33. Re:It's not the software. by pherthyl · · Score: 2, Informative

      Sorry, I wasn't quite clear. By wireless settings I meant things like saving a network to connect to later, not settings for the card. Networkmanager in Linux does not require root privileges to do that.

    34. Re:It's not the software. by smittyoneeach · · Score: 5, Funny

      a good operating system should make you feel like you're in control of your computer
      Kernel (Jessup): Son, we live in a world that has firewalls, and those firewalls have to be guarded by software with guns.
      Whose gonna do it? You? You, Slashdotter? Windows has a greater responsibility than you could possibly fathom.
      You weep for Tux, and you curse the DRM. You have that luxury. You have the luxury of not knowing what Windows knows.
      That Tux's death, while tragic, probably saved lives. And Window's existence, while grotesque and incomprehensible to you, saves lives.
      You don't want the truth because deep down in places you don't talk about on Slashdot, you want Windows on that firewall, you need Windows on that firewall.
      Windows use words like honor, code, loyalty. Windows uses these words as the backbone of a codebase spent defending something.
      You use them as a punchline. Windows has neither the time nor the inclination to explain itself to a Slashdotter who rises and sleeps under the blanket of the very freedom that Windows provides, and then questions the manner in which Windows provides it.
      Windows would rather you just said thank you, and bought copies for your entire extended family. Otherwise, Windows suggests you pick up a browser, and send a POST.
      Either way, Windows doesn't give a damn what you think you are entitled to.

      ;)
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    35. Re:It's not the software. by shut_up_man · · Score: 4, Funny

      Great, it's Darth Clippious.

    36. Re:It's not the software. by mrchaotica · · Score: 5, Insightful

      And the worst part is, if you tell them the truth -- "it does that because Microsoft sucks at making software" -- they don't believe you and think you've got some kind of unfounded grudge against Microsoft!

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    37. Re:It's not the software. by mrchaotica · · Score: 2, Insightful

      Yep, and it just becomes even more fucked up when you realize that Windows has a fancier permission system than unix! Why did Microsoft even bother?

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    38. Re:It's not the software. by macserv · · Score: 5, Funny

      Are you sure you want to cancel the operation?
      [ OK ] [Cancel]

    39. Re:It's not the software. by iamstretchypanda · · Score: 2, Insightful

      Microsoft stole from Unix, then we get 800 comments about how microsoft is evil for doing it, yet no one will mention that Apple did the same thing cause they aren't the evil microsoft.

      Or maybe we will have a story on here about how microsoft is dumb as hell for not implementing it sooner.

    40. Re:It's not the software. by Milton+Waddams · · Score: 4, Funny

      PopeRatzo: "DirectX10? It's going to take more than DirectX10 for me to accept my computer as a spy in my home."

      Microsoft: "Well, what if we give you a nicer looking start menu too?"

  16. That's the same in Vista by Sycraft-fu · · Score: 3, Informative

    If you are a standard user, you have to enter a password to elevate privileges. However Vista has a compromise mode of sorts. You can run as an administrator, but leave UAC on. This allows you to elevate without entering a password. You still have to elevate privilege, but it requires no password. Turning UAC off makes administrator accounts function as they did in XP where you have privilege at all times.

  17. Re:Tetris is a brand name by blackmonday · · Score: 4, Funny

    Your post is even funnier if you read it out loud in the Simpson's "Comic Book Guy" voice.

  18. Troubling ... by eck011219 · · Score: 4, Interesting

    ... particularly because Vista was supposed to address some of the problems Microsoft had when trying to balance security and ease of use in XP. We now live in a very dangerous time as far as digital stuff is concerned, and I think continuing to hide as much security from people as possible (while paying lip service to it in other ways like UAC) is foolish. End users are going to have to learn to be careful, and learn a little bit about security. Cars didn't used to have locks, either. Times change, and people have to adapt to it to some extent.

    That said, I personally very much liked the Vista user experience (I'm back to XP for now, but I had the beta and RC1). But after the first couple of days, I turned off UAC (and besides, I like to manage my security myself). It did nothing but ask me if I wanted to do what I was doing. Like another early poster here, I almost immediately reverted to clicking any damn OK button I saw. And God knows, I turned the sound off almost immediately. Moreover, I turned it off because it seemed like a talented Bad Guy would simply bury his Evil Code in something that seemed benign, and Joe User would just click through it. But all of that has been covered at great length in these hallowed halls already.

    My point is still this: the bad guys are out there now. That's just reality. Telling people not to worry and to go back to sleep doesn't serve anyone anymore. I don't think power user knowledge is necessary for the average person, but frank awareness of basic online safety puts it in the hands of the individual user to some extent, and eases some of the strain for the OS designers/engineers. Because while MS has made some dumb and dangerous mistakes in the past, I still think of it this way: when you're designing any piece of software, you can't completely anticipate the security issues that will come up a year down the road, and you can't reduce how hard a user will work to circumvent your attempts to protect them, no matter how inobtrusive they may be.

    I'm not defending MS for its past mistakes, oversights, poor execution, and so on, but I do think people need to pony up a little more energy to protect themselves. I'm no security expert, but it just seems like responsible living to me.

    --
    It is pitch black. You are likely to be eaten by a grue.
    1. Re:Troubling ... by mandelbr0t · · Score: 2, Insightful

      I'm not defending MS for its past mistakes, oversights, poor execution, and so on, but I do think people need to pony up a little more energy to protect themselves. I'm no security expert, but it just seems like responsible living to me. Yes, it is a matter of responsibility. You (the person surfing the internet, loading the truck, drinking from the tubes, whatever) are responsible for your own privacy while online. Period. There's not a law in the world that will magically turn off all viruses, trojans and malware overnight. However, what will happen is that end-user products will improve to the point where it's a turnkey solution, and a simple verification of some basic settings will protect you from all but the highly organized and criminal bad guys.

      The problem, as I see it, is that the large companies are not interested in your privacy. In fact, they're interested in invading it. They'll say that they just want to serve you better as a customer, but it's really long-term surveillance. If big business was interested in using the Internet as a vehicle for expansion rather than exploiting consumers, we'd see reliable and cheap wifi-enabled routers in every home with broadband. Windows viruses would be nothing more than an annoyance, maybe even a joke like in the good old days. And everyone would know how to protect themselves from them. They certainly wouldn't threaten to cause billions of dollars of unaccountable transactions.

      The funny thing is that before big business discovered the Internet, there was a considerable community movement toward ensuring that everyone was able to implement basic security. After all, your machine is a potential security threat to me if you fail to secure it, much like a ski that doesn't have those little brakes on them could become a hazard to the entire hill when you wipe out.
      --
      "Please describe the scientific nature of the 'whammy'" - Agent Scully
  19. Oh, this is rich ... by gstoddart · · Score: 3, Insightful

    Microsoft's Mark Russinovich acknowledges the risk factor but says it was a 'design choice' to balance security with ease of use.

    Microsoft has created a culture of choosing between security/good/whatever and 'ease of use'. Going all the way back to older versions of Windows in which there was no user permissions model.

    Hearing that all frigging installers are going to want admin perms is a frigging joke. Part of the reason Windows is insecure is you can't do anything without being an admin. It's not like it even supports a model whereby you install the software into your own location. Every piece of software expects to be able to write registries, replace system DLLs, and generally crap into a few common folders.

    I mean, well over a decade I could download any old UNIX software, untar it, set an environent variable, and just run the damned software. No root perms needed, just glorious, easy to run/trivial to uninstall software.

    This means that people aren't going to install their animated cursors in a sandbox which only affects them. They'll do it as admin, and potentially bork the whole machine.

    This just makes me laugh.

    Cheers
    --
    Lost at C:>. Found at C.
  20. So that's where clippy went! by giafly · · Score: 4, Interesting

    The truth is out. Microsoft didn't kill clippy in MS Office, they just moved him upstairs to an entire operating system designed to ask unwieldy and confusing questions.

    This link allegedly tells you how to turn the questions off , but unfortunately I can understand the words, even most of the sentences, but the whole thing is just dreadful, "As a result, IT departments often cannot gauge the holistic health and security of their environments." Can anyone help?

    --
    Reduce, reuse, cycle
  21. Re:Hole? by Henry+V+.009 · · Score: 2, Insightful

    I knew that reply was coming. Yes, the expert user can force synaptic into running without root privileges. However the new Ubuntu user who tries to start it up is simply going to hit a "enter your password" prompt at the get-go.

    The expert Vista user can get around running installation programs as the Administrative user as well. It's the same issue.

  22. The cause of your problems and the solution by The+MAZZTer · · Score: 5, Informative

    NTFS partitions NOT created by Vista will cause these prompts for file operations on them, because you do not have access to them. #1: Your XP user account does but it is not recognized by Vista. #2: Administrators permissions is only granted after a UAC prompt. #3: Users permissions are normally low. Hence the need to prompt you to get the proper permissions.

    Fortunately this is easy to fix. Simply go into the security settings in the property pages of a folder (or the whole drive if you wish) and add your personal account to the access list with full control. This will eliminate the prompts. Alternately on a multi-user computer you can adjust the permissions of the Users group for the same effect.

  23. Apple got it right by ruiner13 · · Score: 4, Insightful

    There are 2 ways to install software.

    1. Drag application folder where ever you want it
    2. If application does need to install a control panel, kext, or any other system file, then you can create an installer. When the installer tries to install the files that need the elevated permissions, it then tells you what it is trying to do and asks for an admin user/password

    How is that hard to grasp at MS? Assuming everything needs admin permissions is just insane, and insisting it isn't a security hole and is a "design choice" is just fucking retarded.

    --

    today is spelling optional day.

    1. Re:Apple got it right by ruiner13 · · Score: 5, Informative

      No, it is completely different. For an MSI to run on windows, it needs to use the installer SERVICE which is running under the sytem account. This means that any installer inherently is running through a system user account. And if you had read the article, EVERY installer asks to be run as administrator in Vista, regardless of its intent. There is no exception made for a game, such as Tetris. RTFA yourself.

      --

      today is spelling optional day.

    2. Re:Apple got it right by Anonymous Coward · · Score: 3, Informative

      For an MSI to run on windows, it needs to use the installer SERVICE which is running under the sytem account. This means that any installer inherently is running through a system user account.


      Incorrect. The MSI installer service impersonates the privileges of the user that launched the msiexec.exe program that initiated the installation of the MSI package for the duration of the install.

      Further, it is entirely possible to write an MSI package that can be run by a non-admin. Mostly, however, installers need to write to areas that make what's being installed available to some or all of the users of the system (e.g. \Program Files), and this quite properly requires admin rights.
    3. Re:Apple got it right by choseph · · Score: 5, Informative

      Then the article is wrong. You can manifest an installer or exe to default to admin and UAC prompts, or AsInvoker if you know you can install without special access (installing to a user directory only for example). You can see more information here: http://channel9.msdn.com/Showpost.aspx?postid=2112 71

  24. I agree with MS' choice. by The+MAZZTer · · Score: 3, Interesting

    Any EXE with "setup" or "patch" in the name will be assumed to require elevation, because no programs to date have manifests which specify whether they need to be elevated or not; and so Windows has to guess. The filename is a perfectly good indicator, as most setups will need elevation (Program Files is not writable without elevation). Windows uses other factors too; it can detect Windows Installers, NSIS installers, and a couple of others regardless of the filename.

    If you don't like this automatic detection you can turn it off via the Group Policy Editor. It's under the global Computer settings under Security Settings somewhere, with the rest of the UAC options. Remember you'll have to manually launch installers elevated now, although Windows does try to detect when installs fail and will offer to try elevation and XP compatibility mode automatically.

    Myself, I actually made my computer less secure by turning off the secure desktop (the screen resolution change that happens every time a UAC prompt comes up). I don't want Windows yanking me away from whatever I'm doing because I got bored waiting for the UAC prompt to appear then all of a sudden it decides to finally show up and hog keyboard/mouse focus. Sometimes if your computer is busy the UAC prompt won't even appear for 5-10 seconds, and you're sitting at a useless but very secure desktop alone for that time. So I turned it off and now they appear on the normal desktop. Of course they could potentially be sent window messages now by any app; but I don't let just any app run on my computer. I was safe back when I used XP SP1 and I could turn UAC off if I wanted to and still be safe.

    1. Re:I agree with MS' choice. by Max+Littlemore · · Score: 2, Insightful

      Any EXE with "setup" or "patch" in the name will be assumed to require elevation, because no programs to date have manifests which specify whether they need to be elevated or not;

      Ouch! I think this is MS making the same stupid design descisions again, and in this case it's the one where a 'special*' filename is treated in a 'special*' way.

      I'm not talking 'special*' as in /boot is special - if I write an executable at /boot/banana/kill_all_humans, my system will ignore it, just as it will ignore C:\Kill~1.exe. I'm talking 'special*' as in a file with a particular name will be treated in a particular way, regardless of the contents. Think of all those old exploits where someone put an executable in an email with a jpg or other extension. This is the same brand of stupid all over again.

      I'm not saying that correct naming isn't important, I'm just saying that the file contents are more important than its name. If someone offers me "chocolate" and hands me dried cat shit, I'm not going to eat it. I'll dispose of it and most likely take violent action against whoever told me it was chocolate. I expect my computer to behave the same way, apart from the violence bit of course.

      They could have changed the executable format and provided a sandboxed legacy OS for older software as other posters have suggested. If there is no easy way of recognising different kinds of .exes, their contents and privileges required, it just highlights the problem MS is having in retrospectively fitting security to a broken model. The fact that they are still using 'special*' executable installers highlights that they haven't really thought these issues through. The fact that they are still using 'special*' filenames shows that they are adding to there existing legacy of 'special*' architecture.

      For the record, I'm not an anti MS zealot. I own an xbox, I just don't let Windows near my home PC.

      * In Canada, special means retarded.
      --
      I don't therefore I'm not.
  25. UAC vs SU ROOT by ThinkFr33ly · · Score: 2, Insightful

    UAC only kicks in when I try to do something to a file or system resource that I don't have permission to access. Period. End of story.

    In the unix world, if I want to modify a file that I don't own I must elevate my permissions using something like su root. And that's somehow *less* annoying than Vista's UAC prompt?

    The only time I can see this being more annoying is when I'm doing lots of actions that require admin privs. Microsoft did their best to group operations in such a way that you only get one prompt. If I try and delete 20 files, all of which I don't have access to, I'll get 1 UAC prompt.

    But sometimes they can't group these operations together, such as when I'm installing several applications when I'm first setting up my machine. In these scenarios, su root is superior in the sense that I su root once and that's it. With UAC, I'll get a prompt for each install.

    But if you know you're going to be installing lots of applications and you don't want to be bothered with multiple UAC prompts, then just turn off UAC while you're doing those installations. Simple as that. And not harder that su root.

    So what's the big deal? The vast majority of users don't install new applications every day. In fact, the vast majority of users don't do anything that requires admin privs on a daily basis. This is a non-issue.

    I've been using Vista since late November. During the first few days of use I got a lot of UAC prompts, but I really didn't find them all that annoying. One extra click just wasn't a big deal. After getting my machine setup the way I wanted it, I rarely got any UAC prompts. Just doesn't happen all that often.

    Since almost everybody who will run Vista will get it on a new machine with most of the software they will use pre-installed, this is even more of a non-issue.

    But the biggest point is that the way that unix does it, with a session-based elevation, is no less time consuming (in fact, it's usually more time consuming), and it's FAR more dangerous for a "dumb" user because they will tend to just leave their session elevated.

  26. A bit different... by eklitzke · · Score: 2, Informative

    I am far from an RPM guru... but I have written a few in my day. Basically the way that an RPM works is you write a spec file which is just a script that tells RPM what actions to perform to install the actual binary. For example, put this file here, change its permissions, restart the running daemon associated with this package, etc. AFAIK the set of commands that you can give to RPM is limited, and I believe that you are not able to tell it to do things like load kernel modules. So sure, if you install an untrusted RPM it can do all kinds of nasty things like clobber your files, but there are limitations to what RPM can do. If you're really paranoid you can also run rpm with SELinux, which obviously has no analog in the Windows world.

    --
    #include ".signature"
  27. People who complain about UAC don't understand UAC by RzUpAnmsCwrds · · Score: 5, Insightful

    Everyone who complains that UAC is annoying doesn't understand that the purpose of UAC is to be annoying. UAC makes elevation a pain, in the hope that software creators will write software which doesn't need to elevate!

    VMWare 6, for example, constantly elevates on Vista. What do you want to bet that VMWare 7 won't?

    Well behaved programs elevate only when and where they have to. Even if 50% of Vista users turn UAC off, that's still 50% of your client base who is being constantly bombarded by elevation dialogs. The solution? Write your software so it doesn't need to elevate.

    As for the article - installers pretty much have to elevate. This is true on Windows and with Linux packages (when was the last time you ran apt-get without using sudo or running as root?). Some have pointed out that you can install most packages in Linux to be specific to your user account, using special flags. This, of course, is possible in Vista as well, if MSI packages are used.

    Note that I do agree that it's a problem that you can't override UAC detection. There needs to be a "don't run as administrator" option.

  28. Um, what does that have to do with anything? by KingSkippus · · Score: 3, Informative

    I'm sorry, exactly where did I say that it was acceptable in OS X or Linux? Seriously, point it out, because I honestly don't remember saying anything like that.

    Since you brought it up, though, yes, Linux could definitely use some work in this area. I also get tired of sudo password prompts for doing some basic system configuration and maintenance tasks, especially stuff that only applies to my account, not the OS as a whole. If you want me to jump on the bandwagon of having less stuff requiring admin access in Linux, count me in. I can't speak for OS X because I've never used it.

    However, in defense of Linux, Vista is much worse. I've never had a prompt pop up in Linux that expressed concern because I was copying text from my browser to the clipboard. In Vista, I did. It may sound petty and silly, but it was the proverbial straw that broke the camel's back. The truth is, though, that I was constantly being prompted to do stuff that had nothing even remotely to do with system configuration or administration. Stupid stuff like renaming a file that was nowhere near a system directory. Stupid stuff like running a program that doesn't even come close to touching kernel code. Stupid stuff like... Well, you get the idea, I'm not going to sit here and list every stupid prompt I got.

    So am I Microsoft-bashing? Yeah, I suppose I am. But it's not because I have an ax to grind with the company or because I think the alternative is perfect, it's because this particular product truly sucks ass. Yes, I know that there are zealots out there who would complain no matter how well Vista might have worked, but if you think I'm one of them or that's why I posted my message, you're barking up the wrong tree.

    (Have you tried Vista yet?)

    1. Re:Um, what does that have to do with anything? by Rycross · · Score: 2, Informative

      What kind of text were you copying exactly? I'd like to try and recreate this when I get home. Are you sure it was Vista and not just an IE7 specific anti-phishing technique? I ask because I haven't had this problem at all in Firefox 2.0, and I can see them preventing the copying of URLs so that users aren't phished by an email that says something like "Copy and paste this url in a new browser window, and then enter your account information. And remember to never click on links in an email!"

  29. Re:Dammit by mandelbr0t · · Score: 3, Insightful

    UAC has no concept of the source of the execution command. What really needed to be added to Vista is a concept of the "source" of code execution. In the case of UAC there should be the notion of not only the code execution but of the source, such as a keyboard, mouse or other input device. These sources identify execution requests as coming from a HUMAN, and not some nasty zombie pc making virus I'm sure that's the way things would be if it were possible. I don't think you understand computers at a low enough level to know why things don't work this way. All of this source checking gets done long before machine-code instructions ever hit the core (CPU), so all you need to do is somehow intercept the call to find out if the "code" was launched by a human, change "zombie" to "human" and now your killer swarm of zombies just turned into a mob of violent humans.

    In reality, the hardware is optimized for speed. That is, the core will execute the instructions it receives without any sort of bounds checking. If an instruction fails, then an error code is stored and the next instruction is fetched and executed. It's only during boot time that a kernel has the opportunity to install code at particular vectors to prevent other code from sitting there. That's the PC architecture -- it was designed years ago and for good or bad, we're stuck with it (Ironically, many people make the same argument about Microsoft). That's why the kernel is so important: if it fails to protect a particular interrupt vector or other system integration point, then a userland program can elevate itself to kernel-level privileges and walk all over both the running OS and the data on your hard drives.

    The only way to implement your idea (and many others like it) would be to have the hardware recognize this "code source" (or whatever magic bullet you have defined) and act accordingly.

    Long story short, people are looking for a technological solution to a lack of education. Like it or not, there's a lot of people on the Internet now that need education. Vista's UAC seems to be along those lines, though extremely insulting and inflexible to an advanced user. It's like it was designed to "raise awareness" of "potentially unsafe operations" so that someone who was previously a clueless idiot can now see that many operations are potentially unsafe. Of course, the prompts don't explain WHY to this person, which eliminates UAC even as an education tool.
    --
    "Please describe the scientific nature of the 'whammy'" - Agent Scully
  30. It's not that simple by JacksBrokenCode · · Score: 3, Interesting

    Sorry, but linux and OSX only ask you for your password when doing potentially dangerous things. You are not prompted when moving files from one of your own folders to another of your own folders. You are not prompted when editing your own menus. You ARE prompted when doing something that will affect other users of the system, such as installing software site-wide. If you want to install a warez server under your own home folder, go nuts, you already explicitly have permission to do so.

    The problem is that security isn't simply relegated to actions affecting system files and program installations. If you've ever cleaned a Windows box that had been hit by some virus or malicious website (back when websites could affect IE bookmarks, etc.) you probably noticed a glut of shortcuts and bookmarks pointing to websites that the "attackers" wanted you to visit. This all takes place within the userspace yet it is undesirable behavior. Likewise, copy/pasting to-from the browser has been pointed out to be a security hole even though the actions take place entirely in the userspace. I'm not saying that the kernel shouldn't be protected, but that ignoring userspace interactions entirely is equally wrong.

    It does not sound like MS has addressed the problem properly if UAC is instantly conditioning users to always click "ok", but to say that it should only be invoked when attempting "dangerous" operations belies the complexity of the issue. At the end of the day my kernel getting infected is not my primary concern - the integrity of my personal files is. Even if I had to purchase a brand new box with a new OS license off the shelf it's still easier/cheaper to do than trying to replace the accumulation of files I've created, downloaded, purchased, etc.

  31. Why have installer at all ? by EMB+Numbers · · Score: 3, Insightful

    1) So, all Vista installers run with admin. priv.
    2) Installing a downloaded Tetris game allows the game installer to change virtually anything in the system.

    Why does a game need an installer at all ? Why not just unzip the game into your user account/home directory or better yet drag the game icon to the place you want it ? Why do Windows applications all seem to need an installer ?

    On OS X and NeXTstep before it, application icons are actually covers for directories containing all of the support files including executables need by the application. Furthermore, applications are not supposed to assume that they can write to their own directory. This is convenient for running applications from servers without installing on the local machine or for running directly off a CD-ROM. If an application needs to store user data or write configuration files, there are standard places to put the files. When needed, the individual application copies files to standard places using the user's permissions and not admin permissions.

    The first time any application is run, the user is asked if it is OK. If some crap is downloaded and executed unintentionally, the user is given a chance to say WTF and stop it. Any time any application needs privileges beyond the user's default privileges, an admin passwd is required.

    No installers (except in crap-ware and unusual circumstances and even then they require an admin password for upgraded privileges!
    Remarkable little user irritation.

    Why can't Microsoft copy this behavior ? It has been for sale since 1988.

    OS X isnt perfect, but sometimes it is better.

  32. Did not have to be true by SuperKendall · · Score: 2, Insightful

    As for the article - installers pretty much have to elevate.

    I would argue this notion is fundamentally wrong.

    An installer should only have to elevate if it has to modify the system, or possibly existing applications in some way.

    I don't have to elevate for all Linux installations for example if I am not going to install something in /bin, but instead install a local bin directory.

    In OS X you can install an application just fine without elevation, unless again it requires system access - but most software is self-contained and has no need to add system files. Thus when an installer asks you for a password you have a better feel if whatever app your installing should really have that level of access.

    In Vista you cannot have any installer do any setup things (like prepping directories or checking to upgrade a program) without running as admin. This is madness, because you are going to always be telling vista it's OK for even the most trivial installer to go ahead and elevate.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  33. Maybe this points out an underlying limitation by hey! · · Score: 2, Interesting

    in our concept of a personal computer.

    Yes, this is a specific flaw in response to the problem, but why do we have the problem? Why is it that when you browse to a web page, you are endangering an accounting database you have on your machine?

    What I am leading up to is this: there is too much coupling between computer applications via the personal computer operating system. It isn't just that MS put installers into God mode -- although that is bad.

    Imagine you ran your computer as an X terminal or Citrix client, and you connected to applications running on remote servers. Installing or upgrading one piece of software could do very little to affect another. Now imagine a variation on this: what if we never created installers. What if we distrbuted software in virtual machines that you simply dragged onto your disk, and the operating system provided window management, clipboard integration, and file service? Furthermore the virtual machine would have no access to system files, anymore than a network client has access.

    Your browser should at the very least run in some kind of a sandbox.

    There was some possibility, a decade ago, of a change in the nature of applications. The OpenDoc idea was that the user experience would be document centric, and vendors would provide various capabilities users could employ on the documents. This was a beautiful idea: instead of builing lots of boiler plate capabilities, you as a developer would create only the bit you wanted to add to the software universe. OpenDoc never got past beta, and the OLE model, based on heavyweight applications, won. Well, if you're going to go that way, why not package each application with its own complete, but lightweight, runtime system? If you need to install an active X, why install it for every application on the system?

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  34. Can it be overridden using manifests? by DigitAl56K · · Score: 3, Informative

    From the NSIS (Nullsoft Scriptable Install System) documentation:

    RequestExecutionLevel none|user|highest|admin
    Specifies the requested execution level for Windows Vista. The value is embedded in the installer and uninstaller's XML manifest and tells Vista, and probably future versions of Windows, what privileges level the installer requires. user requests the a normal user's level with no administrative privileges. highest will request the highest execution level available for the current user and will cause Windows to prompt the user to verify privilege escalation. The prompt might request for the user's password. admin requests administrator level and will cause Windows to prompt the user as well. Specifying none, which is also the default, will keep the manifest empty and let Windows decide which execution level is required. Windows Vista automatically identifies NSIS installers and decides administrator privileges are required. Because of this, none and admin have virtually the same effect.

    It's recommended, at least by Microsoft, that every application will be marked with the required execution level. Unmarked installers are subject to compatibility mode. Workarounds of this mode include automatically moving any shortcuts created in the user's start menu to all users' start menu. Installers that need not install anything into system folders or write to the local machine registry (HKLM) should specify user execution level.

    More information about this topic can be found at MSDN. Keywords include "UAC", "requested execution level", "vista manifest" and "vista security".

    So it seems that there is an option, "user", which might cause NSIS to run in non-admin (depending on whether Vista's auto-handling is overriding), and that other installers might also be able to run non-admin.
  35. Two issues confused? by the_womble · · Score: 2, Interesting

    As far as I can see Joanna Rutkowska's original criticism was that you need to be admin to install software. How is this different from Linux or any other OS?

    Mark Russinovich then revealed that a non-admin process could cause an admin process to run arbitrary code. That sounds like more of a real problem.